ID:144274
 
Code:
obj
Inferno
name = "Inferno Blade"
icon = 'Custom Swords.dmi'//dont have a base icon so cant make weights icon!lol
icon_state = "Custom"
worn = 0
verb
Wear()
if(src.worn == 1)
src:worn = 0
usr.overlays -= 'Custom Swords.dmi'//temp icon
usr << "You remove the [src.name]."
src.suffix = ""
else
src:worn = 1
usr.overlays += 'Custom Swords.dmi'
usr << "You wear the [src.name]."
src.suffix = "Equipped"
Look()
usr<<"This is a Custom Sword."
Drop()
if(src:worn == 1)
usr << "Not while its being worn."
if(src:worn == 0)
src.loc=locate(usr.x,usr.y-1,usr.z)
usr.Save()
Get()
set src in oview(1)
src.loc = usr
usr<<"You picked up a [src]"


Problem description:for some reason when i equip my other items they appear on my icon but when i try this is wont work but it says its equipped and it adds its effect.any help