Introduce livery-sets on squadron level

Randomly chooses one of the liveries defined if present in the squadron's yaml, overrides entry for "livery" or whatever is chosen in the UI except liveries on flight-member level
This commit is contained in:
Raffson
2024-03-23 21:27:43 +01:00
parent 6ee74cf079
commit 52b25821af
5 changed files with 16 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ class SquadronDefGenerator:
role="Flying Squadron",
aircraft=aircraft,
livery=None,
livery_set=[],
auto_assignable_mission_types=set(aircraft.iter_task_capabilities()),
radio_presets={},
operating_bases=OperatingBases.default_for_aircraft(aircraft),