obj/item/Clothes
Click()
if(worn == 1)
usr.overlays -= src
worn = 0
WornRemove()
return
if(worn == 0)
usr.overlays += src
worn = 1
WornAdd()
return
when there wearing it, they still can click it, isnt there a way to if(src.loc=locate(contents) or something?
To see if its in the inventory before running that, beacuse players can equipt other peoples items by clicking them
on the map
-_-
ID:268142
Mar 23 2004, 8:23 pm
|
|
Mar 23 2004, 8:46 pm
|
|
The second one should be "else if"
|