Code:obj/Roupa
verb
Usar()
if(src.worn == 1)
src:worn = 0
usr.overlays -= icon//temp icon
usr << "Você tirou o [src.name]."
src.suffix = ""
usr.ItemStaff = 0
usr.ItemStaff2 = ""
else
if(usr.ItemStaff == 0)
src:worn = 1
usr.overlays += icon
usr << "Você usou o [src.name]."
src.suffix = "Usando"
usr.ItemStaff = 1
usr.ItemStaff = "[src.name]"
else
alert("Você ja possui um item staff.")
Olhar()
usr<<"Roupa criada pela STAFF."
Jogar_Fora()
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()
Pegar()
set src in oview(1)
src.loc = usr
usr<<"Você pegou o [src]"
</b>
Problem description:
I have a little problem, whenever I create 96x96 icons using this command, only 1 box of space will look like it and the icon will be to the right and top of the character, is there something I can do to stay right?