obj/Block
icon='Iso64.dmi'
var/block
Cross(mob/M)
if(istype(M,/mob))
if(M.dir == src.block)
return 0
else
return 1
Uncross(mob/M)
if(istype(M,/mob))
if(turn(M.dir,180) == src.block)
return 0
else
return 1
N
icon_state="north";block=NORTH
E
icon_state="east";block=EAST
S
icon_state="south";block=SOUTH
W
icon_state="west";block=WEST
Problem description: Uncrossed() doesn't seem to be working as I'd expected. The goal here is to have one edge of the tile that you can not cross over. These would be laid over a fence for example, so that players can walk onto the tile containing the fence, but not walk through it.