Skip to content

Commit

Permalink
Adding cold & dark
Browse files Browse the repository at this point in the history
  • Loading branch information
fboes committed Nov 14, 2024
1 parent 75b8529 commit ab6380c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
20 changes: 10 additions & 10 deletions data/HEMS-lueneburg-ec135/custom_missions_user.tmc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<[string8][description][It is early morning with wind from 300° at 11 kts.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Hospital Winsen.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -83,7 +83,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is a clear early morning with almost no wind.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Klinikum Lüneburg.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -159,7 +159,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is a misty morning with almost no wind.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Klinikum Lüneburg.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -235,7 +235,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is a misty morning with wind from 200° at 8 kts.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Klinikum Lüneburg.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -313,7 +313,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is noon with almost no wind.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Klinikum Lüneburg.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -391,7 +391,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is an overcast noon with wind from 120° at 8 kts.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Hospital Winsen.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -467,7 +467,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is an overcast afternoon with wind from 120° at 10 kts.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Klinikum Lüneburg.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -543,7 +543,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is late afternoon with almost no wind.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Klinikum Lüneburg.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -619,7 +619,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is an overcast late afternoon with almost no wind.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Hospital Winsen.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down Expand Up @@ -695,7 +695,7 @@ Fly to the specified location to drop off an emergency doctor and take a patient
<[string8][description][It is an overcast late afternoon with wind from 120° at 7 kts.
Fly to the specified location to drop off an emergency doctor and take a patient on board if necessary. Afterwards fly to Klinikum Lüneburg.]>
<[string8u][tags][ medical dropoff ]>
<[string8] [flight_setting] [cold]>
<[string8] [flight_setting] [cold_and_dark]>
<[string8u] [aircraft_name] [ec135]>
//<[string8u][aircraft_livery] [adac]>
<[stringt8c] [aircraft_icao] [EC35]>
Expand Down
6 changes: 3 additions & 3 deletions dist/lib/general/AeroflyMissionDescription.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export default class AeroflyMissionDescription {
if (this.timeOfDay === "night") {
tags.push("night");
}
/*if (this.#mission.flightSetting === "cold") {
tags.push("cold");
}*/
if (this.#mission.flightSetting === "cold_and_dark") {
tags.push("cold_and_dark");
}

return tags;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/lib/hems/Scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class Scenario {
livery: this.configuration.livery,
},
callsign: aircraft.callsign,
flightSetting: this.configuration.isColdAndDark ? "cold" : "taxi",
flightSetting: this.configuration.isColdAndDark ? "cold_and_dark" : "taxi",
conditions,
tags: ["medical", "dropoff"],
origin: {
Expand Down
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab6380c

Please sign in to comment.