fix: some linting for new proto 5

This commit is contained in:
TrèsAbhi committed 2024-10-05 23:20:04 -05:00
1 parent 53a9c5f2de
commit 96310a9d63
40 files changed
+409 -367

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { type ShellDefinition, ShellType } from '@blitzkit/core';
export function canSplash(type: ShellDefinition['type']): type is ShellType.HE {
return type === ShellType.SHELL_TYPE_HE;
return type === ShellType.HE;
}
+12 -11
View File
@@ -1,15 +1,16 @@
import { Vector3Tuple } from 'three';
import { Tier } from '../blitzkit';
import { Tier } from '../protos';
export const equipmentPriceMatrix: Record<Tier, Vector3Tuple> = {
1: [100, 200, 300],
2: [200, 300, 400],
3: [400, 500, 600],
4: [4000, 5000, 6000],
5: [40_000, 50_000, 60_000],
6: [100_000, 120_000, 140_000],
7: [150_000, 170_000, 190_000],
8: [200_000, 225_000, 250_000],
9: [250_000, 275_000, 300_000],
10: [300_000, 350_000, 400_000],
[Tier.I]: [100, 200, 300],
[Tier.II]: [200, 300, 400],
[Tier.III]: [400, 500, 600],
[Tier.IV]: [4000, 5000, 6000],
[Tier.V]: [40_000, 50_000, 60_000],
[Tier.VI]: [100_000, 120_000, 140_000],
[Tier.VII]: [150_000, 170_000, 190_000],
[Tier.VIII]: [200_000, 225_000, 250_000],
[Tier.IX]: [250_000, 275_000, 300_000],
[Tier.X]: [300_000, 350_000, 400_000],
[Tier.UNRECOGNIZED]: [0, 0, 0],
};