This commit is contained in:
tresabhi committed 2026-11-18 22:31:10 -06:00
1 parent 08df0001ed
commit 8cf000cbe6
12 files changed
+265 -42

No files matched your search

@@ -102,6 +102,8 @@ interface Tankopedia {
showControls: boolean;
animate: boolean;
tab: TankopediaTab;
protagonist: TankState;
antagonist: TankState;
environment: TankEnvironment;
@@ -125,6 +127,11 @@ interface Tankopedia {
// statSearch?: string;
}
export enum TankopediaTab {
Sandbox = "sandbox",
Loadout = "loadout",
}
const skills = await api.skills();
export const Tankopedia = new Soapstone<Tankopedia, [TankDefinition]>(
@@ -134,6 +141,8 @@ export const Tankopedia = new Soapstone<Tankopedia, [TankDefinition]>(
showControls: false,
animate: true,
tab: TankopediaTab.Sandbox,
protagonist: createTankState(tank),
antagonist: createTankState(tank),
environment: createDefaultEnvironment(skills),