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:
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;
|
||||
}
|
||||
Reference in new issue
Block a user