code/_helpers/game.dm 
/proc/get_dist_3d | Despite what the ref says, get_dist does not factor in the Z axis. This is just get_dist() but Z-aware. |
---|---|
/proc/get_surrounding_pressure_differential | Gets the highest and lowest pressures from the tiles in cardinal directions around us, then checks the difference. |