class

PointClickEngine::Inventory::ItemRegistry::ItemDefinition

Inherits YAML::Serializable < Reference < Object

Item definition from YAML

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

combinable_with
Source
combinable_with=(combinable_with : Array(String))
Source
consumable
Source
consumable=(consumable : Bool)
Source
description
Source
description=(description : String)
Source
display_name
Source
display_name=(display_name : String | Nil)
Source
examine_text
Source
examine_text=(examine_text : String | Nil)
Source
icon_path
Source
icon_path=(icon_path : String | Nil)
Source
light_source
Source
light_source=(light_source : Bool)
Source
name
Source
name=(name : String)
Source
on_pickup
Source
on_pickup=(on_pickup : String | Nil)
Source
on_use_success
Source
on_use_success=(on_use_success : String | Nil)
Source
on_use_wrong
Source
on_use_wrong=(on_use_wrong : String | Nil)
Source
quest_item
Source
quest_item=(quest_item : Bool)
Source
readable
Source
readable=(readable : Bool)
Source
stackable
Source
stackable=(stackable : Bool)
Source
usable_on
Source
usable_on=(usable_on : Array(String))
Source