armor
var/def
var/state
equip(mob/M)
if(equipped)
M.armor-=src.def
M.overlays-=src
src.layer=OBJ_LAYER
src.icon_state="[state]"
else
M.armor+=src.def
src.icon_state="[state]_worn"
src.layer=MOB_LAYER+2
M.overlays+=src
..() //parent proc switches equippped (equipped=!equipped)
Problem description:
The overlay doesn't get removed. I never can get this stuff to work.
Lummox JR