mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
depottt (#27399)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user