mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Rename & Extend WW2-Essex layout to support ARA-VDM + CVA-31
This commit is contained in:
parent
06044dd4c3
commit
2f16916ac4
@ -40,7 +40,7 @@ class ArmedForces:
|
|||||||
# all layouts which are usable by the given faction.
|
# all layouts which are usable by the given faction.
|
||||||
for layout in LAYOUTS.layouts:
|
for layout in LAYOUTS.layouts:
|
||||||
if layout.generic and layout.usable_by_faction(faction):
|
if layout.generic and layout.usable_by_faction(faction):
|
||||||
# Creates a faction compatible GorceGroup
|
# Creates a faction compatible ForceGroup
|
||||||
self.add_or_update_force_group(ForceGroup.for_layout(layout, faction))
|
self.add_or_update_force_group(ForceGroup.for_layout(layout, faction))
|
||||||
|
|
||||||
# Add all preset groups afterwards to prevent them being merged with generics
|
# Add all preset groups afterwards to prevent them being merged with generics
|
||||||
|
|||||||
@ -4,4 +4,4 @@ tasks:
|
|||||||
units:
|
units:
|
||||||
- USS Bennington (CV-20)
|
- USS Bennington (CV-20)
|
||||||
layouts:
|
layouts:
|
||||||
- WW2 Essex Carrier
|
- Single Carrier
|
||||||
Binary file not shown.
@ -1,10 +1,13 @@
|
|||||||
name: WW2 Essex Carrier
|
name: Single Carrier
|
||||||
tasks:
|
tasks:
|
||||||
- AircraftCarrier
|
- AircraftCarrier
|
||||||
|
generic: true
|
||||||
groups:
|
groups:
|
||||||
- Carrier: # the word "Carrier" or "LHA" needs to be present in the group-name
|
- Carrier: # the word "Carrier" or "LHA" needs to be present in the group-name
|
||||||
- name: WW2 Carrier Group 0
|
- name: Carrier Group 0
|
||||||
unit_count:
|
unit_count:
|
||||||
- 1
|
- 1
|
||||||
unit_types:
|
unit_types:
|
||||||
|
- ara_vdm
|
||||||
- Essex
|
- Essex
|
||||||
|
- cva-31
|
||||||
Loading…
x
Reference in New Issue
Block a user