feat: crew

This commit is contained in:
TrèsAbhi committed 2024-01-26 21:31:59 -06:00
1 parent 94cf7ebea8
commit 66cb197b53
10 files changed
+84 -15

No files matched your search

+1 -1
View File
@@ -358,7 +358,7 @@ export async function definitions(production: boolean) {
stringsCache[tank.userString],
name_full: strings[tank.userString] ?? stringsCache[tank.userString],
nation,
tree_type: (tank.sellPrice ? 'gold' in tank.sellPrice : false)
tree_type: tankTags.includes('collectible')
? 'collector'
: (typeof tank.price === 'number' ? false : 'gold' in tank.price)
? 'premium'