ID:140440
 
Code:
            var/icon/I=new('hoe.dmi',"a1",usr.dir)
if(usr.dir==NORTH)
I:pixel_y=16
if(usr.dir==SOUTH)
I:pixel_y=-16
if(usr.dir==EAST)
I:pixel_x=16
if(usr.dir==WEST)
I:pixel_x=-16
usr.overlays+=I


Problem description:

it says undefined variable, if i use . instead of : i get error and using : it says when this proc is actvated that pixel_y or pixel_x dpeending on my dir is an undefined var... i dont believe icons dont have the pixel_y or pixel_x var, that would be non sense, so there might be a problem here.
Icons don't have pixel offsets because they're just pictures; only something on the map has a pixel offset, which basically means an atom, overlay, or /image.

Lummox JR