This commit is contained in:
kyunkyunkyun
2024-12-17 21:17:37 +05:00
committed by GitHub
parent 8ff638b519
commit f7199ccf80
4 changed files with 24 additions and 18 deletions
@@ -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))