Adds a selection of corporate peaked caps to the loadout (#20351)

Title. The cap is restricted to Security (barring Cadet), the Captain,
and the XO.

---------

Co-authored-by: Gabby <59633984+feartheblackout@users.noreply.github.com>
This commit is contained in:
FearTheGabby
2025-01-24 12:16:12 +00:00
committed by GitHub
co-authored by Gabby
parent ae3eac8767
commit e9fd65e0af
4 changed files with 132 additions and 0 deletions
@@ -506,6 +506,28 @@
display_name = "artist beret"
path = /obj/item/clothing/head/beret/artist/colourable
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
/datum/gear/head/peakedcap
display_name = "corporate peaked cap selection"
description = "A selection of corporate-colored peaked caps. Note that the cap should align with your character's chosen faction."
path = /obj/item/clothing/head/peaked_cap
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION
allowed_roles = list("Head of Security", "Security Officer", "Warden", "Investigator", "Security Personnel",
"Captain", "Executive Officer")
/datum/gear/head/peakedcap/New()
..()
var/list/caps = list()
caps["peaked cap, Zavodskoi Interstellar"] = /obj/item/clothing/head/peaked_cap/zavodskoi
caps["peaked cap, Zavodskoi Interstellar, no logo"] = /obj/item/clothing/head/peaked_cap/zavodskoi/no_logo
caps["peaked cap, Zavodskoi Interstellar, alt"] = /obj/item/clothing/head/peaked_cap/zavodskoi/alt
caps["peaked cap, Zavodskoi Interstellar, alt, no logo"] = /obj/item/clothing/head/peaked_cap/zavodskoi/alt/no_logo
caps["peaked cap, Idris Incorporated"] = /obj/item/clothing/head/peaked_cap/idris
caps["peaked cap, Idris Incorporated, no logo"] = /obj/item/clothing/head/peaked_cap/idris/no_logo
caps["peaked cap, Private Military Contracting Group"] = /obj/item/clothing/head/peaked_cap/pmcg
caps["peaked cap, Private Military Contracting Group, no logo"] = /obj/item/clothing/head/peaked_cap/pmcg/no_logo
gear_tweaks += new /datum/gear_tweak/path(caps)
/*
Block Hair Adjustment
*/
+52
View File
@@ -763,3 +763,55 @@
desc = "A softcap in green camo, issued to members of the military contracting group Grupo Amapola."
icon_state = "amapola_ute_hat"
item_state = "amapola_ute_hat"
/obj/item/clothing/head/peaked_cap
name = "corporate peaked cap"
desc = "A military-style corporate peaked cap. This one bears the emblem of NanoTrasen Incorporated."
icon_state = "nt_warden_hat"
item_state = "nt_warden_hat"
icon = 'icons/obj/item/clothing/department_uniforms/security.dmi'
contained_sprite = TRUE
/obj/item/clothing/head/peaked_cap/no_logo
desc = "A military-style corporate peaked cap. This one bears the colors of NanoTrasen Incorporated."
icon_state = "nt_warden_hat_nologo"
item_state = "nt_warden_hat_nologo"
/obj/item/clothing/head/peaked_cap/zavodskoi
desc = "A military-style corporate peaked cap. This one bears the emblem of Zavodskoi Interstellar."
icon_state = "zav_warden_hat"
item_state = "zav_warden_hat"
/obj/item/clothing/head/peaked_cap/zavodskoi/no_logo
desc = "A military-style corporate peaked cap. This one bears the colors of Zavodskoi Interstellar."
icon_state = "zav_warden_hat_nologo"
item_state = "zav_warden_hat_nologo"
/obj/item/clothing/head/peaked_cap/zavodskoi/alt
icon_state = "zav_warden_hat_alt"
item_state = "zav_warden_hat_alt"
/obj/item/clothing/head/peaked_cap/zavodskoi/alt/no_logo
desc = "A military-style corporate peaked cap. This one bears the colors of Zavodskoi Interstellar."
icon_state = "zav_warden_hat_alt_nologo"
item_state = "zav_warden_hat_alt_nologo"
/obj/item/clothing/head/peaked_cap/idris
desc = "A military-style corporate peaked cap. This one bears the emblem of Idris Incorporated."
icon_state = "idris_warden_hat"
item_state = "idris_warden_hat"
/obj/item/clothing/head/peaked_cap/idris/no_logo
desc = "A military-style corporate peaked cap. This one bears the colors of Idris Incorporated."
icon_state = "idris_warden_hat_nologo"
item_state = "idris_warden_hat_nologo"
/obj/item/clothing/head/peaked_cap/pmcg
desc = "A military-style corporate peaked cap. This one bears the emblem of the Private Military Contracting Group."
icon_state = "pmc_warden_hat"
item_state = "pmc_warden_hat"
/obj/item/clothing/head/peaked_cap/pmcg/no_logo
desc = "A military-style corporate peaked cap. This one bears the colors of the Private Military Contracting Group."
icon_state = "pmc_warden_hat_nologo"
item_state = "pmc_warden_hat_nologo"