This commit is contained in:
kyunkyunkyun
2024-12-17 16:17:37 +00:00
committed by GitHub
parent 8ff638b519
commit f7199ccf80
4 changed files with 24 additions and 18 deletions
+4 -2
View File
@@ -374,12 +374,14 @@
if(S)
qdel(S)
shield_list = list()
for(var/obj/machinery/door/airlock/hatch/syndicate/vault/A in src)
A.unlock()
/area/syndicate_depot/core/proc/unlock_lockers() // used on QM's death
for(var/obj/structure/closet/secure_closet/depot/armory/L in src)
if(L.locked)
L.locked = !L.locked
L.update_icon()
for(var/obj/machinery/door/airlock/hatch/syndicate/vault/A in src)
A.unlock()
/area/syndicate_depot/core/proc/despawn_guards()
for(var/mob/thismob in list_getmobs(guard_list))
@@ -3,7 +3,7 @@
desc = "A red and black lootbox full of things the Head of Security is going to flip their shit over."
locked = FALSE
anchored = TRUE
req_access = list()
req_access = list(ACCESS_SYNDICATE)
icon_state = "tac"
layer = 2.9 // ensures the loot they drop always appears on top of them.
var/is_armory = FALSE
@@ -57,6 +57,6 @@
ignore_use = FALSE
/obj/structure/closet/secure_closet/depot/armory
req_access = list(ACCESS_SYNDICATE)
req_access = list(ACCESS_SYNDICATE_COMMAND) // can't open without killing QM/breaking a closet
is_armory = TRUE
icon_state = "armory"
@@ -87,7 +87,6 @@
if(!depotarea.used_self_destruct)
depotarea.used_self_destruct = TRUE // Silences all further alerts from this point onwards.
depotarea.update_state()
depotarea.shields_down()
else
log_debug("[src] at [x],[y],[z] failed depotarea istype check during Initialize()! Either it was spawned outside the depot area (bad idea), or a bug is happening.")
@@ -109,6 +108,7 @@
for(var/obj/O in L)
qdel(O)
L.open()
depotarea.shields_down()
for(var/mob/living/M in range(30, T))
M.gib()
for(var/obj/mecha/E in range(30, T))