Placeable¶
-
class
pynwn.Placeable(resource, instance=False)¶ -
animation_state¶ Animation State.
-
appearance¶ Appearance ID.
-
body_bag¶ Body bag.
-
comment¶ Comment.
-
conversation¶ Conversation resref.
-
faction¶ Faction ID.
-
get_description(lang=None)¶ Localized description.
-
get_name(lang=None)¶ Localized name.
-
hardness¶ Hardness.
-
has_inventory¶ Has inventory flag.
-
hp¶ Maximum Hitpoints.
-
hp_current¶ Current Hitpoints.
-
interruptable¶ Conversation interruptable flag.
-
items¶ Invenory items.
Returns: List of RepositoryItem objects or [] if the object does not have an inventory.
-
key_auto_remove¶ Auto-remove key.
-
key_required¶ Key required flag.
-
key_tag¶ Key tag.
-
lock_close_dc¶ Close lock DC.
-
lock_open_dc¶ Open lock DC.
-
lockable¶ Lockable flag.
-
locked¶ Locked flag.
-
paletted_id¶ Palette ID.
-
plot¶ Plot flag.
-
portrait_id¶ Portrait ID.
-
resref¶ Resref.
-
save_fortitude¶ Fortitude Saving Throw.
-
save_reflex¶ Reflex Saving Throw.
-
save_will¶ Will Saving Throw.
-
scripts¶ Scripts. Responds to script events:
- Event.CLOSE
- Event.DAMAGED
- Event.DEATH
- Event.TRAP_DISARMED
- Event.HEARTBEAT
- Event.LOCK
- Event.ATTACKED
- Event.OPEN
- Event.SPELL_CAST_AT
- Event.TRAP_TRIGGERED
- Event.UNLOCK
- Event.USER_DEFINED
- Event.CLICK
- Event.DISTURBED
- Event.USED
-
set_description(lang=None, string=None)¶ Localized description.
-
set_name(lang=None, string=None)¶ Localized name.
-
stage()¶ Stage changes to the placeable’s GFF structure.
-
static¶ Static flag.
-
tag¶ Tag.
-
trap_detect_dc¶ Trap detect DC.
-
trap_detectable¶ Trap detectable flag.
-
trap_disarm_dc¶ Trap disarm DC.
-
trap_disarmable¶ Trap disarmable flag.
-
trap_flag¶ Trap flag.
-
trap_one_shot¶ Trap is one-shot.
-
trap_type¶ Trap type.
-
type¶ Type.
-
useable¶ Useable flag.
-
vars¶ Variable table
-
-
class
pynwn.PlaceableInstance(gff, orignal)¶ A placeable instance is one placed in an area in the toolset. As such it’s values are derived from its parent GFF structure.
-
items¶ Inventory items.
Returns: List of Tupels contiain repository position and the ItemInstance.
-
position¶
-
stage()¶ Stage changes to the placeable instance’s parent GFF structure.
-