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-