Skip to content

Commit

Permalink
[MODULAR] Fixes loadout item duplicate items bug (#25746)
Browse files Browse the repository at this point in the history
Fixes loadout item duplicate items bug
  • Loading branch information
vinylspiders authored and FFMirrorBot committed Dec 20, 2023
1 parent e99b3fc commit f68e7ac
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/LoadoutManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f68e7ac

Please sign in to comment.