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 11:27:51 -05:00
committed by GitHub
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
+2 -2
View File
@@ -75,7 +75,7 @@
/obj/effect/shuttle_landmark/ship
name = "Open Space"
landmark_tag = "ship"
flags = SLANDMARK_FLAG_AUTOSET | SLANDMARK_FLAG_ZERO_G
landmark_flags = SLANDMARK_FLAG_AUTOSET | SLANDMARK_FLAG_ZERO_G
base_turf = /turf/space
var/shuttle_name
var/list/visitors // landmark -> visiting shuttle stationed there
@@ -96,7 +96,7 @@
return "Grappled by other shuttle; cannot manouver."
/obj/effect/shuttle_landmark/visiting_shuttle
flags = SLANDMARK_FLAG_AUTOSET | SLANDMARK_FLAG_ZERO_G
landmark_flags = SLANDMARK_FLAG_AUTOSET | SLANDMARK_FLAG_ZERO_G
var/obj/effect/shuttle_landmark/ship/core_landmark
/obj/effect/shuttle_landmark/visiting_shuttle/Initialize(mapload, obj/effect/shuttle_landmark/ship/master, _name)