Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
📦️ Update tankopedia
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Aug 16, 2023
1 parent 973bd19 commit 997a7d2
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions src/tankopedia/vendored.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use crate::models::{TankId, Vehicle, VehicleAvailability::*, VehicleType::*};

pub static ALL_TANK_IDS: [TankId; 610] = [
pub static ALL_TANK_IDS: [TankId; 612] = [
TankId(1),
TankId(17),
TankId(33),
Expand Down Expand Up @@ -378,6 +378,7 @@ pub static ALL_TANK_IDS: [TankId; 610] = [
TankId(16145),
TankId(16193),
TankId(16209),
TankId(16257),
TankId(16401),
TankId(16449),
TankId(16465),
Expand Down Expand Up @@ -517,6 +518,7 @@ pub static ALL_TANK_IDS: [TankId; 610] = [
TankId(26129),
TankId(26145),
TankId(26401),
TankId(26641),
TankId(26657),
TankId(26913),
TankId(27169),
Expand Down Expand Up @@ -993,6 +995,7 @@ pub const fn is_known_tank_id(tank_id: TankId) -> bool {
| TankId(16145)
| TankId(16193)
| TankId(16209)
| TankId(16257)
| TankId(16401)
| TankId(16449)
| TankId(16465)
Expand Down Expand Up @@ -1132,6 +1135,7 @@ pub const fn is_known_tank_id(tank_id: TankId) -> bool {
| TankId(26129)
| TankId(26145)
| TankId(26401)
| TankId(26641)
| TankId(26657)
| TankId(26913)
| TankId(27169)
Expand Down Expand Up @@ -4126,7 +4130,7 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
name: "CS-63",
tier: 10,
type_: Medium,
availability: Researchable,
availability: Collectible,
image_content: include_bytes!("vendored/14977.webp"),
}),
TankId(15137) => Some(Vehicle {
Expand Down Expand Up @@ -4233,6 +4237,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Researchable,
image_content: include_bytes!("vendored/16209.webp"),
}),
TankId(16257) => Some(Vehicle {
tank_id: TankId(16257),
name: "Outcast",
tier: 6,
type_: Heavy,
availability: Collectible,
image_content: include_bytes!("vendored/16257.webp"),
}),
TankId(16401) => Some(Vehicle {
tank_id: TankId(16401),
name: "WT auf Pz. IV",
Expand Down Expand Up @@ -5345,6 +5357,14 @@ pub const fn get_vehicle(tank_id: TankId) -> Option<Vehicle> {
availability: Collectible,
image_content: include_bytes!("vendored/26401.webp"),
}),
TankId(26641) => Some(Vehicle {
tank_id: TankId(26641),
name: "Kpz 07 RH",
tier: 8,
type_: Medium,
availability: Premium,
image_content: include_bytes!("vendored/26641.webp"),
}),
TankId(26657) => Some(Vehicle {
tank_id: TankId(26657),
name: "ASTRON Rex",
Expand Down
Binary file added src/tankopedia/vendored/16257.webp
Binary file not shown.
Binary file added src/tankopedia/vendored/26641.webp
Binary file not shown.
Binary file modified src/tankopedia/vendored/3377.webp
Binary file not shown.
Binary file modified src/tankopedia/vendored/3889.webp
Binary file not shown.
Binary file modified src/tankopedia/vendored/4913.webp
Binary file not shown.

0 comments on commit 997a7d2

Please sign in to comment.