WeaponTypeDefinition ​
Inherits: EquipmentTypeDefinition < DatabaseResource < Resource
WeaponTypeDefinition extends EquipmentTypeDefinition to define weapon-specific properties. Handles hand requirements, weapon mesh slots, and slot blocking logic.
Properties ​
Array[int] | blocks_equipment_slots |
Methods ​
bool | is_weapon_type() |
String | get_category() |
Array[EquipmentSlotDefinition] | get_blocked_equipment_slots() |
bool | blocks_equipment_slot( slot: EquipmentSlotDefinition ) |
bool | has_slot_conflicts() |
Property descriptions ​
Slot Conflicts
Array[int] blocks_equipment_slots ​
Equipment slots that get blocked when this weapon type is equipped
Method descriptions ​
bool is_weapon_type() ​
Override to identify this as a weapon type
String get_category() ​
Override to provide weapon category
Array[EquipmentSlotDefinition] get_blocked_equipment_slots() ​
Get all equipment slots that are blocked when this weapon type is equipped
bool blocks_equipment_slot( slot: EquipmentSlotDefinition ) ​
Check if this weapon type blocks a specific equipment slot
bool has_slot_conflicts() ​
Check if this weapon type has any slot conflicts