Split up and rename var/flags (#17794)

* Split up and rename `var/flags`

* Various fixes

* CL

* Don't rename Phoron Guard phoron preset

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
Cody Brittain
2023-11-22 16:27:51 +00:00
committed by GitHub
co-authored by Cody Brittain
parent 4b9303a1e9
commit 06601c9ec3
335 changed files with 763 additions and 674 deletions
@@ -5,7 +5,7 @@
has_resources = 1
footstep_sound = /singleton/sound_category/asteroid_footstep
turf_flags = TURF_FLAG_BACKGROUND
flags = null
turf_flags = null
does_footprint = TRUE
+1 -1
View File
@@ -309,7 +309,7 @@
// Ruins check - try to avoid blowing up ruins with our LZ
// We do this until we run out of attempts
for(var/turf/check in block_to_check)
if(!istype(get_area(check), /area/exoplanet) || check.flags & TURF_NORUINS)
if(!istype(get_area(check), /area/exoplanet) || check.turf_flags & TURF_NORUINS)
valid = FALSE
break
// Landability check - try to find an already-open space for an LZ