coppersword
name="Copper Sword"
icon='Objects.dmi'
icon_state="coppersword"
equipped=0
equipable=1
Click()
if(src in usr)
if(!equipped)
if(!usr.rhand)
return
else
usr.overlays+=new/obj/items/sso
usr.overlays+=new/obj/items/ssb
usr.overlays+=new/obj/items/ssr
usr.overlays+=new/obj/items/ssl
usr.rhand=1
usr.attack+=4
equipped=1
Equip(src)
else
usr.overlays-=/obj/items/sso
usr.overlays-=/obj/items/ssb
usr.overlays-=/obj/items/ssr
usr.overlays-=/obj/items/ssl
usr.rhand=0
usr.attack-=4
equipped=0
Unequip(src)
else
return
Problem description:Ok, when i save my game and load it i unequip the sword, but the overlays still show on my player, why?
You might also have to add it that way.
This probably isn't the best way to do it, but its the only way I know :D.