Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/clothing.dm

ITEM_SLOT_HAND_LEFTLeft hand slot
ITEM_SLOT_HAND_RIGHTRight hand slot
ITEM_SLOT_HANDSBoth hands
ITEM_SLOT_POCKET_LEFTLeft pocket slot
ITEM_SLOT_POCKET_RIGHTRight pocket slot
ITEM_SLOT_POCKETSBoth pockets
ITEM_SLOT_EAR_LEFTLeft ear slot (radios, earmuffs)
ITEM_SLOT_EAR_RIGHTRight ear slot (radios, earmuffs)
ITEM_SLOT_EARSBoth ears
ITEM_SLOT_BELTBelt slot
ITEM_SLOT_BACKBack slot
ITEM_SLOT_CLOTH_OUTERSuit slot (armors, costumes, space suits, etc.)
ITEM_SLOT_CLOTH_INNERJumpsuit slot
ITEM_SLOT_GLOVESGlove slot
ITEM_SLOT_EYESGlasses slot
ITEM_SLOT_MASKMask slot
ITEM_SLOT_HEADHead slot (helmets, hats, etc.)
ITEM_SLOT_FEETShoe slot
ITEM_SLOT_IDID slot
ITEM_SLOT_PDAPDA slot
ITEM_SLOT_NECKNeck slot (ties, bedsheets, scarves)
ITEM_SLOT_SUITSTORESuit storage slot
ITEM_SLOT_HANDCUFFEDHandcuff slot
ITEM_SLOT_LEGCUFFEDLegcuff slot (bolas, beartraps)
ITEM_SLOT_BACKPACKInside of a character's backpack
ITEM_SLOT_ACCESSORYAccessory slot. Tries to place item on jumpsuit
SLOT_HUD_AMOUNTTotal amount of slots. Keep this up to date!
ITEM_FLAG_POCKET_LARGEAllows items with a w_class of WEIGHT_CLASS_NORMAL or WEIGHT_CLASS_BULKY to fit in pockets
ITEM_FLAG_POCKET_DENYDenies items with a w_class of WEIGHT_CLASS_TINY or WEIGHT_CLASS_SMALL to fit in pockets
ITEM_FLAG_TWOEARSIndicated that item needs two ears to wear, also creates dummy item in other ear slot
ADD_CLOTHING_TRAITWrapper for adding clothing based traits
REMOVE_CLOTHING_TRAITWrapper for removing clothing based traits

Define Details

ADD_CLOTHING_TRAIT

Wrapper for adding clothing based traits

ITEM_FLAG_POCKET_DENY

Denies items with a w_class of WEIGHT_CLASS_TINY or WEIGHT_CLASS_SMALL to fit in pockets

ITEM_FLAG_POCKET_LARGE

Allows items with a w_class of WEIGHT_CLASS_NORMAL or WEIGHT_CLASS_BULKY to fit in pockets

ITEM_FLAG_TWOEARS

Indicated that item needs two ears to wear, also creates dummy item in other ear slot

ITEM_SLOT_ACCESSORY

Accessory slot. Tries to place item on jumpsuit

ITEM_SLOT_BACK

Back slot

ITEM_SLOT_BACKPACK

Inside of a character's backpack

ITEM_SLOT_BELT

Belt slot

ITEM_SLOT_CLOTH_INNER

Jumpsuit slot

ITEM_SLOT_CLOTH_OUTER

Suit slot (armors, costumes, space suits, etc.)

ITEM_SLOT_EARS

Both ears

ITEM_SLOT_EAR_LEFT

Left ear slot (radios, earmuffs)

ITEM_SLOT_EAR_RIGHT

Right ear slot (radios, earmuffs)

ITEM_SLOT_EYES

Glasses slot

ITEM_SLOT_FEET

Shoe slot

ITEM_SLOT_GLOVES

Glove slot

ITEM_SLOT_HANDCUFFED

Handcuff slot

ITEM_SLOT_HANDS

Both hands

ITEM_SLOT_HAND_LEFT

Left hand slot

ITEM_SLOT_HAND_RIGHT

Right hand slot

ITEM_SLOT_HEAD

Head slot (helmets, hats, etc.)

ITEM_SLOT_ID

ID slot

ITEM_SLOT_LEGCUFFED

Legcuff slot (bolas, beartraps)

ITEM_SLOT_MASK

Mask slot

ITEM_SLOT_NECK

Neck slot (ties, bedsheets, scarves)

ITEM_SLOT_PDA

PDA slot

ITEM_SLOT_POCKETS

Both pockets

ITEM_SLOT_POCKET_LEFT

Left pocket slot

ITEM_SLOT_POCKET_RIGHT

Right pocket slot

ITEM_SLOT_SUITSTORE

Suit storage slot

REMOVE_CLOTHING_TRAIT

Wrapper for removing clothing based traits

SLOT_HUD_AMOUNT

Total amount of slots. Keep this up to date!