Generate ship groups for carriers. Carriers can be destroyed. Faction need to have carrier available.

This commit is contained in:
Khopa
2019-10-26 22:59:59 +02:00
parent 2936df6a02
commit 76638b549f
20 changed files with 245 additions and 46 deletions

View File

@@ -138,6 +138,9 @@ class Operation:
# Air Support (Tanker & Awacs)
self.airsupportgen.generate(self.is_awacs_enabled)
# Generate carrier groups & ships
# Generate Activity on the map
for cp in self.game.theater.controlpoints:
side = cp.captured
@@ -164,7 +167,6 @@ class Operation:
else:
self.current_mission.groundControl.red_tactical_commander = self.ca_slots
# triggers
if self.game.is_player_attack(self.conflict.attackers_country):
cp = self.conflict.from_cp