refactor: Eliminate text access fields. (#26907)

* refactor: Eliminate text access fields.

* set script PR number

* make diffstat delta exactly 0
This commit is contained in:
warriorstar-orion
2024-10-22 09:18:10 +00:00
committed by GitHub
parent a243dae3d4
commit 1c994ad3d9
38 changed files with 1329 additions and 1336 deletions
@@ -207,14 +207,10 @@ This spawner places pipe leading up to the interior door, you will need to finis
// Since airlocks are created first, we steal the payload logic
// to apply to the controls later
req_access = airlock.req_access
req_access_txt = airlock.req_access_txt
req_one_access = airlock.req_one_access
req_one_access_txt = airlock.req_one_access_txt
else
I.req_access = req_access
I.req_access_txt = req_access_txt
I.req_one_access = req_one_access
I.req_one_access_txt = req_one_access_txt
// MARK: AIRLOCK HELPERS
+3 -2
View File
@@ -34,10 +34,11 @@
var/emagged = FALSE
// Access-related fields
/// A list of accesses as defined by `code/__DEFINES/access_defines.dm`. All accesses are required when checking.
var/list/req_access = null
var/req_access_txt = "0"
/// A list of accesses as defined by `code/__DEFINES/access_defines.dm`. At least one access is required when checking.
var/list/req_one_access = null
var/req_one_access_txt = "0"
/obj/Initialize(mapload)
. = ..()