obj
var
strengthadd
price
a
dmgtype = "N/A"
wequ=0
weapons
icon = 'weapons.dmi'
verb
Equip()
set src in usr
if(!usr.equipped)
src.verbs+=/obj/weapons/proc/Unequip
src.verbs-=/obj/weapons/verb/Equip
src.wequ=1
src.suffix+="Equipped"
usr.equipped = 1
usr.atk += src.a
else
usr << "You already have something equipped in that slot!"
proc
Unequip()
set src in usr
if(!usr.equipped)
usr << "You dont have anything equipped!"
else
src.verbs-=/obj/weapons/proc/Unequip
src.verbs+=/obj/weapons/verb/Equip
src.wequ=0
src.suffix =""
usr.equipped = 0
usr.atk -= src.a
Problem description:
Well whenever I log off with something equipped I have my unequipped verb but when I log back on its still equipped but I don't have the unequip verb could anyone help?
[EDIT]
if i need to post my save code tell me
Now, as for your problem right here, what you need to do is, when the obj is loaded, check whether it's equipped or not, and if it is, then set the verbs appropriately.