obj
ironchainleggings
icon='LowerClothes.dmi'
icon_state="IronChainLeggingsDwarf"
name="Iron Chain Leggings"
Dropped=0
verb/Equip()
if(usr.legs==0)
if(usr.hobbit==1)
icon='LowerClothes.dmi'
usr.overlays+="IronChainLeggingsHobbit"
src.name+="{Equipped}"
usr.legs=1
src.equip=1
if(usr.dwarf==1)
src.name+="{Equipped}"
icon='LowerClothes.dmi'
usr.overlays+="IronChainLeggingsDwarf"
usr.legs=1
src.equip=1
else
usr<<"You're already wearing something on your legs."
verb/UnEquip()
if(src.equip==1)
if(usr.hobbit==1)
icon='LowerClothes.dmi'
usr.overlays-="IronChainLeggingsHobbit"
src.name="Iron Chain Leggings"
usr.legs=0
src.equip=0
if(usr.dwarf==1)
icon='LowerClothes.dmi'
usr.overlays-="IronChainLeggingsDwarf"
src.name="Iron Chain Leggings"
usr.legs=0
src.equip=0
else
usr<<"You aren't wearing that."
verb/Drop()
if(src.equip==0)
src.Dropped=1
view()<<"[usr.name] drops a [src.name]."
src.loc=usr.loc
else
usr<<"Unequip that first."
verb/Pick_Up()
if(src.Dropped==1)
set src in oview(1)
src.Dropped=0
view()<<"[usr.name] picks up a [src.name]."
src.loc=usr
Problem description: Normally, I can easily add an overlay. But for some reason, the leggings won't be visible on the character. Anyone know what's wrong? It could possibly be that I use seperate icon files.