From 5aed209ea670255b67fd38885757e3662dd48316 Mon Sep 17 00:00:00 2001 From: Sadhorizon <108196626+Sadhorizon@users.noreply.github.com> Date: Sun, 25 Aug 2024 17:56:25 +0200 Subject: [PATCH] Gloves now show up in the loadout preview. (#3215) ## About The Pull Request If you select gloves in the loadout, they now show up on your character. Code-wise, this seperates gloves into a new category. Oh and also, adds brown gloves to the loadout. ## Why It's Good For The Game It's nice to see what your character is meant to be wearing. Brown gloves were added because they can totally fit with some drip, while not being bright and flashy, unlike some other gloves. ## Changelog :cl: fix: Gloves now show up in the loadout preview. add: Brown gloves were added to the loadout. /:cl: --- .../client/loadout/loadout_accessories.dm | 53 +++++++++++-------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/code/modules/client/loadout/loadout_accessories.dm b/code/modules/client/loadout/loadout_accessories.dm index c1e4d7a088a81..8c3ebe739c536 100644 --- a/code/modules/client/loadout/loadout_accessories.dm +++ b/code/modules/client/loadout/loadout_accessories.dm @@ -50,7 +50,39 @@ display_name = "tie, recolorable" path = /obj/item/clothing/neck/tie +//Gloves + +/datum/gear/accessory/gloves + subtype_path = /datum/gear/accessory/gloves + slot = ITEM_SLOT_GLOVES + +/datum/gear/accessory/gloves/black + display_name = "gloves, black" + description = "Standard hand coverings for everyday use." + path = /obj/item/clothing/gloves/color/black + +/datum/gear/accessory/gloves/white + display_name = "gloves, white" + description = "Standard hand coverings for everyday use." + path = /obj/item/clothing/gloves/color/white + +/datum/gear/accessory/gloves/brown + display_name = "gloves, brown" + description = "Standard hand coverings for everyday use." + path = /obj/item/clothing/gloves/color/brown + +/datum/gear/accessory/gloves/fingerless + display_name = "gloves, fingerless" + description = "Radical hand coverings for everyday use." + path = /obj/item/clothing/gloves/fingerless + +/datum/gear/accessory/gloves/evening + display_name = "gloves, evening" + description = "Excessively fancy elbow-length gloves." + path = /obj/item/clothing/gloves/color/evening + //Bone + /datum/gear/accessory/fangnecklace display_name = "wolf fang necklace" path = /obj/item/clothing/neck/fangnecklace @@ -71,24 +103,3 @@ display_name = "stethoscope" path = /obj/item/clothing/neck/stethoscope allowed_roles = list("Medical Doctor", "Chief Medical Officer") - -/datum/gear/accessory/gloves/black - display_name = "black gloves" - description = "Standard hand coverings for everyday use." - path = /obj/item/clothing/gloves/color/black - -/datum/gear/accessory/gloves/white - display_name = "white gloves" - description = "Standard hand coverings for everyday use." - path = /obj/item/clothing/gloves/color/white - -/datum/gear/accessory/gloves/fingerless - display_name = "fingerless gloves" - description = "Radical hand coverings for everyday use." - path = /obj/item/clothing/gloves/fingerless - -/datum/gear/accessory/gloves/evening - display_name = "evening gloves" - description = "Excessively fancy elbow-length gloves." - path = /obj/item/clothing/gloves/color/evening - slot = ITEM_SLOT_GLOVES