This doesn't currently interact very well with the auto purchase since
the procurer might by aircraft that don't have pilots available. That
should be fixed, but for the short term we should just default to not
enabling this new feature.
(cherry picked from commit 3ddfc47d3a0cbf9688c0fecbdbdf70bab6adeb9e)
Caucasus Multi part campaign version update. No map strike objects so just the version change
(cherry picked from commit 905bd05ba880525202cbada129980702e46a7554)
* Hopefully getting rid of empty convoys for good
* changing Dict to dict for type checks
(cherry picked from commit 3274f3ec35263f461238dc53cc60e4b54aae682a)
* Fixes#1310 by only refunding GUs if no faction CP has an attached factory. Previously it would refund all units at the CP, including aircraft.
Also changes the CP CAPTURE cheat to work at any CP regardless of adjacency to frontline or BLUEFOR/OPFOR state.
* Fixing typing issues, changint all Dict[] types to dict[]
* Updating changelog
(cherry picked from commit c3b8c48ca25df1cd5f77a353775410450952e2a6)
also fixed small exception when aborting the open file dialog which lead to " as filename
fixes#1305
(cherry picked from commit 752c91a721dba72564b3f0b7e630014756d9db70)
We'd only load unit data if a name lookup was done and missed it on a
type lookup. Ideally we wouldn't need to do a type lookup here until the
ground unit templates are reworked we still do.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1299
(cherry picked from commit d3d655da0716f37dcfd8bbcc9f901417dcb540e6)
I bumped the submitted 6.1 to 7.0 (which didn't exist when the files
were uploaded) because this campaign uses no scenery targets.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1318
(cherry picked from commit 099cbbdb6440897e409cd589075e49fa784d8820)
Only change from the uploaded files is that I increased the campaign
version to 7.0 since this doesn't use any scenery targets so has no work
to do for that.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1249
(cherry picked from commit ca7469b92ea00f578ef091744c11b6c445b3dbdf)
Transports and mod aircraft added where needed cleaned up various
duplicates in factions.
(cherry picked from commit dba70dc6d54d678c6d019fe15940c5fae70cd77d)
If these orders can't be fulfilled for the faction it will prevent the
faction from ordering any non-reserve aircraft since transports are
given priority after reserve missions, and they'll never be fulfillable.
As such, no non-reserve aircraft will ever be purchased for factions
without transport aircraft.
Factions without transport aircraft are screwed in other ways, but this
will fix their air planning for campaigns that aren't dependent on
airlift.
(cherry picked from commit e96210f48cd88fcdd9e33e077430653b56fd0941)
Mod selection is now done via checkbox in the new game wizard.
The MB-339 is being turned into a paid module, and the free mod no longer works, so it's been removed.
This is redundant because plan_mission already checks this.
This reverts commit 3338df9836878714f8b72aeb176bed16a33eb65b.
(cherry picked from commit d0745001094d01e1bb49cb7cb6ecdf11eac7e9f8)
Squadron.aircraft is of type AircraftType, while TRANSPORT_CAPABLE is
a list of pydcs DcsUnitTypes. As a result, the intersection was always
empty causing the function to always return 0.