mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Unit support : La Combattante II class ship
This commit is contained in:
parent
cbce379132
commit
3c8c76f50d
12
gen/fleet/lacombattanteII.py
Normal file
12
gen/fleet/lacombattanteII.py
Normal file
@ -0,0 +1,12 @@
|
||||
from dcs.ships import FAC_La_Combattante_IIa
|
||||
|
||||
from game.factions.faction import Faction
|
||||
from game.theater import TheaterGroundObject
|
||||
from gen.fleet.dd_group import DDGroupGenerator
|
||||
|
||||
|
||||
class LaCombattanteIIGroupGenerator(DDGroupGenerator):
|
||||
def __init__(self, game, ground_object: TheaterGroundObject, faction: Faction):
|
||||
super(LaCombattanteIIGroupGenerator, self).__init__(
|
||||
game, ground_object, faction, FAC_La_Combattante_IIa
|
||||
)
|
||||
@ -8,6 +8,7 @@ from gen.fleet.dd_group import (
|
||||
ArleighBurkeGroupGenerator,
|
||||
OliverHazardPerryGroupGenerator,
|
||||
)
|
||||
from gen.fleet.lacombattanteII import LaCombattanteIIGroupGenerator
|
||||
from gen.fleet.lha_group import LHAGroupGenerator
|
||||
from gen.fleet.ru_dd_group import (
|
||||
RussianNavyGroupGenerator,
|
||||
@ -34,6 +35,7 @@ SHIP_MAP = {
|
||||
"KiloSubGroupGenerator": KiloSubGroupGenerator,
|
||||
"TangoSubGroupGenerator": TangoSubGroupGenerator,
|
||||
"Type54GroupGenerator": Type54GroupGenerator,
|
||||
"LaCombattanteIIGroupGenerator": LaCombattanteIIGroupGenerator,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -45,6 +45,9 @@
|
||||
"ZU23Generator",
|
||||
"ZU23UralGenerator"
|
||||
],
|
||||
"navy_generators": [
|
||||
"LaCombattanteIIGroupGenerator"
|
||||
],
|
||||
"requirements": {},
|
||||
"has_jtac": true,
|
||||
"jtac_unit": "MQ_9_Reaper"
|
||||
|
||||
@ -61,7 +61,8 @@
|
||||
"helicopter_carrier_names": [
|
||||
],
|
||||
"navy_generators": [
|
||||
"OliverHazardPerryGroupGenerator"
|
||||
"OliverHazardPerryGroupGenerator",
|
||||
"LaCombattanteIIGroupGenerator"
|
||||
],
|
||||
"has_jtac": true,
|
||||
"jtac_unit": "MQ_9_Reaper"
|
||||
|
||||
@ -46,6 +46,9 @@
|
||||
"HawkEwrGenerator",
|
||||
"FlatFaceGenerator"
|
||||
],
|
||||
"navy_generators": [
|
||||
"LaCombattanteIIGroupGenerator"
|
||||
],
|
||||
"has_jtac": true,
|
||||
"jtac_unit": "MQ_9_Reaper"
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
],
|
||||
"coastal_group_count": 2,
|
||||
"navy_generators": [
|
||||
"GrishaGroupGenerator",
|
||||
"LaCombattanteIIGroupGenerator",
|
||||
"MolniyaGroupGenerator"
|
||||
],
|
||||
"has_jtac": true,
|
||||
|
||||
@ -86,7 +86,8 @@
|
||||
"coastal_group_count": 3,
|
||||
"navy_generators": [
|
||||
"GrishaGroupGenerator",
|
||||
"MolniyaGroupGenerator"
|
||||
"MolniyaGroupGenerator",
|
||||
"LaCombattanteIIGroupGenerator"
|
||||
],
|
||||
"has_jtac": true,
|
||||
"jtac_unit": "MQ_9_Reaper"
|
||||
|
||||
@ -72,6 +72,6 @@
|
||||
"carrier_names": [
|
||||
],
|
||||
"navy_generators": [
|
||||
"GrishaGroupGenerator", "MolniyaGroupGenerator"
|
||||
"GrishaGroupGenerator", "MolniyaGroupGenerator", "LaCombattanteIIGroupGenerator"
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user