Skip to content

Commit

Permalink
🐛[main/mH/eCW] some fixxes AU, US
Browse files Browse the repository at this point in the history
  • Loading branch information
Suchty112 committed Jul 24, 2024
1 parent aa17d21 commit 3efc4c2
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/i18n/en_AU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default {
},
'Ambulance Vehicles': {
vehicles: {
'Ambulances': [5],
'Ambulances': [5, 61],
'Intensive Care Vehicles': [9, 24, 25],
'Other Ambulance Vehicles': [23, 26, 27],
},
Expand Down Expand Up @@ -242,7 +242,7 @@ export default {
'Pipeline',
],
only_alliance_missions: [57, 74],
transfer_missions: [],
transfer_missions: [701, 702],
ranks: {
missionchief: {
0: 'Probie',
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en_AU/buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
duration: '7 Days',
isVehicleExtension: true,
givesParkingLots: 0,
unlocksVehicleTypes: [5, 23, 24, 25, 26, 27],
unlocksVehicleTypes: [5, 23, 24, 25, 26, 27, 61],
},
{
caption: 'Bushfire Expansion',
Expand Down
9 changes: 9 additions & 0 deletions src/i18n/en_AU/vehicles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,4 +907,13 @@ export default {
tractiveVehicles: [3],
foamTank: 1000,
},
61: {
caption: 'Ambulance Transport',
color: '#9c691c',
credits: 5000,
coins: 12,
staff: { min: 2, max: 2 },
icon: 'car-side',
possibleBuildings: [0, 2, 20],
},
} satisfies Record<number, InternalVehicle>;
5 changes: 5 additions & 0 deletions src/modules/extendedCallWindow/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
"texts": ["Heavy Rescue Vehicle", "Heavy Rescue Vehicles"],
"vehicles": [4, 8, 18, 21, 28, 61, 67, 96, 97]
},
{
"equipment": ["fire_rescue", "fire_engine"],
"texts": ["Heavy Rescue Vehicle or Platform Truck", "Heavy Rescue Vehicles or Platform Trucks"],
"vehicles": [0, 1, 13, 18, 30, 33, 48, 4, 8, 18, 21, 28, 61, 67, 96, 97, 2, 13, 100]
},
{
"equipment": ["breathing_protection"],
"texts": ["Mobile Air"],
Expand Down
4 changes: 4 additions & 0 deletions src/modules/missionHelper/i18n/en_AU.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"water_rescue": "SES Missions"
},
"patients": {
"allow_ktw_instead_of_rtw": "Ambulance Transport can replace Ambulance",
"critical_care": "Intensive Care Chance",
"helicopter": "Probability for Air Ambulance",
"patient_allow_first_responder_chance": "First Responder Probability",
Expand Down Expand Up @@ -131,6 +132,9 @@
"allow_arff_instead_of_lf": {
"firetrucks": "Fire Engine or ULFV | Fire Engine or ULFV"
},
"allow_ktw_instead_of_rtw": {
"ambulances": "Ambulance Transport or replace Ambulance"
},
"allow_police_motorcycle_instead_of_fustw": {
"additional_text": "of max. {n} Motorcycle | of max. {n} Motorcycles",
"based_on": "police_cars",
Expand Down
1 change: 1 addition & 0 deletions src/modules/missionHelper/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"oneof_fire_engine_or_fire_ladder": "Firetrucks or Plattform Trucks",
"oneof_fire_engine_or_fire_rescue": "Firetrucks or Heavy Rescues",
"oneof_fire_engine_or_fire_rescue_or_fire_ladder": "Firetrucks, Heavy Rescues or Plattform Trucks",
"oneof_fire_engine_or_rescue_or_ladder": "Firetrucks, Heavy Rescue Vehicles or Platform Trucks",
"oneof_fire_investigation_or_fbi_drone": "FBI Drones or FBI Investigation Wagons",
"oneof_police_patrol_or_police_swat": "SWATs or Patrol Cars",
"platform_trucks": "Platform Truck | Platform Trucks",
Expand Down
1 change: 1 addition & 0 deletions src/modules/missionHelper/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ export default ((MODULE_ID, LSSM, $m) => {
'fr_FR',
'nb_NO',
'fi_FI',
'en_AU',
].includes(locale)
? {
'optionalAlternatives.allow_ktw_instead_of_rtw': <Toggle>{
Expand Down

0 comments on commit 3efc4c2

Please sign in to comment.