createTankStatus

This commit is contained in:
tresabhi committed 2026-09-23 10:22:57 -05:00
1 parent 4e470599e8
commit e911f36ea3
6 files changed
+85 -343

No files matched your search

+2 -27
View File
@@ -2,7 +2,6 @@ import {
createDefaultSkills,
ShellDefinition,
TankDefinition,
type ModelDefinition,
} from "@blitzkit/core";
import type { Vector3 } from "three";
import { Varuna } from "varuna";
@@ -10,10 +9,8 @@ import { api } from "../blitzkit/api";
import type { ArmorType } from "../components/Armor/components/SpacedArmorScene";
import type { ExternalModuleVariant } from "../components/Armor/components/SpacedArmorSceneComponent";
import type { XP_MULTIPLIERS } from "../components/Tankopedia/TechTreeSection";
import {
createTankState,
type EquipmentMatrix,
} from "../tankopedia/createTankState";
import { createTankState } from "../tankopedia/createTankState";
import type { TankState } from "../tankopedia/tankState";
import { TankopediaDisplay } from "./tankopediaPersistent/constants";
export interface ShotLayerBase {
@@ -81,28 +78,6 @@ export enum TankopediaRelativeAgainst {
All,
}
export interface TankState {
tank: number;
engine: number;
turret: number;
gun: number;
shell: number;
track: number;
assault_distance: number;
speed: number;
model: ModelDefinition;
equipment_matrix: EquipmentMatrix;
consumables: number[];
provisions: number[];
camouflage: boolean;
cooldown_booster: number;
}
interface Tankopedia {
disturbed: boolean;
revealed: boolean;