mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 21:52:42 +00:00
Random Rig spawner no longer spawns access locked rigs.
This commit is contained in:
@@ -276,9 +276,9 @@
|
||||
icon_state = "generic"
|
||||
|
||||
/obj/random/rigsuit/item_to_spawn()
|
||||
return pick(prob(4);/obj/item/rig/light/hacker,
|
||||
return pick(prob(4);/obj/item/rig/light/hacker/poi,
|
||||
prob(5);/obj/item/rig/industrial,
|
||||
prob(5);/obj/item/rig/eva,
|
||||
prob(4);/obj/item/rig/light/stealth,
|
||||
prob(4);/obj/item/rig/light/stealth/poi,
|
||||
prob(3);/obj/item/rig/hazard,
|
||||
prob(1);/obj/item/rig/merc/empty)
|
||||
prob(1);/obj/item/rig/merc/empty/poi)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user