[MODULAR] Fixes loadout item duplicate items bug (#25746)

Fixes loadout item duplicate items bug
This commit is contained in:
Bloop
2023-12-20 13:11:59 -05:00
committed by GitHub
parent 9d210cbea6
commit 9e4bf0561a
5 changed files with 5 additions and 11 deletions
@@ -13,12 +13,6 @@
item_path = /obj/item/canvas/drawingtablet
ckeywhitelist = list("thedragmeme")
/datum/loadout_item/shoes/heeled_jackboots
name = "High-heel Jackboots"
item_path = /obj/item/clothing/shoes/jackboots/heel
// ckeywhitelist = list("thedragmeme")
//As they requested, it's properly public now.
/datum/loadout_item/suit/furcoat
name = "Leather coat with fur"
item_path = /obj/item/clothing/suit/furcoat
@@ -144,7 +144,7 @@ GLOBAL_LIST_INIT(loadout_glasses, generate_loadout_items(/datum/loadout_item/gla
*/
/datum/loadout_item/glasses/medicpatch
name = "Medical Eyepatch"
name = "Medical Eyepatch (Skyrat)"
item_path = /obj/item/clothing/glasses/hud/eyepatch/med
restricted_roles = list(JOB_MEDICAL_DOCTOR, JOB_CHIEF_MEDICAL_OFFICER, JOB_GENETICIST, JOB_CHEMIST, JOB_VIROLOGIST, JOB_PARAMEDIC, JOB_ORDERLY, JOB_CORONER)
@@ -49,7 +49,7 @@ GLOBAL_LIST_INIT(loadout_exosuits, generate_loadout_items(/datum/loadout_item/su
item_path = /obj/item/clothing/suit/koreacoat
/datum/loadout_item/suit/czech
name = "Modern Winter Coat"
name = "Czech Winter Coat"
item_path = /obj/item/clothing/suit/modernwintercoatthing
/datum/loadout_item/suit/mantella
@@ -145,7 +145,7 @@ GLOBAL_LIST_INIT(loadout_miscunders, generate_loadout_items(/datum/loadout_item/
restricted_roles = list(JOB_PARAMEDIC)
/datum/loadout_item/under/jumpsuit/paramed_light_skirt
name = "Light Paramedic Uniform"
name = "Light Paramedic Skirt"
item_path = /obj/item/clothing/under/rank/medical/paramedic/skyrat/light/skirt
restricted_roles = list(JOB_PARAMEDIC)
@@ -387,7 +387,7 @@ GLOBAL_LIST_INIT(loadout_miscunders, generate_loadout_items(/datum/loadout_item/
item_path = /obj/item/clothing/under/dress/skirt/skyrat/red_skirt
/datum/loadout_item/under/miscellaneous/black_skirt
name = "Black Skirt"
name = "Black Skirt (Skyrat)"
item_path = /obj/item/clothing/under/dress/skirt/skyrat/black_skirt
/datum/loadout_item/under/miscellaneous/swept_skirt
@@ -94,7 +94,7 @@ export const LoadoutManager = (props) => {
>
<Stack grow vertical>
{selectedTab.contents.map((item) => (
<Stack.Item key={item.name}>
<Stack.Item key={item.path}>
<Stack fontSize="15px">
<Stack.Item grow align="left">
{item.name}