mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user