From a88c4ed7092a87e1a57a90ea32c1a9d035593ab3 Mon Sep 17 00:00:00 2001 From: Alberyk Date: Wed, 2 Dec 2020 17:38:09 -0300 Subject: [PATCH] Removes the component pouch from the loadout (#10702) --- .../preference_setup/loadout/loadout_utility.dm | 15 +++++++++++---- html/changelogs/alberyk-fannypackfix.yml | 6 ++++++ 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/alberyk-fannypackfix.yml diff --git a/code/modules/client/preference_setup/loadout/loadout_utility.dm b/code/modules/client/preference_setup/loadout/loadout_utility.dm index 99856f93f7a..8ab7cc9796b 100644 --- a/code/modules/client/preference_setup/loadout/loadout_utility.dm +++ b/code/modules/client/preference_setup/loadout/loadout_utility.dm @@ -100,10 +100,17 @@ /datum/gear/utility/fannypack/New() ..() var/list/fannys = list() - for(var/fanny in typesof(/obj/item/storage/belt/fannypack)) - var/obj/item/storage/belt/fannypack/fanny_type = fanny - fannys[initial(fanny_type.name)] = fanny_type - gear_tweaks += new/datum/gear_tweak/path(sortAssoc(fannys)) + fannys["leather fannypack"] = /obj/item/storage/belt/fannypack + fannys["black fannypack"] = /obj/item/storage/belt/fannypack/black + fannys["blue fannypack"] = /obj/item/storage/belt/fannypack/blue + fannys["cyan fannypack"] = /obj/item/storage/belt/fannypack/cyan + fannys["green fannypack"] = /obj/item/storage/belt/fannypack/green + fannys["orange fannypack"] = /obj/item/storage/belt/fannypack/orange + fannys["purple fannypack"] = /obj/item/storage/belt/fannypack/purple + fannys["red fannypack"] = /obj/item/storage/belt/fannypack/red + fannys["white fannypack"] = /obj/item/storage/belt/fannypack/white + fannys["yellow fannypack"] = /obj/item/storage/belt/fannypack/yellow + gear_tweaks += new/datum/gear_tweak/path(fannys) /datum/gear/utility/toolbelt_alt display_name = "tool-belt, alt" diff --git a/html/changelogs/alberyk-fannypackfix.yml b/html/changelogs/alberyk-fannypackfix.yml new file mode 100644 index 00000000000..4388fc0fe14 --- /dev/null +++ b/html/changelogs/alberyk-fannypackfix.yml @@ -0,0 +1,6 @@ +author: Alberyk + +delete-after: True + +changes: + - bugfix: "Removed the component pouch from the loadout."