names and icons
No files matched your search
@@ -215,49 +215,52 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"items": {
|
"items": {
|
||||||
"name": "Name",
|
|
||||||
"class": "Class",
|
|
||||||
"type": "Type",
|
|
||||||
"nation": "Nation",
|
|
||||||
"tier": "Tier",
|
|
||||||
"compensation": "Compensation",
|
|
||||||
"id": "ID",
|
|
||||||
"slug": "Slug",
|
|
||||||
"gun_type": "Gun type",
|
"gun_type": "Gun type",
|
||||||
"dpm": "Damage per minute",
|
"dpm": "Damage per minute",
|
||||||
"reload": "Reload",
|
|
||||||
"reloads": "Reloads",
|
|
||||||
"damage": "Damage",
|
"damage": "Damage",
|
||||||
"module_damage": "Module damage",
|
"module_damage": "Module damage",
|
||||||
|
"reload": "Reload",
|
||||||
|
"reloads": "Reloads",
|
||||||
|
"clipping_potential": "Clipping potential",
|
||||||
"clip_size": "Clip size",
|
"clip_size": "Clip size",
|
||||||
|
"optimal_shell": "Optimal shell",
|
||||||
"intra_clip": "Intra-clip",
|
"intra_clip": "Intra-clip",
|
||||||
|
"burst_size": "Burst size",
|
||||||
|
"intra_burst": "Intra-burst",
|
||||||
"penetration": "Penetration",
|
"penetration": "Penetration",
|
||||||
"caliber": "Caliber",
|
"penetration_loss": "Penetration loss",
|
||||||
"normalization": "Normalization",
|
|
||||||
"ricochet": "Ricochet",
|
|
||||||
"shell_velocity": "Shell velocity",
|
"shell_velocity": "Shell velocity",
|
||||||
"shell_range": "Shell range",
|
"shell_range": "Shell range",
|
||||||
"shell_capacity": "Shell capacity",
|
"shell_capacity": "Shell capacity",
|
||||||
|
"caliber": "Caliber",
|
||||||
|
"normalization": "Normalization",
|
||||||
|
"ricochet": "Ricochet",
|
||||||
"aim_time": "Aim time",
|
"aim_time": "Aim time",
|
||||||
"dispersion": "Dispersion",
|
"dispersion": "Dispersion",
|
||||||
|
"dispersion_angle": "Dispersion angle",
|
||||||
"gun_depression": "Gun depression",
|
"gun_depression": "Gun depression",
|
||||||
"gun_elevation": "Gun elevation",
|
"gun_elevation": "Gun elevation",
|
||||||
|
"azimuth_left": "Azimuth left",
|
||||||
|
"azimuth_right": "Azimuth right",
|
||||||
"speed_forward": "Speed forward",
|
"speed_forward": "Speed forward",
|
||||||
"speed_backward": "Speed backward",
|
"speed_backward": "Speed backward",
|
||||||
"engine_power": "Engine power",
|
"engine_power": "Engine power",
|
||||||
|
"brake_force": "Brake force",
|
||||||
"weight": "Weight",
|
"weight": "Weight",
|
||||||
"terrain_coefficient": "Terrain coefficient",
|
|
||||||
"power_to_weight": "Power to weight",
|
"power_to_weight": "Power to weight",
|
||||||
|
"terrain_coefficient": "Terrain coefficient",
|
||||||
"hull_traverse_speed": "Hull traverse speed",
|
"hull_traverse_speed": "Hull traverse speed",
|
||||||
"turret_traverse_speed": "Turret traverse speed",
|
"turret_traverse_speed": "Turret traverse speed",
|
||||||
|
"gun_traverse_speed": "Gun traverse speed",
|
||||||
"health": "Health",
|
"health": "Health",
|
||||||
"fire_chance": "Fire chance",
|
"fire_chance": "Fire chance",
|
||||||
|
"fire_rate": "Fire rate",
|
||||||
|
"ramming_resistance": "Ramming resistance",
|
||||||
"view_range": "View range",
|
"view_range": "View range",
|
||||||
"camouflage": "Camouflage",
|
"camouflage": "Camouflage",
|
||||||
"width": "Width",
|
"width": "Width",
|
||||||
"height": "Height",
|
"height": "Height",
|
||||||
"length": "Length",
|
"length": "Length"
|
||||||
"volume": "Volume"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
|
After Width: | Height: | Size: 613 B |
|
After Width: | Height: | Size: 221 B |
|
After Width: | Height: | Size: 805 B |
|
After Width: | Height: | Size: 781 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 616 B |
|
After Width: | Height: | Size: 2.0 KiB |
@@ -45,9 +45,9 @@
|
|||||||
.align {
|
.align {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--space-2);
|
gap: var(--space-3);
|
||||||
|
|
||||||
svg {
|
img {
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ function Group({ group, characteristics }: GroupProps) {
|
|||||||
strings.tanks.characteristics.titles as Record<string, string>
|
strings.tanks.characteristics.titles as Record<string, string>
|
||||||
)[group.group]
|
)[group.group]
|
||||||
}
|
}
|
||||||
{/*<GearIcon />*/}
|
<img src={`/media/groups/${group.group}.png`} />
|
||||||
</div>
|
</div>
|
||||||
</Heading>
|
</Heading>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,7 +96,13 @@ function Item({ config, value }: ItemProps) {
|
|||||||
return (
|
return (
|
||||||
<span className={styles.item}>
|
<span className={styles.item}>
|
||||||
<div className={styles.value}>
|
<div className={styles.value}>
|
||||||
<Text lowContrast>{config.name}</Text>
|
<Text lowContrast>
|
||||||
|
{
|
||||||
|
(strings.tanks.characteristics.items as Record<string, string>)[
|
||||||
|
config.name
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</Text>
|
||||||
<Text>{renderCharacteristic(value, config)}</Text>
|
<Text>{renderCharacteristic(value, config)}</Text>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -345,17 +345,12 @@ export const characteristics = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
class({ tank }) {
|
camouflage({ attribute, characteristic, attributeSafe, state, tank }) {
|
||||||
return tank.tank!.tank_class;
|
|
||||||
},
|
|
||||||
|
|
||||||
camouflage({ attribute, characteristic, attributeSafe, state }) {
|
|
||||||
const tankClass = characteristic("class");
|
|
||||||
const base = attribute(
|
const base = attribute(
|
||||||
TankAttributeChange_AttributeName.ATTRIBUTE_NAME_CONCEALMENT_STILL,
|
TankAttributeChange_AttributeName.ATTRIBUTE_NAME_CONCEALMENT_STILL,
|
||||||
);
|
);
|
||||||
const moving =
|
const moving =
|
||||||
tankClass === TankClass.TANK_CLASS_LIGHT
|
tank.tank!.tank_class === TankClass.TANK_CLASS_LIGHT
|
||||||
? 0
|
? 0
|
||||||
: attribute(
|
: attribute(
|
||||||
TankAttributeChange_AttributeName.ATTRIBUTE_NAME_CONCEALMENT_MOVING,
|
TankAttributeChange_AttributeName.ATTRIBUTE_NAME_CONCEALMENT_MOVING,
|
||||||
@@ -388,54 +383,10 @@ export const characteristics = {
|
|||||||
return -Infinity;
|
return -Infinity;
|
||||||
},
|
},
|
||||||
|
|
||||||
volume() {
|
|
||||||
return -Infinity;
|
|
||||||
},
|
|
||||||
|
|
||||||
nation({ tank }) {
|
|
||||||
return tank.tank!.nation;
|
|
||||||
},
|
|
||||||
|
|
||||||
name({ tank }) {
|
|
||||||
return tank.tank!.name!.value;
|
|
||||||
},
|
|
||||||
|
|
||||||
tier({ tank }) {
|
|
||||||
return tank.tank!.tier_catalog_id;
|
|
||||||
},
|
|
||||||
|
|
||||||
type({ tank }) {
|
|
||||||
return tank.tank!.tank_type;
|
|
||||||
},
|
|
||||||
|
|
||||||
id({ state }) {
|
|
||||||
return state.id.split(".").at(-1)!;
|
|
||||||
},
|
|
||||||
|
|
||||||
slug({ tank }) {
|
|
||||||
return tank.slug;
|
|
||||||
},
|
|
||||||
|
|
||||||
compensation({ tank }) {
|
compensation({ tank }) {
|
||||||
return tank.compensation!.compensation?.currency_reward?.amount ?? null;
|
return tank.compensation!.compensation?.currency_reward?.amount ?? null;
|
||||||
},
|
},
|
||||||
|
|
||||||
purchase_price() {
|
|
||||||
return -Infinity;
|
|
||||||
},
|
|
||||||
|
|
||||||
upgrade_price() {
|
|
||||||
return -Infinity;
|
|
||||||
},
|
|
||||||
|
|
||||||
research_level() {
|
|
||||||
return -Infinity;
|
|
||||||
},
|
|
||||||
|
|
||||||
crew_xp_multiplier() {
|
|
||||||
return -Infinity;
|
|
||||||
},
|
|
||||||
|
|
||||||
clipping_potential() {
|
clipping_potential() {
|
||||||
return -Infinity;
|
return -Infinity;
|
||||||
},
|
},
|
||||||
@@ -452,7 +403,11 @@ export const characteristics = {
|
|||||||
return -Infinity;
|
return -Infinity;
|
||||||
},
|
},
|
||||||
|
|
||||||
gun_yaw_range() {
|
azimuth_left() {
|
||||||
|
return -Infinity;
|
||||||
|
},
|
||||||
|
|
||||||
|
azimuth_right() {
|
||||||
return -Infinity;
|
return -Infinity;
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -464,7 +419,7 @@ export const characteristics = {
|
|||||||
return -Infinity;
|
return -Infinity;
|
||||||
},
|
},
|
||||||
|
|
||||||
fire_health_burn() {
|
fire_rate() {
|
||||||
return -Infinity;
|
return -Infinity;
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -475,4 +430,8 @@ export const characteristics = {
|
|||||||
width() {
|
width() {
|
||||||
return -Infinity;
|
return -Infinity;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
penetration_loss() {
|
||||||
|
return -Infinity;
|
||||||
|
},
|
||||||
} satisfies Record<string, Characteristic>;
|
} satisfies Record<string, Characteristic>;
|
||||||
@@ -142,6 +142,7 @@ export const characteristicsOrder: CharacteristicsGroup[] = [
|
|||||||
render: CharacteristicsGroupRender.Statistical,
|
render: CharacteristicsGroupRender.Statistical,
|
||||||
order: [
|
order: [
|
||||||
{ name: "penetration", units: "mm" },
|
{ name: "penetration", units: "mm" },
|
||||||
|
{ name: "penetration_loss" },
|
||||||
{ name: "shell_velocity", units: "m_s" },
|
{ name: "shell_velocity", units: "m_s" },
|
||||||
{ name: "shell_range", units: "m" },
|
{ name: "shell_range", units: "m" },
|
||||||
{ name: "shell_capacity" },
|
{ name: "shell_capacity" },
|
||||||
@@ -170,7 +171,8 @@ export const characteristicsOrder: CharacteristicsGroup[] = [
|
|||||||
order: [
|
order: [
|
||||||
{ name: "gun_depression", decimals: 0, units: "deg" },
|
{ name: "gun_depression", decimals: 0, units: "deg" },
|
||||||
{ name: "gun_elevation", decimals: 0, units: "deg" },
|
{ name: "gun_elevation", decimals: 0, units: "deg" },
|
||||||
{ name: "gun_yaw_range", decimals: 0, units: "deg" },
|
{ name: "azimuth_left", decimals: 0, units: "deg" },
|
||||||
|
{ name: "azimuth_right", decimals: 0, units: "deg" },
|
||||||
|
|
||||||
{ toy: "flexibility" },
|
{ toy: "flexibility" },
|
||||||
],
|
],
|
||||||
@@ -186,9 +188,9 @@ export const characteristicsOrder: CharacteristicsGroup[] = [
|
|||||||
{ name: "engine_power", units: "bhp" },
|
{ name: "engine_power", units: "bhp" },
|
||||||
{ name: "brake_force", units: "N" },
|
{ name: "brake_force", units: "N" },
|
||||||
{ name: "weight", decimals: 1, units: "t" },
|
{ name: "weight", decimals: 1, units: "t" },
|
||||||
|
{ name: "power_to_weight", decimals: 1, units: "bhp_t" },
|
||||||
|
|
||||||
{ name: "terrain_coefficient" },
|
{ name: "terrain_coefficient" },
|
||||||
{ name: "power_to_weight", decimals: 1, units: "bhp_t" },
|
|
||||||
|
|
||||||
{ name: "hull_traverse_speed", units: "deg_s" },
|
{ name: "hull_traverse_speed", units: "deg_s" },
|
||||||
{ name: "turret_traverse_speed", units: "deg_s" },
|
{ name: "turret_traverse_speed", units: "deg_s" },
|
||||||
@@ -208,7 +210,7 @@ export const characteristicsOrder: CharacteristicsGroup[] = [
|
|||||||
order: [
|
order: [
|
||||||
{ name: "health", units: "hp" },
|
{ name: "health", units: "hp" },
|
||||||
{ name: "fire_chance", units: "%" },
|
{ name: "fire_chance", units: "%" },
|
||||||
{ name: "fire_health_burn", units: "hp_s" },
|
{ name: "fire_rate", units: "hp_s" },
|
||||||
{ name: "ramming_resistance", units: "%" },
|
{ name: "ramming_resistance", units: "%" },
|
||||||
|
|
||||||
{ toy: "fire_health_burn" },
|
{ toy: "fire_health_burn" },
|
||||||
@@ -229,7 +231,6 @@ export const characteristicsOrder: CharacteristicsGroup[] = [
|
|||||||
{ name: "width", units: "m" },
|
{ name: "width", units: "m" },
|
||||||
{ name: "height", units: "m" },
|
{ name: "height", units: "m" },
|
||||||
{ name: "length", units: "m" },
|
{ name: "length", units: "m" },
|
||||||
{ name: "volume", units: "m" },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||