[MIRROR] Adds optional area-based definition for outdoors-ness

This commit is contained in:
Chompstation Bot
2021-08-01 15:41:46 +00:00
parent 1a38674550
commit 21b6022a3a
26 changed files with 3346 additions and 58 deletions
@@ -100,7 +100,7 @@
var/list/all_turfs = block(locate(1, 1, min), locate(world.maxx, world.maxy, max))
var/list/turfs_to_use = list()
for(var/turf/T as anything in all_turfs)
if(T.outdoors)
if(T.is_outdoors())
turfs_to_use += T
if(!turfs_to_use.len)