feat: france

This commit is contained in:
TrèsAbhi committed 2024-01-10 18:14:55 -06:00
1 parent 172b410d82
commit cae4836e17
3 files changed
+7 -3

No files matched your search

+3 -1
View File
@@ -20,6 +20,8 @@ export async function buildTankArmors() {
await Promise.all(
nations.map(async (nation) => {
if (nation !== 'france') return;
const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>(
`${DATA}/${DOI.vehicleDefinitions}/${nation}/list.xml.dvpl`,
);
@@ -29,7 +31,7 @@ export async function buildTankArmors() {
const id = toUniqueId(nation, tank.id);
// if (id !== 7297) continue; // 60tp
if (id !== 5137) continue; // tiger ii
// if (id !== 5137) continue; // tiger ii
// if (id !== 24609) continue; // concept 1b
console.log(`Building armor ${id} @ ${nation}/${tankKey}`);
+3 -1
View File
@@ -27,6 +27,8 @@ export async function buildTankModels() {
await Promise.all(
nations.map(async (nation) => {
if (nation !== 'france') return;
const tanks = await readXMLDVPL<{ root: VehicleDefinitionList }>(
`${DATA}/${DOI.vehicleDefinitions}/${nation}/list.xml.dvpl`,
);
@@ -52,7 +54,7 @@ export async function buildTankModels() {
// if (id !== 7297) continue; // 60tp
// if (id !== 1) continue; // t-34
// if (id !== 6753) continue; // type 71
if (id !== 5137) continue; // tiger ii
// if (id !== 5137) continue; // tiger ii
// if (id !== 11633) continue; // forest witch
// if (id !== 6225) continue; // fv215b
// if (id !== 4481) continue; // kran
+1 -1
View File
@@ -24,7 +24,7 @@ export default function Page({ params }: { params: { id: string } }) {
draft.model.hullYaw = 0;
draft.model.turretYaw = 0;
draft.model.gunPitch = 0;
draft.mode = 'armor';
draft.mode = 'model';
draft.areTanksAssigned = true;
if (!draft.areTanksAssigned) return;