ID:168935
 
ive been using
if(istype(src.loc, /turf/outside/dugground))
to check the turf under me.
how do i use this where i check the turf one space to my right? (src.x+1) but idk how to add it in. thnx.
Look up get_step().
Or, the messy way if you want to keep doing it the way you are...

if(istype(locate(src.x+/-?, src.y+/-?, src.z), /turf/outside/dugground))