Add modification, ammunition, and spare vehicle actions

Include modification, weapon, and spare vehicle prices, omitting zero
prices. Recalculate modification research and ranks and handle research
target selection, purchases, bulk purchases, and equipment toggles.
This commit is contained in:
N0VAN0M4LY committed 2026-11-24 21:43:35 +08:00
1 parent 56731efa76
commit 8692a13577
18 files changed
+742 -23

No files matched your search

@@ -10,3 +10,8 @@ export function intParam(payload: BlkBlock, name: string): number | undefined {
const value = findParam(payload, name)?.value;
return value?.type === 'int' ? value.value : undefined;
}
export function boolParam(payload: BlkBlock, name: string): boolean | undefined {
const value = findParam(payload, name)?.value;
return value?.type === 'bool' ? value.value : undefined;
}