Skip to content
On this page

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 ​

shared/interfaces/item.ts:93


canStack ​

• Optional canStack: boolean

Can the item be stacked

Defined in ​

shared/interfaces/item.ts:101


canTrade ​

• Optional canTrade: boolean

Can the item be traded

Defined in ​

shared/interfaces/item.ts:109


destroyOnDrop ​

• Optional destroyOnDrop: boolean

Destroy this item on drop.

Defined in ​

shared/interfaces/item.ts:155


isClothing ​

• Optional isClothing: boolean

Used to state that an item is clothing.

DO NOT specify isEquippable with this; leave it as false.

Defined in ​

shared/interfaces/item.ts:119


isCustomIcon ​

• Optional isCustomIcon: boolean

Override default icon behavior for items such as clothing. Allows for specifying a custom icon instead.

Defined in ​

shared/interfaces/item.ts:164


isEquippable ​

• Optional isEquippable: boolean

Do not specify clothing, and weapon with this.

Just only specify this one if doing custom equips.

Defined in ​

shared/interfaces/item.ts:147


isToolbar ​

• Optional isToolbar: boolean

Can this item be added to the toolbar.

Defined in ​

shared/interfaces/item.ts:127


isWeapon ​

• Optional isWeapon: boolean

Is this item a weapon?

DO NOT specify isEquippable with this; leave it as false.

Defined in ​

shared/interfaces/item.ts:137

Created by Stuyk | Est. 2020