feat: class, type and nation

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
TrèsAbhiandCopilot committed 2026-04-29 15:17:59 -05:00
1 parent 76dc9f0742
commit 0442c789f1
2 files changed
+76 -18

No files matched your search

@@ -50,6 +50,24 @@ export const characteristicsOrder: CharacteristicsOrder = [
return gameStrings[output as string];
},
},
{
name: "class",
render({ output, strings }) {
return strings.classes.full[output as TankClass];
},
},
{
name: "type",
render({ output, strings }) {
return strings.types[output as TankType];
},
},
{
name: "nation",
render({ output, strings }) {
return strings.nations[output as Nation];
},
},
{
name: "tier",
render({ output, strings }) {
@@ -62,24 +80,6 @@ export const characteristicsOrder: CharacteristicsOrder = [
return strings.tiers[name as keyof typeof strings.tiers];
},
},
{
name: "nation",
render({ output }) {
return Nation[output as Nation];
},
},
{
name: "class",
render({ output }) {
return TankClass[output as TankClass];
},
},
{
name: "type",
render({ output }) {
return TankType[output as TankType];
},
},
{ name: "compensation" },
{ name: "id" },
{ name: "slug" },