Wahn wrote:One thing that I'd think would be interesting to add to this store would be some collars. Maybe a silky soft one and a spiked collar?
@Stripes: What clothing slots do we have anyways? Just the head, body, weapon? Some extra slots could be used for useful items and quest rewards...
Equipment comes with two variables that are relevant to this question - slot and placement.
Slot dictates the 'equipment slot' the item fills. These slots aren't from an assigned list, instead being a direct comparison with any already equipped items on the player's person. I believe there are currently three slots in use: "head", "body" and "shield", though there's a chance there's others. These slots are not restricted only to armour, but those are the only valid armour slots. By default, equipment has no specific slot, meaning it has no restriction and can be equipped freely without limit. If you want to make a "neck" or "collar" slot, simply give that value to your item. Doing so will mean that the player can only have one item with "neck" (or "collar") as its slot value worn at a time.
Placement dictates at what point in the player's description an item's descmod will appear. Currently, placement has one of 4 values, depending on where you want it to appear in a player's description, mixed in with the player's infection description elements. These are: "face", "body", "waist" and "end". There is no limit to the number of these which a player might have. They only dictate where the item appears in a player's description. If an item is given a placement different than these four, it will currently not appear in the player description, as the code is specifically searching for each of these placements to know which to show at each step. In the case of a collar, it should probably be given a placement of "face" so it appears after the player's head is described. Otherwise, give a placement of "end" if you'd prefer it be mentioned after the full description of the player's form.
Here's a breakdown of the order everything is displayed during the player's description.
<description start>
<skin of player>
<face of player>
"face" placement equipment, if any<body of player>
"body" placement equipment, if any"waist" placement equipment, if any"Angie's Mate" special added desc, if applicable
<weapon object of player>
<tail of player>
"end" placement equipment, if any<cock and/or cunt>
<breasts>
<pregnancy>
<children>
<pet>