Skip to content

Commit

Permalink
✨[core]🚒🚚 Hose trailer
Browse files Browse the repository at this point in the history
(cherry picked from commit 1c4dcf1)
  • Loading branch information
Suchty112 authored and jxn-30 committed Mar 21, 2024
1 parent 14e559e commit aecfe36
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/i18n/de_DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default {
['Tanklöschfahrzeuge']: [
17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 87, 121,
],
Schlauchwagen: [11, 13, 14, 15, 16],
Schlauchwagen: [11, 13, 14, 15, 16, 143],
Sonderfahrzeuge: [
2, 3, 4, 5, 10, 12, 27, 33, 34, 36, 53, 57, 114, 115, 118,
120, 126, 128, 129,
Expand Down
30 changes: 30 additions & 0 deletions src/i18n/de_DE/buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,21 @@ export default {
parkingLotReservations: [[138, 139, 140, 141], [138, 139, 140, 141]],
unlocksVehicleTypes: [138, 139, 140, 141, 142],
},
...multiplyExtension(
{
caption: 'Anhänger-Stellplatz',
credits: 75_000,
coins: 15,
duration: '3 Tage',
isVehicleExtension: true,
givesParkingLots: 1,
unlocksVehicleTypes: [143],
parkingLotReservations: [[143]],
cannotDisable: true,
unlockedVehiclesOnReservedLotsOnly: true,
},
5
),
],
storageUpgrades: {
initial_containers: {
Expand Down Expand Up @@ -1475,6 +1490,21 @@ export default {
parkingLotReservations: [[138, 139, 140, 141],[138, 139, 140, 141]],
unlocksVehicleTypes: [138, 139, 140, 141, 142],
},
...multiplyExtension(
{
caption: 'Anhänger-Stellplatz',
credits: 75_000,
coins: 15,
duration: '3 Tage',
isVehicleExtension: true,
givesParkingLots: 1,
unlocksVehicleTypes: [143],
parkingLotReservations: [[143]],
cannotDisable: true,
unlockedVehiclesOnReservedLotsOnly: true,
},
2
),
],
storageUpgrades: {
initial_containers: {
Expand Down
19 changes: 19 additions & 0 deletions src/i18n/de_DE/vehicles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2348,4 +2348,23 @@ export default {
isTrailer: true,
tractiveVehicles: [46],
},
143: {
caption: 'Anh Schlauch',
color: '#b62e2e',
credits: 5_000,
coins: 10,
staff: {
min: 0,
max: 0,
},
icon: 'trailer',
special:
'Es handelt sich um einen Anhänger, der ein Zugfahrzeug benötigt. (HLF 10, RW, GW-Gefahrgut, Dekon-P, GW-L1, GW-L2, LF 10, LF 8/6, LF 10/6, LF 16-TS, SW 2000-Tr, SW Kats, TLF 3000, TLF 16/24-Tr, TLF 16/25, MTW)',
isTrailer: true,
waterBonus: 10,
tractiveVehicles: [
90, 4, 27, 53, 104, 105, 6, 8, 9, 15, 16, 18, 21, 22, 36
],
possibleBuildings: [0, 18],
},
} satisfies Record<number, InternalVehicle>;
2 changes: 1 addition & 1 deletion src/modules/extendedCallWindow/i18n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
"Schlauchwagen (GW-L2 Wasser, SW 1000, SW 2000 oder Ähnliches)",
"Schlauchwagen (GW-L2 Wasser oder SW)"
],
"vehicles": [11, 13, 14, 15, 16, 62, 101, 102]
"vehicles": [11, 13, 14, 15, 16, 62, 101, 102, 143]
},
{
"texts": ["Schmutzwasserpumpe", "Schmutzwasserpumpen"],
Expand Down
2 changes: 1 addition & 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,7 @@
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
119, 120, 121, 126, 128, 129, 138, 139, 140, 141, 142, 143
]
},
{
Expand Down

0 comments on commit aecfe36

Please sign in to comment.