From 9f26a62b30eebb50c37e308787d82760316cf0bd Mon Sep 17 00:00:00 2001 From: Rowan Lea <5251535+Screampuff@users.noreply.github.com> Date: Fri, 29 Nov 2024 09:32:10 -0500 Subject: [PATCH] Adds job overalls to the loadout menu (#27427) * Adds janitor's overalls to the loadout menu * Adds ALL the overalls * Update code/modules/client/preference/loadout/loadout_uniform.dm Yay formatting Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Rowan Lea <5251535+Screampuff@users.noreply.github.com> --------- Signed-off-by: Rowan Lea <5251535+Screampuff@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> --- .../preference/loadout/loadout_uniform.dm | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/code/modules/client/preference/loadout/loadout_uniform.dm b/code/modules/client/preference/loadout/loadout_uniform.dm index a8c472998af..355ed73581e 100644 --- a/code/modules/client/preference/loadout/loadout_uniform.dm +++ b/code/modules/client/preference/loadout/loadout_uniform.dm @@ -345,6 +345,28 @@ path = /obj/item/clothing/under/rank/cargo/tech/delivery allowed_roles = list("Quartermaster", "Cargo Technician") +/datum/gear/uniform/overalls + main_typepath = /datum/gear/uniform/overalls + +/datum/gear/uniform/overalls/job + main_typepath = /datum/gear/uniform/overalls/job + subtype_selection_cost = FALSE + +/datum/gear/uniform/overalls/job/janitor + display_name = "Overalls, janitor" + path = /obj/item/clothing/under/rank/civilian/janitor/overalls + allowed_roles = list("Janitor") + +/datum/gear/uniform/overalls/job/cargo + display_name = "Overalls, cargo tech" + path = /obj/item/clothing/under/rank/cargo/tech/overalls + allowed_roles = list("Quartermaster", "Cargo Technician") + +/datum/gear/uniform/overalls/job/expedition + display_name = "Overalls, expedition" + path = /obj/item/clothing/under/rank/cargo/expedition/overalls + allowed_roles = list("Quartermaster", "Explorer") + /datum/gear/uniform/sec main_typepath = /datum/gear/uniform/sec