diff --git a/src/commands/research.tsx b/src/commands/research.tsx index 43dc84788..33425945a 100644 --- a/src/commands/research.tsx +++ b/src/commands/research.tsx @@ -285,8 +285,9 @@ export const researchCommand = new Promise((resolve) => { color: theme.colors.textHighContrast, }} > + Experience:{' '} {costs - .reduce((a, b) => a + b.purchase + b.equipment, 0) + .reduce((a, b) => a + (b.research ?? 0) + b.upgrades, 0) .toLocaleString(interaction.locale)} @@ -309,8 +310,34 @@ export const researchCommand = new Promise((resolve) => { color: theme.colors.textHighContrast, }} > + Purchase:{' '} {costs - .reduce((a, b) => a + (b.research ?? 0) + b.upgrades, 0) + .reduce((a, b) => a + b.purchase, 0) + .toLocaleString(interaction.locale)} + + + +
+ + + Equipment:{' '} + {costs + .reduce((a, b) => a + b.equipment, 0) .toLocaleString(interaction.locale)}