mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] Void Undersuit Tweaks (#8339)
Co-authored-by: Killian <49700375+KillianKirilenko@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -157,6 +157,27 @@
|
||||
)
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(selector_uniforms))
|
||||
|
||||
/datum/gear/uniform/undersuit
|
||||
display_name = "Civilian - Void Undersuits"
|
||||
description = "Select from a range of void undersuits. Each is breathable, sleek, and has standard induction ports. Security, Engineering, and Command variants can be found under the standard uniform selectors for those departments."
|
||||
path = /obj/item/clothing/under/undersuit/
|
||||
sort_category = "Uniforms"
|
||||
cost = 1
|
||||
|
||||
/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))
|
||||
if(undersuit_type in blacklisted_types)
|
||||
continue
|
||||
suits[initial(undersuit_type.name)] = undersuit_type
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(suits))
|
||||
|
||||
//Security
|
||||
|
||||
/datum/gear/uniform/security_selector
|
||||
|
||||
@@ -123,25 +123,6 @@ Talon jumpsuit
|
||||
)
|
||||
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))
|
||||
if(undersuit_type in blacklisted_types)
|
||||
continue
|
||||
suits[initial(undersuit_type.name)] = undersuit_type
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(suits))
|
||||
|
||||
//Altevian Uniforms
|
||||
/datum/gear/uniform/altevian
|
||||
description = "A comfortable set of clothing for people to handle their day to day work around the fleets with little to no discomfort."
|
||||
|
||||
Reference in New Issue
Block a user