EquipmentSlot
From LoTROInterface Wiki
API Reference > Turbine.Gameplay.EquipmentSlot
Identifiers to describe the equipment slot of an item.
Fields
Name | Description |
---|---|
Undefined | 0 |
Head | 1 |
Chest | 2 |
Legs | 3 |
Gloves | 4 |
Boots | 5 |
Shoulder | 6 |
Back | 7 |
Bracelet1 | 8 |
Bracelet2 | 9 |
Necklace | 10 |
Ring1 | 11 |
Ring2 | 12 |
Earring1 | 13 |
Earring2 | 14 |
15 | |
PrimaryWeapon | 16 |
Shield or SecondaryWeapon | 17 |
Instrument or RangedWeapon | 18 |
CraftTool | 19 |
Class | 20 |
Remarks
For example, Turbine.Gameplay.EquipmentSlot.Head
is a reference to the "Head" equipment slot, where a hat or helmet may reside. These identifiers are used in conjunction with the Turbine.Gameplay.Equipment:GetItem() function.
Note that some identifiers correspond to the same number. For instance, Turbine.Gameplay.EquipmentSlot.Shield
and Turbine.Gameplay.EquipmentSlot.SecondaryWeapon
both return the value 17.