merge(ground-ai): merge feat/tank-ai phase 1 into main

This commit is contained in:
N0VAN0M4LY committed 2026-12-04 02:50:48 +08:00
commit 0af4183cb1
58 files changed
+6900 -84

No files matched your search

@@ -19,6 +19,8 @@ export interface ResourcePaths {
readonly appIcon: string;
/** Bundled example mod templates seeded into an empty mods folder on first use. */
readonly modTemplates: string;
/** Modular ground AI daScript sources injected into `game.vromfs.bin` when active. */
readonly groundAiScripts: string;
}
export function resourcePaths(): ResourcePaths {
@@ -35,6 +37,7 @@ export function bundledResourcePaths(): ResourcePaths {
networkHookLibrary: join(process.resourcesPath, 'native', 'wto_ws.dll'),
appIcon: join(process.resourcesPath, 'icon.ico'),
modTemplates: join(process.resourcesPath, 'mod-templates'),
groundAiScripts: join(process.resourcesPath, 'game-ai', 'ground'),
};
}
// The app path is apps/launcher; the repository is two levels up.
@@ -44,6 +47,7 @@ export function bundledResourcePaths(): ResourcePaths {
networkHookLibrary: join(repository, 'build', 'native', 'wto_ws.dll'),
appIcon: join(repository, 'apps', 'launcher', 'resources', 'icon.ico'),
modTemplates: join(repository, 'mod-dev-docs', 'templates'),
groundAiScripts: join(repository, 'game-ai', 'ground'),
};
}