INVENTORY_SLOT_* Constant Group

Constant group for inventory equipment slots. These are the slots where items are placed when that are equiped (in use), and not the slots where items are just stored.

Also there exists a constant NUM_INVENTORY_SLOTS (integer value of 18) which can be used with a for loop as an upper limit (start at 0) to iterate through all inventory slots for equiped items.



Constants

ConstantValueDescription
INVENTORY_SLOT_ARMS3
The gloves or bracers slot in the inventory.
INVENTORY_SLOT_ARROWS11
The arrows slot in the inventory. Can have up to 99 arrows stacked.
INVENTORY_SLOT_BELT10
The belt slot in the inventory.
INVENTORY_SLOT_BOLTS13
The bolts slot in the inventory. Can have up to 99 bolts stacked.
INVENTORY_SLOT_BOOTS2
The boots slot in the inventory.
INVENTORY_SLOT_BULLETS12
The bullets slot in the inventory. Can have up to 99 bullets stacked.
INVENTORY_SLOT_CARMOUR17
Creature skin/hide slot (natural armor).
INVENTORY_SLOT_CHEST1
The chest (or main armor) slot in the inventory. Clothes and body armor would go here.
INVENTORY_SLOT_CLOAK6
The cloak slot in the inventory.
INVENTORY_SLOT_CWEAPON_B16
Creature special attack slot (typically a bite).
INVENTORY_SLOT_CWEAPON_L14
Creature's natural left attack (typically a claw).
INVENTORY_SLOT_CWEAPON_R15
Creature's natural right attack (typically a claw).
INVENTORY_SLOT_HEAD0
The head (or helmet) slot in the inventory.
INVENTORY_SLOT_LEFTHAND5
Off-hand weapon slot.
INVENTORY_SLOT_LEFTRING7
The left hand ring slot in the inventory.
INVENTORY_SLOT_NECK9
The neck (or amulet) slot in the inventory.
INVENTORY_SLOT_RIGHTHAND4
Primary weapon slot.
INVENTORY_SLOT_RIGHTRING8
The right hand ring slot in the inventory.

See Also

functions: ActionEquipItem | GetItemInSlot