Skip to content

ItemDefinitionMaterial ​

Inherits: ItemDefinition < DatabaseResource < Resource

Material items used for crafting recipes or sold as vendor trash These items have no direct use functionality but serve as components and resources

Properties ​

Stringmaterial_type""
intcrafting_tier1

Methods ​

boolcan_use( _user: Entity, _item_instance: ItemInstance = null )

Property descriptions ​

String material_type = "" ​

Type/category of material for crafting recipe filtering and organization

int crafting_tier = 1 ​

Tier level for crafting system progression - higher tiers enable more advanced recipes

Method descriptions ​

bool can_use( _user: Entity, _item_instance: ItemInstance = null ) ​

Materials cannot be "used" directly - they serve as crafting components or vendor items