mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-08 23:29:52 +00:00
Merge pull request #12380 from Hatterhat/rig-undersuits
undersuits for EVA equipment enthusiasts
This commit is contained in:
@@ -237,3 +237,31 @@ Talon jumpsuit
|
||||
"red and white" = /obj/item/clothing/under/summerdress/red
|
||||
)
|
||||
gear_tweaks += new/datum/gear_tweak/path(dresses)
|
||||
|
||||
// undersuits
|
||||
/datum/gear/uniform/undersuit
|
||||
display_name = "undersuit selection"
|
||||
path = /obj/item/clothing/under/undersuit
|
||||
|
||||
/datum/gear/uniform/undersuit/New()
|
||||
..()
|
||||
var/list/suits = list()
|
||||
var/list/blacklisted_types = list(/obj/item/clothing/under/undersuit/sec, /obj/item/clothing/under/undersuit/sec/hos, /obj/item/clothing/under/undersuit/hazard, /obj/item/clothing/under/undersuit/command, /obj/item/clothing/under/undersuit/centcom)
|
||||
for(var/obj/item/clothing/under/undersuit/undersuit_type as anything in typesof(/obj/item/clothing/under/undersuit) - blacklisted_types)
|
||||
suits[initial(undersuit_type.name)] = undersuit_type
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(suits))
|
||||
|
||||
/datum/gear/uniform/undersuit_sec
|
||||
display_name = "undersuit, security (Security)"
|
||||
allowed_roles = list("Head of Security", "Warden", "Detective", "Security Officer")
|
||||
path = /obj/item/clothing/under/undersuit/sec
|
||||
|
||||
/datum/gear/uniform/undersuit_hos
|
||||
display_name = "undersuit, security command (HoS)"
|
||||
allowed_roles = list("Head of Security")
|
||||
path = /obj/item/clothing/under/undersuit/sec/hos
|
||||
|
||||
/datum/gear/uniform/undersuit_com
|
||||
display_name = "undersuit, command (SM/HoP)"
|
||||
allowed_roles = list("Site Manager", "Head of Personnel")
|
||||
path = /obj/item/clothing/under/undersuit/command
|
||||
Reference in New Issue
Block a user