Adds optional area-based definition for outdoors-ness. (#8155)

This commit is contained in:
Neerti
2021-06-27 20:46:10 -09:00
committed by GitHub
parent 671b5e7ea4
commit 6782e64891
17 changed files with 69 additions and 37 deletions
@@ -146,7 +146,7 @@
. += turf_move_cost
// Wind makes it easier or harder to move, depending on if you're with or against the wind.
if(T.outdoors && (T.z <= SSplanets.z_to_planet.len))
if((T.outdoors == OUTDOORS_YES) && (T.z <= SSplanets.z_to_planet.len))
var/datum/planet/P = SSplanets.z_to_planet[z]
if(P)
var/datum/weather_holder/WH = P.weather_holder