Echo Hollow

Because Pr0n is the Highest Form of Art.

User Tools

Site Tools


smutbook:classes:apparel:clothingslot

ClothingSlot

FIXME This is all changing, and this info isn't correct. It will be updated once the code is done.

An article of Apparel may occupy one or more ClothingSlots. This prevents a character from wearing a dozen coats at the same time, for example. A shirt would occupy ClothingSlot.TORSO and a pair of pants would occupy ClothingSlot.LEGS. A dress would occupy both ClothingSlot.TORSO and ClothingSlot.LEGS. The ClothingSlots occupied by an article of clothing are baked into the GenericApparel subclasses, but you may derive your own subclasses to define new types of Apparel, or override the default ClothingSlots in your object defaults JS file.

When a Person wears a particular article of Apparel, any currently worn articles that occupy the same ClothingSlots are removed. This prevents the player from equipping, say, 10 pairs of underpants at the same time.

Certain ClothingSlots can cover other ClothingSlots, concealing them. This allows a Person to, for example, hide some racy underpants under their normal clothes, or a whole racy outfit under a long coat. The details of what covers what and how are below.

In general, you probably needn't ever worry about ClothingSlots. If you just define your specific articles of Apparel using the various Apparel subclasses, all of the ClothingSlot magic will be taken care of for you well, magically.

LibEcho.Apparel.ClothingSlot

ClothingSlot is an enumeration that describes what “slots” an article of Apparel occupies on a Person when worn. Only one article of Apparel may occupy a particular ClothingSlot.

ClothingSlot.UNDERPANTS

Boxers, briefs, panties, etc.

  • Covers: Nothing.
  • Covered By: LEGS, TORSO (if long), OVER (if long).

ClothingSlot.UNDERSHIRT

Bras and such; T-shirts should use TORSO.

  • Covers: Nothing.
  • Covered By: TORSO (if not low - FIXME), OVER (if not low - FIXME).
  • (Under which is - FIXME): TORSO (if low), OVER (if low).

ClothingSlot.UNDERLEGS

Socks and hosiery.

  • Covers: Nothing.
  • Covered By: LEGS+FEET (if LEGS are long and FEET are high), OVER+FEET (if OVER is long and FEET are high).

ClothingSlot.TORSO

Shirts and tops.

  • Covers: UNDERSHIRT, UNDERPANTS (if long), NECK (if high).
  • Covered By: OVER.

ClothingSlot.LEGS

Pants, skirts, and bottoms; Socks and hosiery should use UNDERLEGS

  • Covers: UNDERPANTS, UNDERLEGS (if long and FEET slot contains something high).
  • Covered By: OVER (if long).

ClothingSlot.FEET

Shoes. Socks and hosiery should use UNDERLEGS.

  • Covers: UNDERLEGS (if high and LEGS slot contains something long).
  • Covered By: OVER (if long).

ClothingSlot.OVER

Coats and shawls.

  • Covers: TORSO, UNDERSHIRT, LEGS (if long), UNDERPANTS (if long), UNDERLEGS (if long and FEET slot contains something high), NECK (if high).
  • Covered By: Nothing.

ClothingSlot.GLOVES

Gloves.

  • Covers: FINGER, WRIST (if long).
  • Covered By: Nothing.

ClothingSlot.HEAD

Hats and helmets.

  • Covers: Ears (if long).
  • Covered By: Nothing.

ClothingSlot.EARS

Earrings. Something like earmuffs probably should use HEAD.

  • Covers: Nothing.
  • Covered By: HEAD (if long).

ClothingSlot.NECK

Necklaces and ties.

  • Covers: Nothing.
  • Covered By: TORSO (if high), OVER (if high).

ClothingSlot.WRIST

Bracelets, watches.

  • Covers: Nothing.
  • Covered By: GLOVES (if long).

ClothingSlot.FINGER

Rings.

  • Covers: Nothing.
  • Covered By: GLOVES.

ClothingSlot.???

  • FIXME Other piercing slots?
  • FIXME Should there be slots for sex toys?

smutbook/classes/apparel/clothingslot.txt · Last modified: 2023/08/09 19:34 by lee