mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Aircraft squadrons are now products of the Hangar, instead of the air defence Command Center.
This commit is contained in:
parent
765c85b639
commit
0bdb989a2c
@ -109,6 +109,15 @@ class PretenseLuaGenerator(LuaGenerator):
|
||||
+ cp_side_str
|
||||
+ "' }),\n"
|
||||
)
|
||||
lua_string_zones += " }\n"
|
||||
lua_string_zones += " }),\n"
|
||||
lua_string_zones += " presets.upgrades.supply.hangar:extend({\n"
|
||||
lua_string_zones += (
|
||||
f" name = '{cp_name_trimmed}-aircraft-command-"
|
||||
+ cp_side_str
|
||||
+ "',\n"
|
||||
)
|
||||
lua_string_zones += " products = {\n"
|
||||
for mission_type in self.game.pretense_air[cp_side][cp_name_trimmed]:
|
||||
if mission_type == FlightType.SEAD:
|
||||
mission_name = "attack.sead"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user