Equip()
if(usr.hands == 1)
usr << "You already have hands on!"
return
if(usr.hands == 0)
usr << "You put [src] on!"
src.suffix = "hands"
src.on = 1
usr.hands = 1
usr.overlays += src
usr.armor += src.stat_gain
return
UnEquip()
if(src.suffix == "hands")
if(usr.hands == 1)
usr << "You take off [src]!"
src.suffix = null
src.on = 0
usr.hands = 0
usr.armor -= src.stat_gain
usr.overlays -= src
return
Problem description:
this is a simple equip/unequip verbs. the only trouble i am having currently is that the overlay wont remove itself when i unequip. i could overlay it as a simple /obj/equipment/chain_gauntlets but they can be dif colors so i cant do that. any ideas on how to remove the icon from overlay?
I'm not good with lists but it's something like that...