Random Rig spawner no longer spawns access locked rigs.

This commit is contained in:
Mechoid
2023-02-20 03:11:11 -08:00
parent 14a10960b7
commit 15fa93c00b
4 changed files with 21 additions and 5 deletions
@@ -194,5 +194,6 @@
LAZYCLEARLIST(req_one_access)
locked = 0
subverted = 1
to_chat(user, "<span class='danger'>You short out the access protocol for the suit.</span>")
if(user)
to_chat(user, "<span class='danger'>You short out the access protocol for the suit.</span>")
return 1
@@ -68,6 +68,11 @@
/obj/item/rig_module/vision,
)
/obj/item/rig/light/hacker/poi/Initialize()
. = ..()
if(!QDELETED(src))
emag_act()
//The cybersuit is not space-proof. It does however, have good siemens_coefficient values
/obj/item/clothing/head/helmet/space/rig/light/hacker
name = "headgear"
@@ -138,3 +143,8 @@
/obj/item/rig_module/stealth_field,
/obj/item/rig_module/vision
)
/obj/item/rig/light/stealth/poi/Initialize()
. = ..()
if(!QDELETED(src))
emag_act()
@@ -43,4 +43,9 @@
initial_modules = list(
/obj/item/rig_module/ai_container,
/obj/item/rig_module/electrowarfare_suite, //might as well
)
)
/obj/item/rig/merc/empty/poi/Initialize()
. = ..()
if(!QDELETED(src))
emag_act()