ID:2371693
 
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?

You need to put your code inside <dm> (code goes here)</dm> tags so we can read it.
In response to Flick
I have do it now Thanks
Gonna need to see a screenshot. Got nothing from your description.
In response to Renan15
obj/Roupa/something
pixel_x = -64
pixel_y = -64
I have do it one time but, when wear the equip get out again
...I don't understand what's going on in the screenshot either.
In response to Ter13
I think it's about the angel position. He wants the angel position be into mob position
In response to Czoaf
pixel_x is for right or left, if you use negative values it will go to the lft side.
pixel_y is a var for up and down, if you use negative values it will go down.
Dont use it inside of the verb, make it at the big icons as a var.
obj/Roupa/overlaypath
pixel_x = -64
pixel_y = -64
verb
Equip()