Coding in new suits in Developer Help
|
|
obj
Sakura Suit
name = "Sakura Suit"
icon = "Sakura suit.dmi"
price = 750
worn = 0
verb
Wear()
if(src.worn == 1)
src:worn = 0
usr.overlays -= 'Sakura suit.dmi'
usr << "You remove the [src.name]."
src.suffix = "Equipped"
Look()
usr<< "This is Sakuras TS suit."
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.Savek()
Get()
set src in oview(1)
src.loc = usr
usr <<"You picked up [src]
keeps sayin invalid proc defnition
|
Might be that you dont have this proc? Doubt it though.