obj
LeafJSuit
name = "Leaf Jounin Suit"
icon = 'JouninSuits.dmi'
icon_state="Leaf"
layer = 3
worn = 0
verb
Equip()
if(!src.worn)
src.worn = 1
usr<<"<font face=verdana size = 1 color = white>You equip [src]"
usr.overlays+=/obj/LeafJSuit/
return
else
src.worn = 0
usr<<"<font face=verdana size = 1 color = white>You unequip [src]"
usr.overlays-=/obj/LeafJSuit/
return
Get()
set src in oview(1)
src.loc = usr
Problem description:
Why is it that when I equip the obj then I use 'reconnect' the object still overlays the mob. The problem is whenever I reconnect while the object is equipped, then I try to unequip the suit overlay still stays even though I unequipped it.