Wardrobe rail and clothing as items
Take off clothing pieces with one click, carry them as an item and put them back on.
Left of the character is a rail with clothing pieces. A click takes the piece off, with a short animation. If "clothing as items" is on, the piece goes into your pockets as a clothing item. Using the item or dragging it onto the rail puts it back on.
The server saves the look through the appearance resource from Integrations.Appearance. So the clothes stay after a reconnect.
Options
| Option | Default | Description |
|---|---|---|
KoInv.Wear.Enabled | true | Show the wardrobe rail |
KoInv.Wear.Pieces | 12 pieces | List of clothing pieces (see below) |
KoInv.ClothingItems.Enabled | true | Clothes you take off become an item and are saved |
KoInv.ClothingItems.Item | 'clothing' | Name of the item in data/items.lua |
KoInv.ClothingItems.Exclude | { 'bag' } | Pieces that are only hidden and shown. 'bag' is used by the bag feature |
Clothing pieces
Default: hat, glasses, ears, mask, top, vest, neck, bag, watch, bracelet, pants, shoes.
| Field | Description |
|---|---|
key | Name of the piece, also used for the text in the locale files (wear_<key>) |
kind | 'comp' = ped component, 'prop' = ped prop |
id | Component or prop number |
off | Drawable when the piece is taken off, separate for male and female |
arms, under | Drawables for arms (3) and undershirt (8) while the top is off |
anim | { dict, clip, ms } animation when taking off and putting on, nil = none |
{ key = 'shoes', kind = 'comp', id = 6, off = { male = 34, female = 35 }, anim = { 'random@domestic', 'pickup_low', 1200 } },The server compares what you wear with the saved look. If it is not the same (e.g. a uniform that was never saved), taking it off is refused. This way no items are made from clothes that are not yours.
A clothing item only fits the gender of the character that took it off.
