feat: consumable max

This commit is contained in:
TrèsAbhi committed 2024-01-25 12:20:34 -06:00
1 parent ad1ad80026
commit cbe7b42fb8
7 files changed
+65 -44

No files matched your search

-1
View File
@@ -3,6 +3,5 @@ import { parse } from 'yaml';
export async function readYAML<Type>(file: string) {
const yaml = (await readFile(file)).toString();
return parse(yaml) as Type;
}
+1
View File
@@ -19,6 +19,7 @@ export interface TankDefinition {
name: string;
name_full?: string;
tree_type: TreeTypeString;
consumables: number;
tier: Tier;
type: TankType;
testing?: boolean;