mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-28 02:53:11 +00:00
Merge pull request #5279 from Heroman3003/crateaccess
Access fixes for carogopacks
This commit is contained in:
@@ -226,7 +226,7 @@ var/datum/controller/supply/supply_controller = new()
|
||||
A.req_access = list(SP.access)
|
||||
else if(islist(SP.access))
|
||||
var/list/L = SP.access // access var is a plain var, we need a list
|
||||
A.req_access = L.Copy()
|
||||
A.req_one_access = L.Copy() //VOREStation Edit: Lets make sense
|
||||
else
|
||||
log_debug("<span class='danger'>Supply pack with invalid access restriction [SP.access] encountered!</span>")
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
cost = 30
|
||||
containertype = /obj/structure/closet/crate/large
|
||||
containername = "thermal regulator crate"
|
||||
access = access_atmospherics
|
||||
|
||||
/datum/supply_pack/eng/radsuit
|
||||
contains = list(
|
||||
|
||||
@@ -39,7 +39,10 @@
|
||||
cost = 150
|
||||
containertype = /obj/structure/closet/crate/secure/gear
|
||||
containername = "eva hardsuit crate"
|
||||
access = access_mining
|
||||
access = list(access_mining,
|
||||
access_eva,
|
||||
access_explorer,
|
||||
access_pilot)
|
||||
|
||||
/datum/supply_pack/misc/mining_rig
|
||||
name = "industrial hardsuit (empty)"
|
||||
@@ -49,4 +52,5 @@
|
||||
cost = 150
|
||||
containertype = /obj/structure/closet/crate/secure/gear
|
||||
containername = "industrial hardsuit crate"
|
||||
access = access_mining
|
||||
access = list(access_mining,
|
||||
access_eva)
|
||||
@@ -31,7 +31,6 @@
|
||||
cost = 40
|
||||
containertype = /obj/structure/closet/crate/secure/gear
|
||||
containername = "Armor crate"
|
||||
access_armory //VOREStation Add - Armor is for the armory.
|
||||
|
||||
/datum/supply_pack/security/riot_gear
|
||||
name = "Gear - Riot"
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
access_xenobiology)
|
||||
*/
|
||||
|
||||
/datum/supply_pack/randomised/security/armor
|
||||
access = access_armory
|
||||
|
||||
/datum/supply_pack/security/biosuit
|
||||
contains = list(
|
||||
/obj/item/clothing/head/bio_hood/security = 3,
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
)
|
||||
|
||||
/datum/supply_pack/voidsuits/supply
|
||||
name = "Mining voidsuits"
|
||||
contains = list(
|
||||
/obj/item/clothing/suit/space/void/mining = 3,
|
||||
/obj/item/clothing/head/helmet/space/void/mining = 3,
|
||||
|
||||
Reference in New Issue
Block a user