The equipmentslots.lst sets the name of locations on the character to which specific equipment types can be equipped as well as the number of such items which can be equipped. Equipment which do not have one of the types specified in this file can be equipped to the character without taking up a slot an unlimited number of times.
Tag Name: NUMSLOTS:DEFAULT
What it does:
Lists the DEFAULT number of slots for each type. NUMSLOTS:DEFAULT is followed on the same line by slot types and the default number of slots for each type
Example:
NUMSLOTS:DEFAULT HEAD:1 HANDS:2
Sets the default number of slots for HEAD to 1 and for HANDS to 2.
Tag Name: EQSLOT:x
Variables Used (x): Text (Name of slot)
What it does:
This is the first tag in an equipmentslot line and sets the name of the slot. It is followed by a CONTAINS tag and a NUMBER tag.
Example:
EQSLOT:Eyes
Sets the name of this slot as Eyes.
Tag Name: CONTAINS:x=y
Variables Used (x): Text (Equipment type)
Variables Used (y): Number (Number of such types the slot can hold)
What it does:
Follows the EQSLOT tag and sets what equipment type the slots holds and how many.
Example:
CONTAINS:Eyegear=1
This slot can hold 1 item of type Eyegear.
Tag Name: NUMBER:x
Variables Used (x): Text (Name of slot type)
What it does:
This follows the EQSLOT and CONTAINS tags and sets the default number of slots. The default numbers used are set in the NUMSLOTS tag line.
Example:
NUMBER:LEGS
The default number of LEGS is 2 so this would set this slot to 2.
Examples:
EQSLOT:Hand CONTAINS:Glove=1 NUMBER:HANDS
This defines a Hand slot, of which there are 2 each of which can hold 1 Glove.
EQSLOT:Fingers CONTAINS:Ring=2 NUMBER:TORSO
This defines a Fingers slot which can hold 2 Rings. The number of slots is defined using the TORSO type because a character can only wear 2 rings at any one time regardless of the number of hands the character might have. The TORSO type is useful if you need the slot number to remain static, many creatures have non standard numbers of arms, legs, heads etc. but all creatures have only one TORSO.
EQSLOT:Skin CONTAINS:PsionicTattoo=20
NUMBER:TORSO
This defines a Skin slot which can hold 20 items of TYPE:PsionicTattoo.