2025-12-18 15:30:18 -06:00
|
|
|
import type { CharacteristicName } from "./characteristics";
|
|
|
|
|
|
2025-12-18 16:12:01 -06:00
|
|
|
export enum BetterDirection {
|
|
|
|
|
Higher,
|
|
|
|
|
Lower,
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-18 15:30:18 -06:00
|
|
|
type CharacteristicsOrder = {
|
|
|
|
|
group: string;
|
2025-12-18 16:29:13 -06:00
|
|
|
order: (
|
|
|
|
|
| {
|
|
|
|
|
name: CharacteristicName;
|
|
|
|
|
decimals?: number;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
toy: string;
|
|
|
|
|
}
|
|
|
|
|
)[];
|
2025-12-18 15:30:18 -06:00
|
|
|
}[];
|
|
|
|
|
|
|
|
|
|
export const characteristicsGroups = [
|
|
|
|
|
{
|
|
|
|
|
group: "firepower",
|
2025-12-18 16:12:01 -06:00
|
|
|
order: [
|
|
|
|
|
{ name: "gun_type" },
|
|
|
|
|
{ name: "dpm", decimals: 0 },
|
|
|
|
|
{ name: "damage" },
|
|
|
|
|
{ name: "module_damage" },
|
|
|
|
|
{ name: "penetration" },
|
2025-12-18 16:29:13 -06:00
|
|
|
{ name: "reload" },
|
|
|
|
|
|
|
|
|
|
{ toy: "reload" },
|
|
|
|
|
|
|
|
|
|
{ name: "caliber" },
|
|
|
|
|
{ name: "normalization" },
|
|
|
|
|
{ name: "ricochet" },
|
|
|
|
|
|
|
|
|
|
{ toy: "ricochet" },
|
|
|
|
|
|
|
|
|
|
{ name: "shell_velocity" },
|
|
|
|
|
{ name: "shell_range" },
|
|
|
|
|
{ name: "shell_capacity" },
|
2025-12-18 17:00:06 -06:00
|
|
|
{ name: "aim_time" },
|
2025-12-18 16:12:01 -06:00
|
|
|
],
|
2025-12-18 15:30:18 -06:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
group: "maneuverability",
|
|
|
|
|
order: [],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
group: "survivability",
|
|
|
|
|
order: [],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
group: "miscellaneous",
|
|
|
|
|
order: [],
|
|
|
|
|
},
|
|
|
|
|
] satisfies CharacteristicsOrder;
|