There are two forms of this function. The first returns an array of all of the given character's equipment; the second returns the item of equipment in a specified slot. In the first form, the array is not "packed", meaning that if the character has empty equipment slots they will show up in the array as nulls. The array index (in the first form) and the integer argument (in the second form) use the following correspondence:
1 | light |
2 | right finger |
3 | left finger |
4 | neck slot #1 |
5 | neck slot #2 |
6 | body |
7 | head |
8 | legs |
9 | feet |
10 | hands |
11 | arms |
12 | shield |
13 | about body |
14 | waist |
15 | right wrist |
16 | left wrist |
17 | wielded |
18 | held |
19 | two-handed wield |