Item¶
-
class
pynwn.Item(resource, instance=False)¶ -
base_type¶ Base item ID.
-
charges¶ Charges.
-
comment¶ Comment.
-
cost¶ Cost.
-
cost_additional¶ Additional Cost.
-
cursed¶ Cursed flag.
-
display_name¶ Display Name.
-
get_description(lang=None)¶ Localized unidentified description.
-
get_description_id(lang=None)¶ Localized identified description.
-
get_name(lang=None)¶ Localized name.
-
identified¶ Identified flag.
-
palette_id¶ Palette ID.
-
plot¶ Plot flag.
-
properties¶ Item properties
Returns: List of ItemPropertyobjects.
-
resref¶ Resref.
-
set_description(lang=None, string=None)¶ Localized unidentified description.
-
set_description_id(lang=None, string=None)¶ Localized identified description.
-
set_name(lang=None, string=None)¶ Localized name.
-
stack_size¶ Stack size.
-
stolen¶ Stolen flag.
-
tag¶ Tag.
-
vars¶ Variable table
-
-
class
pynwn.ItemInstance(gff, parent_obj)¶ A item instance is one placed in an area in the toolset. As such it’s values are derived from its parent GFF structure. It never needs to be instantiated directly.
-
class
pynwn.ItemProperty(gff, parent_obj)¶ -
chance¶ Appearance chance.
-
cost_table¶ Cost table.
-
cost_value¶ Cost value.
-
param_table¶ Parameter table.
-
param_value¶ Parameter value.
-
subtype¶ Subtype.
-
type¶ Type.
-