Merge pull request #3150 from CHOMPStationBot/upstream-merge-11715

[MIRROR] neck gaiters, take two
This commit is contained in:
Nadyr
2021-10-27 20:47:26 -04:00
committed by GitHub
6 changed files with 40 additions and 0 deletions
@@ -38,3 +38,16 @@
/datum/gear/mask/emotionalmask
display_name = "emotional mask"
path = /obj/item/clothing/mask/emotions
/datum/gear/mask/gaiter
display_name = "neck gaiter selection"
path = /obj/item/clothing/mask/gaiter
cost = 1
/datum/gear/mask/gaiter/New()
..()
var/list/gaiters = list()
for(var/gaiter in typesof(/obj/item/clothing/mask/gaiter))
var/obj/item/clothing/mask/gaiter_type = gaiter
gaiters[initial(gaiter_type.name)] = gaiter_type
gear_tweaks += new/datum/gear_tweak/path(sortTim(gaiters, /proc/cmp_text_asc))