PointClickEngine::Inventory::ItemRegistry::ItemDefinition
Inherits YAML::Serializable < Reference < Object
Item definition from YAML
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
combinable_with
Sourcecombinable_with=(combinable_with : Array(String))
Sourceconsumable
Sourceconsumable=(consumable : Bool)
Sourcedescription
Sourcedescription=(description : String)
Sourcedisplay_name
Sourcedisplay_name=(display_name : String | Nil)
Sourceexamine_text
Sourceexamine_text=(examine_text : String | Nil)
Sourceicon_path
Sourceicon_path=(icon_path : String | Nil)
Sourcelight_source
Sourcelight_source=(light_source : Bool)
Sourcename
Sourcename=(name : String)
Sourceon_pickup
Sourceon_pickup=(on_pickup : String | Nil)
Sourceon_use_success
Sourceon_use_success=(on_use_success : String | Nil)
Sourceon_use_wrong
Sourceon_use_wrong=(on_use_wrong : String | Nil)
Sourcequest_item
Sourcequest_item=(quest_item : Bool)
Sourcereadable
Sourcereadable=(readable : Bool)
Sourcestackable
Sourcestackable=(stackable : Bool)
Sourceusable_on
Sourceusable_on=(usable_on : Array(String))
Source