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
+1 -1
View File
@@ -148,7 +148,7 @@
var/turf/T = i
T.post_change(FALSE)
if(template_flags & TEMPLATE_FLAG_NO_RUINS)
T.flags |= TURF_NORUINS
T.turf_flags |= TURF_NORUINS
if(istype(T,/turf/simulated))
var/turf/simulated/sim = T
sim.update_air_properties()
+1 -1
View File
@@ -88,7 +88,7 @@ var/list/banned_ruin_ids = list()
valid = TRUE
for(var/turf/check_turf in ruin.get_affected_turfs(choice, TRUE))
var/area/check_area = get_area(check_turf)
if(!istype(check_area, filter_area) || check_turf.flags & TURF_NORUINS)
if(!istype(check_area, filter_area) || check_turf.turf_flags & TURF_NORUINS)
valid = FALSE
break