mob/var
equip=0
obj/var
inbag=0
weapon
sword
icon = 'weapons.dmi'
icon_state="sword"
verb
Get()
set src in oview(0)
set category=null
usr.contents+=new/obj/weapon/sword
src.inbag=1
del(src)
Click()
if(inbag==1)
if(usr.equip==0)
usr<<"You Equip The weapon"
usr.equip=1
else
usr<<"You are already weilding this weapon!"
else
return
Problem description:
I can pick up the sword but cant equip it.
Feel free to correct me if im wrong.