Skip to content

Commit

Permalink
✨[Core]🚆🔥 Railway rescue DE🔥🚆
Browse files Browse the repository at this point in the history
✨[Core]🚔Police Swift Water Rescue🚤 Beginnings
  • Loading branch information
Suchty112 committed Dec 9, 2024
1 parent 67496b7 commit 453e9bb
Show file tree
Hide file tree
Showing 10 changed files with 190 additions and 10 deletions.
3 changes: 3 additions & 0 deletions src/i18n/de_DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export default {
Logistikfahrzeuge: [104, 105, 106, 107],
Netzersatzanlagen: [111, 113],
Verpflegung: [138, 139, 140, 141],
Bahnrettung: [162, 163, 164]
},
color: '#ff2d2d',
},
Expand Down Expand Up @@ -273,6 +274,8 @@ export default {
'Kraftwerk',
'Werksgelände',
'Seilbahn',
'Brücke',
'U-Bahn Station',
],
only_alliance_missions: [41, 43, 59, 75, 99, 207, 221, 222, 256, 350],
transfer_missions: [147, 613],
Expand Down
30 changes: 25 additions & 5 deletions src/i18n/de_DE/buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
parkingLotReservations: [
[
47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119,
142,
142, 164
],
],
cannotDisable: true,
Expand Down Expand Up @@ -72,7 +72,7 @@ export default {
47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119,
],
parkingLotReservations: [
[47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119, 142],
[47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119, 142, 164],
],
cannotDisable: true,
unlockedVehiclesOnReservedLotsOnly: true,
Expand Down Expand Up @@ -129,7 +129,7 @@ export default {
parkingLotReservations: [
[
47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119,
142,
142, 164
],
],
cannotDisable: true,
Expand Down Expand Up @@ -186,7 +186,7 @@ export default {
47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119,
],
parkingLotReservations: [
[47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119, 142],
[47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119, 142, 164],
],
cannotDisable: true,
unlockedVehiclesOnReservedLotsOnly: true,
Expand Down Expand Up @@ -229,6 +229,16 @@ export default {
},
5
),
{
caption: 'Drohneneinheit',
credits: 150_000,
coins: 25,
duration: '5 Tage',
isVehicleExtension: true,
givesParkingLots: 1,
parkingLotReservations: [[162, 163]],
unlocksVehicleTypes: [162, 163, 164],
},
],
storageUpgrades: {
initial_containers: {
Expand Down Expand Up @@ -1462,7 +1472,7 @@ export default {
parkingLotReservations: [
[
47, 48, 49, 54, 62, 71, 77, 78, 108, 116, 117, 119,
142,
142, 164
],
],
cannotDisable: true,
Expand Down Expand Up @@ -1564,6 +1574,16 @@ export default {
},
2
),
{
caption: 'Drohneneinheit',
credits: 150_000,
coins: 25,
duration: '5 Tage',
isVehicleExtension: true,
givesParkingLots: 1,
parkingLotReservations: [[162, 163]],
unlocksVehicleTypes: [162, 163, 164],
},
],
storageUpgrades: {
initial_containers: {
Expand Down
13 changes: 13 additions & 0 deletions src/i18n/de_DE/equipment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,17 @@ export default registerEquipment({
},
},
},
railway_fire: {
id: 'railway_fire',
caption: 'RC-Modul: Schiene',
size: 20,
credits: 15000,
coins: 15,
staff: {
min: 2,
training: {
Feuerwehr: 'railway_fire',
},
},
},
});
6 changes: 6 additions & 0 deletions src/i18n/de_DE/schoolings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ export default {
staffList: 'Verpflegungshelfer',
key: 'care_service_equipment',
},
{
caption: 'Bahnrettung',
duration: '3 Tage',
staffList: 'Bahnrettung',
key: 'railway_fire',
},
],
Polizei: [
{
Expand Down
52 changes: 52 additions & 0 deletions src/i18n/de_DE/vehicles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2692,4 +2692,56 @@ export default {
icon: 'helicopter',
possibleBuildings: [28],
},
162: {
caption: 'RW-Schiene',
color: '#992b22',
credits: 18_500,
coins: 25,
staff: {
min: 1,
max: 3,
training: {
Feuerwehr: {
railway_fire: {
all: true,
},
},
},
},
icon: 'truck',
possibleBuildings: [25],
},
163: {
caption: 'HLF Schiene',
color: '#992b22',
credits: 30_000,
coins: 25,
staff: {
min: 1,
max: 9,
training: {
Feuerwehr: {
railway_fire: {
all: true,
},
},
},
},
icon: 'truck',
possibleBuildings: [0, 18],
waterTank: 1460,
pumpCapacity: 2400,
pumpType: 'fire',
},
164: {
caption: 'AB-Schiene',
color: '#992b22',
credits: 25_000,
coins: 25,
staff: { min: 0, max: 0 },
icon: 'square',
possibleBuildings: [0, 18],
isTrailer: true,
tractiveVehicles: [46],
},
} satisfies Record<number, InternalVehicle>;
32 changes: 29 additions & 3 deletions src/i18n/en_US/buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,19 @@ export default {
unlocksVehicleTypes: [108],
parkingLotReservations: [[108]],
},
{
caption: 'Police Water Rescue',
credits: 200_000,
coins: 25,
duration: '7 Days',
isVehicleExtension: true,
givesParkingLots: 2,
unlocksVehicleTypes: [110, 111, 112],
parkingLotReservations: [
[110, 111, 112],
[110, 111, 112],
],
},
],
levelcost: ['1. 10.000', '2. 50.000', '3.-39. 100.000'],
maxBuildings: 'no limit',
Expand All @@ -613,11 +626,11 @@ export default {
coins: 50,
credits: 1_000_000,
levelPrices: {
credits: [],
coins: [],
credits: [...Array(6).fill(1_000_000)],
coins: [...Array(6).fill(50)],
},
extensions: [],
levelcost: [],
levelcost: ['1.-7. 1.000.000 Credits / 50 Coins'],
maxBuildings: 'see specials',
maxLevel: 0,
special:
Expand Down Expand Up @@ -1115,6 +1128,19 @@ export default {
unlocksVehicleTypes: [108],
parkingLotReservations: [[108]],
},
{
caption: 'Police Water Rescue',
credits: 200_000,
coins: 25,
duration: '7 Days',
isVehicleExtension: true,
givesParkingLots: 2,
unlocksVehicleTypes: [110, 111, 112],
parkingLotReservations: [
[110, 111, 112],
[110, 111, 112],
],
},
],
levelcost: [
'1. 10.000',
Expand Down
52 changes: 52 additions & 0 deletions src/i18n/en_US/vehicles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1723,4 +1723,56 @@ export default {
icon: 'car-side',
possibleBuildings: [0, 3, 13, 14, 16],
},
110: {
caption: 'Tactical Rescue Truck with Boat',
color: '#4282f0',
credits: 35_000,
coins: 30,
staff: {
min: 2,
max: 4,
training: {
Police: {
swat: {
all: true,
},
tactical_medic: {
all: true,
},
},
},
},
icon: 'car-side',
possibleBuildings: [5, 15],
},
111: {
caption: 'Police Water Rescue Boat Trailer',
color: '#4282f0',
credits: 6_000,
coins: 12,
staff: {
min: 0,
max: 0,
},
icon: 'car-side',
possibleBuildings: [5, 15],
isTrailer: true,
tractiveVehicles: [10, 16, 19, 26, 47, 56, 86, 90],
special: "Needed towing vehicle (Patrol car, K-9 Unit, Police Crew Carrier, Police Supervisor / Sheriff Unit, Warden's Truck, SWAT Armoured Vehicle, SWAT SUV, Tactical Rescue Truck)",
},
112: {
caption: 'Police Water Rescue Double Boat Trailer',
color: '#4282f0',
credits: 60_000,
coins: 25,
staff: {
min: 0,
max: 0,
},
icon: 'car-side',
possibleBuildings: [5, 15],
isTrailer: true,
tractiveVehicles: [10, 16, 19, 26, 47, 56, 86, 90],
special: "Needed towing vehicle (Patrol car, K-9 Unit, Police Crew Carrier, Police Supervisor / Sheriff Unit, Warden's Truck, SWAT Armoured Vehicle, SWAT SUV, Tactical Rescue Truck), Transporting 2 Light Boats",
},
} satisfies Record<number, InternalVehicle>;
7 changes: 6 additions & 1 deletion src/modules/extendedCallWindow/i18n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
{ "texts": ["MTW FGr K"], "vehicles": [148] },
{ "texts": ["Lüfter"], "vehicles": [114, 115, 116] },
{
"equipment": ["drone"],
"equipment": ["drone", "mountain_drone"],
"texts": ["Drohneneinheit", "Drohneneinheiten"],
"vehicles": [125, 126, 127, 128, 129]
},
Expand Down Expand Up @@ -302,6 +302,11 @@
"Seenotrettungsboote oder Seenotrettungskreuzer"
],
"vehicles": [159, 160]
},
{
"equipment": ["railway_fire"],
"texts": ["Bahnrettungsfahrzeug", "Bahnrettungsfahrzeuge"],
"vehicles": [162, 163, 164]
}
],
"water": "l. Wasser"
Expand Down
3 changes: 2 additions & 1 deletion src/modules/extendedCallWindow/i18n/de_DE.root.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@
2, 3, 4, 5, 10, 11, 12, 13, 14, 15, 16, 27, 33, 34, 36, 46,
47, 48, 49, 53, 54, 57, 62, 71, 75, 76, 77, 78, 83, 84, 85,
86, 104, 105, 106, 108, 111, 113, 114, 115, 116, 117, 118,
119, 120, 121, 126, 128, 129, 138, 139, 140, 141, 142, 143
119, 120, 121, 126, 128, 129, 138, 139, 140, 141, 142, 143,
162, 163, 164
]
},
{
Expand Down
2 changes: 2 additions & 0 deletions src/modules/missionHelper/i18n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"police_motorcycle": "Polizei-Motorradstaffel | Polizei-Motorradstaffeln",
"police_service_group_leader": "Dienstgruppenleitung-Erweiterung | Dienstgruppenleitung-Erweiterungen",
"police_stations": "Polizeiwache | Polizeiwachen",
"railway_fire": "Bahnrettungs-Erweiterung | Bahnrettungs-Erweiterungen",
"rescue_dog_units": "Rettungshundestaffel | Rettungshundestaffeln",
"rescue_stations": "Rettungswache | Rettungswachen",
"riot_unit_count": "Zug der 1. Hundertschaft | Züge der 1. Hundertschaft",
Expand Down Expand Up @@ -147,6 +148,7 @@
"police_motorcycle": "Polizeimotorrad | Polizeimotorräder",
"police_service_group_leader": "Funkstreifenwagen (DGL)",
"pump": "Schmutzwasserpumpe | Schmutzwasserpumpen",
"railway_fire": "Bahnrettungsfahrzeug | Bahnrettungsfahrzeuge",
"rescue_dog_units": "Rettungshundestaffel | Rettungshundestaffeln",
"rettungstreppe": "Rettungstreppe | Rettungstreppen",
"seg_elw": "ELW 1 (SEG)",
Expand Down

0 comments on commit 453e9bb

Please sign in to comment.