mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
augment trees, pitch-limit fallback, and cached definitions
This commit is contained in:
57 files changed
+2196
-717
No files matched your search
@@ -68,6 +68,12 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
// ],
|
||||
// },
|
||||
|
||||
{
|
||||
name: "assault_shells",
|
||||
sortable: false,
|
||||
order: [{ toy: "assault_shells", requires: "_assault_distances" }],
|
||||
},
|
||||
|
||||
{
|
||||
name: "gun",
|
||||
// render: CharacteristicsGroupRender.Statistical,
|
||||
@@ -83,45 +89,45 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
{ name: "dpm", decimals: 0, units: "hp", localize: true },
|
||||
{
|
||||
name: "dpm_effective",
|
||||
indent: true,
|
||||
decimals: 0,
|
||||
units: "hp",
|
||||
localize: true,
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "dpm_peekaboo",
|
||||
indent: true,
|
||||
decimals: 0,
|
||||
units: "hp",
|
||||
localize: true,
|
||||
indent: true,
|
||||
},
|
||||
{ name: "damage", decimals: 0, units: "hp", localize: true },
|
||||
{
|
||||
name: "damage_range",
|
||||
indent: true,
|
||||
decimals: 0,
|
||||
units: "hp",
|
||||
localize: true,
|
||||
indent: true,
|
||||
},
|
||||
{ name: "module_damage", decimals: 0, units: "hp", localize: true },
|
||||
{
|
||||
name: "module_damage_range",
|
||||
indent: true,
|
||||
decimals: 0,
|
||||
units: "hp",
|
||||
localize: true,
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "reload",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 1,
|
||||
units: "s",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
},
|
||||
{
|
||||
name: "reloads",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 1,
|
||||
units: "s",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
},
|
||||
|
||||
{ toy: "reload" },
|
||||
@@ -134,12 +140,15 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
order: [
|
||||
{ name: "clipping_potential", localize: true, units: "hp" },
|
||||
{ name: "clip_size" },
|
||||
{ name: "optimal_shell", ranking: CharacteristicRanking.None },
|
||||
{
|
||||
name: "optimal_shell",
|
||||
ranking: CharacteristicRanking.None,
|
||||
},
|
||||
{
|
||||
name: "intra_clip",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 2,
|
||||
units: "s",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
},
|
||||
{ name: "burst_size" },
|
||||
{ name: "intra_burst", decimals: 2, units: "s" },
|
||||
@@ -158,15 +167,15 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
{ name: "penetration", units: "mm" },
|
||||
{
|
||||
name: "penetration_loss_by_distance",
|
||||
units: "percentage",
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
units: "percentage",
|
||||
},
|
||||
{
|
||||
name: "penetration_loss_after_ricochet",
|
||||
units: "percentage",
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
units: "percentage",
|
||||
},
|
||||
{ name: "shell_velocity", units: "m_s" },
|
||||
{ name: "shell_range", units: "m" },
|
||||
@@ -174,19 +183,19 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
{ name: "caliber", units: "mm" },
|
||||
{
|
||||
name: "ricochet",
|
||||
units: "deg",
|
||||
ranking: CharacteristicRanking.None,
|
||||
units: "deg",
|
||||
},
|
||||
{
|
||||
name: "normalization",
|
||||
units: "deg",
|
||||
ranking: CharacteristicRanking.None,
|
||||
units: "deg",
|
||||
},
|
||||
{
|
||||
name: "explosion_radius",
|
||||
ranking: CharacteristicRanking.None,
|
||||
decimals: 2,
|
||||
units: "m",
|
||||
ranking: CharacteristicRanking.None,
|
||||
},
|
||||
|
||||
{ toy: "ricochet" },
|
||||
@@ -199,53 +208,53 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
order: [
|
||||
{
|
||||
name: "aim_time",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 2,
|
||||
units: "s",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
},
|
||||
{
|
||||
name: "dispersion",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 3,
|
||||
units: "m",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
},
|
||||
{ name: "dispersion_angle", decimals: 3, units: "deg" },
|
||||
|
||||
{ label: "dispersion_penalties" },
|
||||
{
|
||||
name: "dispersion_moving",
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
},
|
||||
{
|
||||
name: "dispersion_hull_traversing",
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
},
|
||||
{
|
||||
name: "dispersion_turret_traversing",
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
},
|
||||
{
|
||||
name: "dispersion_shooting",
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 3,
|
||||
units: "plus",
|
||||
},
|
||||
{
|
||||
name: "dispersion_gun_damaged",
|
||||
decimals: 1,
|
||||
units: "x",
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 1,
|
||||
units: "x",
|
||||
},
|
||||
|
||||
// { toy: "aim_time" },
|
||||
@@ -273,15 +282,14 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
name: "maneuverability",
|
||||
// render: CharacteristicsGroupRender.Statistical,
|
||||
order: [
|
||||
{ label: "speeds" },
|
||||
{ name: "speed_forward", units: "km_h", indent: true },
|
||||
{ name: "speed_backward", units: "km_h", indent: true },
|
||||
{ name: "speed_forward", units: "km_h" },
|
||||
{ name: "speed_backward", units: "km_h" },
|
||||
|
||||
{
|
||||
name: "weight",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 1,
|
||||
units: "t",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
},
|
||||
{ name: "engine_power", units: "bhp" },
|
||||
{ name: "power_to_weight", decimals: 1, units: "bhp_t" },
|
||||
@@ -289,54 +297,78 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
{ label: "power_to_weight_on_terrain" },
|
||||
{
|
||||
name: "power_to_weight_hard",
|
||||
indent: true,
|
||||
decimals: 1,
|
||||
units: "bhp_t",
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "power_to_weight_medium",
|
||||
indent: true,
|
||||
decimals: 1,
|
||||
units: "bhp_t",
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "power_to_weight_soft",
|
||||
indent: true,
|
||||
decimals: 1,
|
||||
units: "bhp_t",
|
||||
indent: true,
|
||||
},
|
||||
// { name: "brake_force", decimals: 1, units: "kN" },
|
||||
|
||||
{ label: "hull_traverse_speeds" },
|
||||
{ name: "hull_traverse_speed_hard", units: "deg_s", indent: true },
|
||||
{ name: "hull_traverse_speed_medium", units: "deg_s", indent: true },
|
||||
{ name: "hull_traverse_speed_soft", units: "deg_s", indent: true },
|
||||
{
|
||||
name: "hull_traverse_speed_hard",
|
||||
indent: true,
|
||||
units: "deg_s",
|
||||
},
|
||||
{
|
||||
name: "hull_traverse_speed_medium",
|
||||
indent: true,
|
||||
units: "deg_s",
|
||||
},
|
||||
{
|
||||
name: "hull_traverse_speed_soft",
|
||||
indent: true,
|
||||
units: "deg_s",
|
||||
},
|
||||
{ name: "turret_traverse_speed", units: "deg_s" },
|
||||
{ name: "gun_traverse_speed", units: "deg_s" },
|
||||
|
||||
{ label: "terrain_coefficient" },
|
||||
{ name: "hard_terrain_coefficient", decimals: 0, indent: true },
|
||||
{ name: "medium_terrain_coefficient", decimals: 0, indent: true },
|
||||
{ name: "soft_terrain_coefficient", decimals: 0, indent: true },
|
||||
{
|
||||
name: "hard_terrain_coefficient",
|
||||
indent: true,
|
||||
decimals: 0,
|
||||
},
|
||||
{
|
||||
name: "medium_terrain_coefficient",
|
||||
indent: true,
|
||||
decimals: 0,
|
||||
},
|
||||
{
|
||||
name: "soft_terrain_coefficient",
|
||||
indent: true,
|
||||
decimals: 0,
|
||||
},
|
||||
|
||||
{ label: "raw_terrain_coefficient" },
|
||||
{
|
||||
name: "hard_terrain_coefficient_raw",
|
||||
decimals: 2,
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 2,
|
||||
},
|
||||
{
|
||||
name: "medium_terrain_coefficient_raw",
|
||||
decimals: 2,
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 2,
|
||||
},
|
||||
{
|
||||
name: "soft_terrain_coefficient_raw",
|
||||
decimals: 2,
|
||||
indent: true,
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 2,
|
||||
},
|
||||
|
||||
{ toy: "traverse" },
|
||||
@@ -354,9 +386,9 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
{ name: "health", units: "hp" },
|
||||
{
|
||||
name: "fire_chance",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
decimals: 0,
|
||||
units: "percentage",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
},
|
||||
{ name: "crew_count" },
|
||||
// { name: "fire_rate", units: "hp_s" },
|
||||
@@ -377,51 +409,51 @@ export const characteristicsGroups: CharacteristicsGroup[] = [
|
||||
{ label: "camouflages" },
|
||||
{
|
||||
name: "camouflage",
|
||||
indent: true,
|
||||
decimals: 2,
|
||||
units: "percentage",
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "camouflage_moving",
|
||||
indent: true,
|
||||
decimals: 2,
|
||||
units: "percentage",
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "camouflage_shooting_still",
|
||||
indent: true,
|
||||
decimals: 2,
|
||||
units: "percentage",
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "camouflage_shooting_moving",
|
||||
indent: true,
|
||||
decimals: 2,
|
||||
units: "percentage",
|
||||
indent: true,
|
||||
},
|
||||
{
|
||||
name: "camouflage_on_fire",
|
||||
indent: true,
|
||||
decimals: 2,
|
||||
units: "percentage",
|
||||
indent: true,
|
||||
},
|
||||
|
||||
{ toy: "view_range" },
|
||||
|
||||
{
|
||||
name: "width",
|
||||
units: "m",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
units: "m",
|
||||
},
|
||||
{
|
||||
name: "height",
|
||||
units: "m",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
units: "m",
|
||||
},
|
||||
{
|
||||
name: "length",
|
||||
units: "m",
|
||||
ranking: CharacteristicRanking.LowerIsBetter,
|
||||
units: "m",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user