diff --git a/src/classes/AbilityFull.tsx b/src/classes/AbilityFull.tsx
index 5b46361..921baf2 100644
--- a/src/classes/AbilityFull.tsx
+++ b/src/classes/AbilityFull.tsx
@@ -399,7 +399,7 @@ export default function AbilityFull(props: { abilityId?: number, mod: IMod, race
}
- {props.isChild !== true && ability.activation !== "Passive ability" && Hotkey: {ability.hotkey}}
+ {props.isChild !== true && ability.activation !== "Passive ability" && Hotkey: {ability.hotkey} {ability.filename && Filename: {ability.filename}}}
)
} else return
loading...
;
diff --git a/src/classes/Sergeant.tsx b/src/classes/Sergeant.tsx
index 1ef52c1..268ad13 100644
--- a/src/classes/Sergeant.tsx
+++ b/src/classes/Sergeant.tsx
@@ -196,7 +196,7 @@ const Sergeant = (props: SergeantProps) => {
- Hotkey: {sergeant.hotkey}
+ Hotkey: {sergeant.hotkey} Filename: {sergeant.filename}
)
};
diff --git a/src/classes/WeaponFull.tsx b/src/classes/WeaponFull.tsx
index 2317524..8ae3915 100644
--- a/src/classes/WeaponFull.tsx
+++ b/src/classes/WeaponFull.tsx
@@ -1,11 +1,10 @@
import React, {useEffect, useState} from "react";
import {useTheme} from "@mui/material/styles";
import useMediaQuery from "@mui/material/useMediaQuery";
-import {AvailableBuildings, AvailableUnits, UserUrl, WeaponUrl} from "../core/api";
+import {WeaponUrl} from "../core/api";
import {IWeapon} from "../types/IUnit";
import ArmorTypeNames from "../types/ArmorTypeValues";
import {
- AccordionDetails,
Grid2,
Table,
TableBody,
@@ -18,8 +17,6 @@ import Required from "./Required";
import {AffectedResearches} from "./building/Research";
import {IMod} from "../types/Imod";
import {Irace} from "../types/Irace";
-import {IRaceUnits} from "../types/IUnitShort";
-import {IRaceBuildings} from "../types/IBuildingShort";
import {ModifiersProvidesTable} from "./ModifiersProvideTable";
import {StyledPaper} from "../commons/StyledPaper";
import {StyledTableCell} from "../commons/StyledTableCell";
@@ -454,7 +451,8 @@ export default function WeaponFull(props: {weaponId: number, isDefault: Boolean,
- {!props.isDefault && props.haveReinforceMenu && Hotkey: {weapon.hotkey}}
+ {!props.isDefault && props.haveReinforceMenu && Hotkey: {weapon.hotkey} }
+ Filename: {weapon.filename}
)
} else return loading...
;
diff --git a/src/classes/building/BuildingAddon.tsx b/src/classes/building/BuildingAddon.tsx
index a68d553..0cd6924 100644
--- a/src/classes/building/BuildingAddon.tsx
+++ b/src/classes/building/BuildingAddon.tsx
@@ -99,7 +99,7 @@ function BuildingAddon(props: IBuildingAddonProps){
}
- Hotkey: {addon.hotkey}
+ Hotkey: {addon.hotkey} Filename: {addon.filename}
}
diff --git a/src/classes/building/ResearchFull.tsx b/src/classes/building/ResearchFull.tsx
index 0ed7fa4..91a7bee 100644
--- a/src/classes/building/ResearchFull.tsx
+++ b/src/classes/building/ResearchFull.tsx
@@ -106,7 +106,7 @@ function ResearchFull(props: { id: number, building: IBuilding }){
}
- Hotkey: {research.hotkey}
+ Hotkey: {research.hotkey} Filename: {research.filename}
} else return loading...
}
diff --git a/src/pages/BuildingPage.tsx b/src/pages/BuildingPage.tsx
index 71e594e..40f23a9 100644
--- a/src/pages/BuildingPage.tsx
+++ b/src/pages/BuildingPage.tsx
@@ -290,7 +290,7 @@ function Building(building: IBuilding, mod: IMod, theme: Theme) {
- Hotkey: {building.hotkey}
+ Hotkey: {building.hotkey} Filename: {building.filename}
diff --git a/src/pages/UnitPage.tsx b/src/pages/UnitPage.tsx
index 2096899..8a5e4d7 100644
--- a/src/pages/UnitPage.tsx
+++ b/src/pages/UnitPage.tsx
@@ -377,7 +377,7 @@ function Unit(unit: IUnit, mod: IMod, theme: Theme) {
- Hotkey: {unit.hotkey}
+ Hotkey: {unit.hotkey} Filename: {unit.filename}