mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: gamemode definitions
This commit is contained in:
1 parent
97b251e3a3
commit
643c7272ca
2 files changed
+2
No files matched your search
@@ -680,6 +680,7 @@ export async function definitions(production: boolean) {
|
||||
|
||||
tankDefinitions[tankId] = {
|
||||
id: tankId,
|
||||
roles: tank.combatRole ?? {},
|
||||
camouflages: camouflages.length === 0 ? undefined : camouflages,
|
||||
description:
|
||||
wargamingTankopedia.data[tankId]?.description ?? undefined,
|
||||
|
||||
@@ -40,6 +40,7 @@ export type ModuleDefinition =
|
||||
| GunDefinition;
|
||||
export interface TankDefinition {
|
||||
id: number;
|
||||
roles: Record<string, string>;
|
||||
description?: string;
|
||||
fixedCamouflage?: boolean;
|
||||
camouflages?: number[];
|
||||
|
||||
Reference in new issue
Block a user