Add HMS Invincible as a valid runway.

This commit is contained in:
Dan Albert 2022-12-12 23:20:15 -08:00
parent 6ce7638fdc
commit f3f5ab70ea
2 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,7 @@ Saves from 6.0.0 are compatible with 6.1.0
* **[Factions]** Defaulted bluefor modern to use Georgian and Ukrainian liveries for Russian aircraft. * **[Factions]** Defaulted bluefor modern to use Georgian and Ukrainian liveries for Russian aircraft.
* **[Factions]** Added Peru. * **[Factions]** Added Peru.
* **[Modding]** Added support for the HMS Ariadne, Achilles, and Castle class. * **[Modding]** Added support for the HMS Ariadne, Achilles, and Castle class.
* **[Modding]** Added HMS Invincible to the game data as a helicopter carrier.
## Fixes ## Fixes

View File

@ -33,6 +33,7 @@ from dcs.ships import (
CVN_75, CVN_75,
CV_1143_5, CV_1143_5,
Forrestal, Forrestal,
Hms_invincible,
KUZNECOW, KUZNECOW,
LHA_Tarawa, LHA_Tarawa,
Stennis, Stennis,
@ -1202,9 +1203,10 @@ class NavalControlPoint(ControlPoint, ABC):
for u in group.units: for u in group.units:
if u.alive and u.type in [ if u.alive and u.type in [
Forrestal, Forrestal,
Stennis, Hms_invincible,
LHA_Tarawa,
KUZNECOW, KUZNECOW,
LHA_Tarawa,
Stennis,
Type_071, Type_071,
]: ]:
return True return True