ID:267420
 
I've set up a few layers(overlay layers) for different articles of clothing so if you were to have on a jacket but not a shirt and you put the shirt on, the jacket would stay over the shirt. So I did this...
var/const
SHIRT_LAYER = FLOAT_LAYER-3
SHIRTT_LAYER = FLOAT_LAYER-5
SHOE_LAYER = FLOAT_LAYER-5
JACKET_LAYER = FLOAT_LAYER-2
PANTS_LAYER = FLOAT_LAYER-4
GLOVE_LAYER = FLOAT_LAYER-1
HAIR_LAYER = FLOAT_LAYER-1
GLASSES_LAYER = FLOAT_LAYER-6

obj
shirt
icon = 'shirt.dmi'
layer = SHIRT_LAYER
verb
Wear()
set src in usr
usr.overlays += src
Tuck()
set src in usr
src.layer = SHIRTT_LAYER
pants
icon = 'pants.dmi'
layer = PANTS_LAYER
verb
Wear()
set src in usr
usr.overlays += src

Now while I don't get any errors, the layers I defined aren't working. At first I had usr.overlays += The file here. Which I soon realized wouldn't use the layers I defined because I was only adding the icon. So i changed it to src and it still doesn't work, although it does show the icon overtop the character. Thanks for any help given.

Resonating Light