AthenaShared.interfaces.item.DefaultItemBehavior ​
shared/interfaces/item.DefaultItemBehavior
Item behavior associated with an item
Interface
DefaultItemBehavior
Properties ​
canDrop ​
• Optional canDrop: boolean
Can this item be dropped.
Defined in ​
canStack ​
• Optional canStack: boolean
Can the item be stacked
Defined in ​
canTrade ​
• Optional canTrade: boolean
Can the item be traded
Defined in ​
destroyOnDrop ​
• Optional destroyOnDrop: boolean
Destroy this item on drop.
Defined in ​
isClothing ​
• Optional isClothing: boolean
Used to state that an item is clothing.
DO NOT specify isEquippable with this; leave it as false.
Defined in ​
isCustomIcon ​
• Optional isCustomIcon: boolean
Override default icon behavior for items such as clothing. Allows for specifying a custom icon instead.
Defined in ​
isEquippable ​
• Optional isEquippable: boolean
Do not specify clothing, and weapon with this.
Just only specify this one if doing custom equips.
Defined in ​
isToolbar ​
• Optional isToolbar: boolean
Can this item be added to the toolbar.
Defined in ​
isWeapon ​
• Optional isWeapon: boolean
Is this item a weapon?
DO NOT specify isEquippable with this; leave it as false.
V5 Docs