Skip to content

Commit

Permalink
Gloves now show up in the loadout preview. (#3215)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## 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.
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## 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.
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
fix: Gloves now show up in the loadout preview.
add: Brown gloves were added to the loadout.
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
Sadhorizon authored Aug 25, 2024
1 parent c73777f commit c4671f2
Showing 1 changed file with 32 additions and 21 deletions.
53 changes: 32 additions & 21 deletions code/modules/client/loadout/loadout_accessories.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit c4671f2

Please sign in to comment.