Changes all access const to be a define
This commit is contained in:
@@ -20,7 +20,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
|
||||
var/launch_warning = TRUE
|
||||
var/list/turrets = list() //List of connected turrets
|
||||
|
||||
req_one_access = list(GLOB.access_cargo, GLOB.access_construction, GLOB.access_heads, GLOB.access_research)
|
||||
req_one_access = list(ACCESS_CARGO, ACCESS_CONSTRUCTION, ACCESS_HEADS, ACCESS_RESEARCH)
|
||||
var/possible_destinations
|
||||
clockwork = TRUE
|
||||
var/obj/item/device/gps/internal/base/locator
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
circuit = /obj/item/weapon/circuitboard/computer/labor_shuttle
|
||||
shuttleId = "laborcamp"
|
||||
possible_destinations = "laborcamp_home;laborcamp_away"
|
||||
req_access = list(GLOB.access_brig)
|
||||
req_access = list(ACCESS_BRIG)
|
||||
|
||||
|
||||
/obj/machinery/computer/shuttle/labor/one_way
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
anchored = TRUE
|
||||
input_dir = NORTH
|
||||
output_dir = SOUTH
|
||||
req_access = list(GLOB.access_mineral_storeroom)
|
||||
var/req_access_reclaim = GLOB.access_mining_station
|
||||
req_access = list(ACCESS_MINERAL_STOREROOM)
|
||||
var/req_access_reclaim = ACCESS_MINING_STATION
|
||||
var/obj/item/weapon/card/id/inserted_id
|
||||
var/points = 0
|
||||
var/ore_pickup_rate = 15
|
||||
|
||||
@@ -274,10 +274,10 @@
|
||||
/obj/item/weapon/card/mining_access_card/afterattack(atom/movable/AM, mob/user, proximity)
|
||||
if(istype(AM, /obj/item/weapon/card/id) && proximity)
|
||||
var/obj/item/weapon/card/id/I = AM
|
||||
I.access |= GLOB.access_mining
|
||||
I.access |= GLOB.access_mining_station
|
||||
I.access |= GLOB.access_mineral_storeroom
|
||||
I.access |= GLOB.access_cargo
|
||||
I.access |= ACCESS_MINING
|
||||
I.access |= ACCESS_MINING_STATION
|
||||
I.access |= ACCESS_MINERAL_STOREROOM
|
||||
I.access |= ACCESS_CARGO
|
||||
to_chat(user, "You upgrade [I] with mining access.")
|
||||
qdel(src)
|
||||
..()
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/obj/structure/closet/secure_closet/miner
|
||||
name = "miner's equipment"
|
||||
icon_state = "mining"
|
||||
req_access = list(GLOB.access_mining)
|
||||
req_access = list(ACCESS_MINING)
|
||||
|
||||
/obj/structure/closet/secure_closet/miner/PopulateContents()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user