[MIRROR] Allows Brig Subtypes To Be Usable for Departmental Orders [MDB IGNORE] (#15794)

* 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

* Allows Brig Subtypes To Be Usable for Departmental Orders

Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
SkyratBot
2022-08-25 14:51:49 +01:00
committed by GitHub
co-authored by san7890
parent 1eca20e0c4
commit ba971e26a5
+4 -1
View File
@@ -189,7 +189,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")