feat: some more stuff

This commit is contained in:
tresabhi committed 2024-12-01 20:23:23 -06:00
1 parent d7e556e136
commit 7a3bdd8f35
7 files changed
+58 -25

No files matched your search

@@ -11,6 +11,7 @@ import type { ExternalModuleVariant } from '../components/Armor/components/Space
import type { XP_MULTIPLIERS } from '../components/Tankopedia/TechTreeSection';
import { awaitableSkillDefinitions } from '../core/awaitables/skillDefinitions';
import { createContextualStore } from '../core/zustand/createContextualStore';
import { TankopediaDisplay } from './tankopediaPersistent/constants';
export interface ShotLayerBase {
index: number;
@@ -100,6 +101,7 @@ interface TankopediaEphemeral {
);
xpMultiplier: (typeof XP_MULTIPLIERS)[number];
customShell?: ShellDefinition;
display: TankopediaDisplay;
}
const skillDefinitions = await awaitableSkillDefinitions;
@@ -114,6 +116,7 @@ export const TankopediaEphemeral = createContextualStore(
model,
controlsEnabled: true,
xpMultiplier: 1,
display: TankopediaDisplay.Model,
})),
);
},