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;
|
2025-12-19 15:04:35 -06:00
|
|
|
units?: string;
|
2025-12-18 16:29:13 -06:00
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
toy: string;
|
|
|
|
|
}
|
|
|
|
|
)[];
|
2025-12-18 15:30:18 -06:00
|
|
|
}[];
|
|
|
|
|
|
2025-12-18 21:29:10 -06:00
|
|
|
export const characteristicsGroups: CharacteristicsOrder = [
|
2025-12-18 15:30:18 -06:00
|
|
|
{
|
|
|
|
|
group: "firepower",
|
2025-12-18 16:12:01 -06:00
|
|
|
order: [
|
|
|
|
|
{ name: "gun_type" },
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "dpm", decimals: 0, units: "hp_min" },
|
|
|
|
|
{ name: "damage", units: "hp" },
|
|
|
|
|
{ name: "module_damage", units: "hp" },
|
|
|
|
|
{ name: "penetration", units: "mm" },
|
2025-12-19 14:51:18 -06:00
|
|
|
{ name: "clip_size" },
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "reload", decimals: 2, units: "s" },
|
|
|
|
|
{ name: "intra_clip", decimals: 2, units: "s" },
|
2025-12-18 16:29:13 -06:00
|
|
|
|
|
|
|
|
{ toy: "reload" },
|
|
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "caliber", units: "mm" },
|
|
|
|
|
{ name: "normalization", units: "deg" },
|
|
|
|
|
{ name: "ricochet", units: "deg" },
|
2025-12-18 16:29:13 -06:00
|
|
|
|
|
|
|
|
{ toy: "ricochet" },
|
|
|
|
|
|
2025-12-19 15:09:46 -06:00
|
|
|
{ name: "shell_velocity", units: "m_s" },
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "shell_range", units: "m" },
|
2025-12-18 16:29:13 -06:00
|
|
|
{ name: "shell_capacity" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "aim_time", units: "s" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
2025-12-19 15:09:46 -06:00
|
|
|
{ toy: "aim_time" },
|
|
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "dispersion_still", units: "m" },
|
|
|
|
|
{ name: "dispersion_moving", units: "m" },
|
|
|
|
|
{ name: "dispersion_hull_traversing", units: "m" },
|
|
|
|
|
{ name: "dispersion_turret_traversing", units: "m" },
|
|
|
|
|
{ name: "dispersion_shooting", units: "m" },
|
|
|
|
|
{ name: "dispersion_gun_damaged", units: "m" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "gun_depression", units: "deg" },
|
|
|
|
|
{ name: "gun_elevation", units: "deg" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
|
|
|
|
{ toy: "flexibility" },
|
2025-12-18 16:12:01 -06:00
|
|
|
],
|
2025-12-18 15:30:18 -06:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
group: "maneuverability",
|
2025-12-18 21:29:10 -06:00
|
|
|
order: [
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "speed_forward", units: "km_h" },
|
|
|
|
|
{ name: "speed_backward", units: "km_h" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "engine_power", units: "bhp" },
|
|
|
|
|
{ name: "weight", units: "t" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
|
|
|
|
{ name: "terrain_coefficient_hard" },
|
|
|
|
|
{ name: "terrain_coefficient_medium" },
|
|
|
|
|
{ name: "terrain_coefficient_soft" },
|
|
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "power_to_weight_hard", units: "bhp_t" },
|
|
|
|
|
{ name: "power_to_weight_medium", units: "bhp_t" },
|
|
|
|
|
{ name: "power_to_weight_soft", units: "bhp_t" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "turret_traverse_speed", units: "deg_s" },
|
|
|
|
|
{ name: "hull_traverse_speed_hard", units: "deg_s" },
|
|
|
|
|
{ name: "hull_traverse_speed_medium", units: "deg_s" },
|
|
|
|
|
{ name: "hull_traverse_speed_soft", units: "deg_s" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
|
|
|
|
{ toy: "traverse" },
|
|
|
|
|
],
|
2025-12-18 15:30:18 -06:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
group: "survivability",
|
2025-12-18 21:29:10 -06:00
|
|
|
order: [
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "health", units: "hp" },
|
|
|
|
|
{ name: "fire_chance", units: "%" },
|
|
|
|
|
{ name: "view_range", units: "m" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
|
|
|
|
{ toy: "view_range" },
|
|
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "camouflage_still", units: "%" },
|
|
|
|
|
{ name: "camouflage_moving", units: "%" },
|
|
|
|
|
{ name: "camouflage_shooting_still", units: "%" },
|
|
|
|
|
{ name: "camouflage_shooting_moving", units: "%" },
|
|
|
|
|
{ name: "camouflage_on_fire", units: "%" },
|
2025-12-18 21:29:10 -06:00
|
|
|
|
2025-12-19 15:04:35 -06:00
|
|
|
{ name: "height", units: "m" },
|
|
|
|
|
{ name: "length", units: "m" },
|
|
|
|
|
{ name: "volume", units: "m" },
|
2025-12-18 21:29:10 -06:00
|
|
|
],
|
2025-12-18 15:30:18 -06:00
|
|
|
},
|
2025-12-18 21:29:10 -06:00
|
|
|
];
|