ID:174996
 
I'm getting pretty fed-up with this code, but I'm not going to give up on it. For some reason, when I try to remove this overlay, the overlay doesn't come off... When I drop it, It is still on him, but the object does appear...
obj/wifebeater
icon = 'beater.dmi'
layer=MOB_LAYER+10
var/wearing = 0
verb
Drop()
if(wearing == 1)
usr<<"You're wearing the clothes."
return
else
set category="Items"
set src in usr
src.Move(usr.loc)
usr << "You drop [src]."
Get()
set src in oview(1)
set category="Items"
Move(usr)
usr.contents += src
Wear()
set category="Items"
if(src.wearing==0)
src.wearing=1
usr.overlays+=src
usr<<"You wear the [src]"
suffix = "Wearing"
else
src.wearing=0
usr.overlays-= src
usr<<"You remove the [src]"
suffix = ""


[Edit] This did work before... I don't know what's wrong now.
Can anyone give me a hand with what my problem is?

-Camaro-