Rename & Extend WW2-Essex layout to support ARA-VDM + CVA-31

This commit is contained in:
Raffson 2025-10-26 18:21:38 +01:00
parent 06044dd4c3
commit 2f16916ac4
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
4 changed files with 7 additions and 4 deletions

View File

@ -40,7 +40,7 @@ class ArmedForces:
# all layouts which are usable by the given faction.
for layout in LAYOUTS.layouts:
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))
# Add all preset groups afterwards to prevent them being merged with generics

View File

@ -4,4 +4,4 @@ tasks:
units:
- USS Bennington (CV-20)
layouts:
- WW2 Essex Carrier
- Single Carrier

View File

@ -1,10 +1,13 @@
name: WW2 Essex Carrier
name: Single Carrier
tasks:
- AircraftCarrier
generic: true
groups:
- 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:
- 1
unit_types:
- ara_vdm
- Essex
- cva-31