feat(patcher,server): wire ground AI tuning, bot weights, and pack build

Add ground-ai.jsonc tuning validation, realistic tank class weights for
customBots pools, on-demand game.vromfs.bin / ailist.blk injection in
@wto/patcher, and launcher/CLI build integration while keeping all
ground AI layers disabled by default in shipped configuration.
This commit is contained in:
N0VAN0M4LY committed 2026-12-03 12:07:30 +08:00
1 parent 18637cf1ff
commit 4ac3484f56
17 files changed
+836 -75

No files matched your search

+3
View File
@@ -14,6 +14,7 @@ import { readResearchTuning, type ResearchTuning } from '../research/research-tu
import { readRedeemTuning, type RedeemTuning } from '../store/redeem-tuning.ts';
import { readStoreTuning, type StoreTuning } from '../store/store-tuning.ts';
import type { DiscoveredMod } from '@wto/mods';
import { readGroundAiTuning, type GroundAiTuning } from './ground-ai-tuning.ts';
import { readLimitsTuning, type LimitsTuning } from './limits-tuning.ts';
import { tuningFiles } from './tuning-loader.ts';
@@ -29,6 +30,7 @@ export interface Tuning {
readonly clans: ClanTuning;
readonly battle: BattleTuning;
readonly battleEconomy: BattleEconomyTuning;
readonly groundAi: GroundAiTuning;
readonly limits: LimitsTuning;
}
@@ -50,6 +52,7 @@ export function loadTuning(
clans: readClanTuning(files.read('clans')),
battle: readBattleTuning(files.read('battle')),
battleEconomy: readBattleEconomyTuning(files.read('battle-economy')),
groundAi: readGroundAiTuning(files.read('ground-ai')),
limits: readLimitsTuning(files.read('limits')),
};
}