mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
Allows Brig Subtypes To Be Usable for Departmental Orders (#69411)
* Allows Brig Subtypes To Be Usable for Departmental Orders Hey there, I saw an odd thing on IceBox the other day, where they couldn't deliver the departmental order crate because they were trying to open it in `/area/station/security/brig/upper` and not `/area/station/security/brig`. When they went down a z-level and opened it in the correct area, it worked perfectly fine. However, I think it's a bit obtuse, and this sort of thing might only get worse as multi-z maps become more dominant. So, let's apply a code solution by making the areas list read off typesof for the department_delivery_areas for security crates. * typesof didn't actually work, we go explicit now
This commit is contained in:
@@ -190,7 +190,10 @@ GLOBAL_LIST_INIT(department_order_cooldowns, list(
|
||||
/obj/machinery/computer/department_orders/security
|
||||
name = "security order console"
|
||||
circuit = /obj/item/circuitboard/computer/security_orders
|
||||
department_delivery_areas = list(/area/station/security/brig)
|
||||
department_delivery_areas = list(
|
||||
/area/station/security/brig,
|
||||
/area/station/security/brig/upper,
|
||||
)
|
||||
override_access = ACCESS_HOS
|
||||
req_one_access = REGION_ACCESS_SECURITY
|
||||
dep_groups = list("Security", "Armory")
|
||||
|
||||
Reference in New Issue
Block a user