Remove triggers from generated mission for now. Do not generate the 'quick' mission

Fix range for ai flight planner so they are more likely to plan CAS flights
(It's up to the player to setup flight on the runway or in flight)
This commit is contained in:
Khopa
2019-11-03 17:27:30 +01:00
parent e82db1fecd
commit 85de3a09ea
6 changed files with 21 additions and 15 deletions

View File

@@ -122,12 +122,15 @@ class Event:
self.environment_settings = self.operation.environment_settings
def generate_quick(self):
self.operation.is_awacs_enabled = self.is_awacs_enabled
self.operation.environment_settings = self.environment_settings
self.operation.prepare(self.game.theater.terrain, is_quick=True)
self.operation.generate()
self.operation.current_mission.save(persistency.mission_path_for("liberation_nextturn_quick.miz"))
pass
# TODO : This is not needed anymore. The player can start mission in flight from the flight planner if he want it to be quick.
# TODO : remove this method
#self.operation.is_awacs_enabled = self.is_awacs_enabled
#self.operation.environment_settings = self.environment_settings
#
#self.operation.prepare(self.game.theater.terrain, is_quick=True)
#self.operation.generate()
#self.operation.current_mission.save(persistency.mission_path_for("liberation_nextturn_quick.miz"))
def commit(self, debriefing: Debriefing):