Squadron pilot limits enabled by default (#13)

This commit is contained in:
MetalStormGhost 2022-10-30 20:49:33 +02:00 committed by GitHub
parent 92e2d45f0d
commit 3f4460ad6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -19,7 +19,8 @@ BAI/ANTISHIP/DEAD/STRIKE/BARCAP/CAS/OCA/AIR-ASSAULT (main) missions
* **[Performance]** Added performance option: Front-line troops prefer roads. * **[Performance]** Added performance option: Front-line troops prefer roads.
* **[Data]** Added data to support C-47 Skytrain. * **[Data]** Added data to support C-47 Skytrain.
* **[Data]** Added data to support KS-19 & SON-9, including support for "AAA Site" layout. * **[Data]** Added data to support KS-19 & SON-9, including support for "AAA Site" layout.
* * **[Campaign]** Add 3 new campaigns by Oscar Juliet from WRL * **[Squadrons]** Squadron pilot limits enabled by default.
* **[Campaign]** Add 3 new campaigns by Oscar Juliet from WRL
## Fixes ## Fixes

View File

@ -205,10 +205,10 @@ class Settings:
) )
#: Feature flag for squadron limits. #: Feature flag for squadron limits.
enable_squadron_pilot_limits: bool = boolean_option( enable_squadron_pilot_limits: bool = boolean_option(
"Enable per-squadron pilot limits (WIP)", "Enable per-squadron pilot limits",
CAMPAIGN_MANAGEMENT_PAGE, CAMPAIGN_MANAGEMENT_PAGE,
PILOTS_AND_SQUADRONS_SECTION, PILOTS_AND_SQUADRONS_SECTION,
default=False, default=True,
detail=( detail=(
"If set, squadrons will be limited to a maximum number of pilots and dead " "If set, squadrons will be limited to a maximum number of pilots and dead "
"pilots will replenish at a fixed rate, each defined with the settings" "pilots will replenish at a fixed rate, each defined with the settings"
@ -225,7 +225,7 @@ class Settings:
CAMPAIGN_MANAGEMENT_PAGE, CAMPAIGN_MANAGEMENT_PAGE,
PILOTS_AND_SQUADRONS_SECTION, PILOTS_AND_SQUADRONS_SECTION,
default=12, default=12,
min=12, min=6,
max=72, max=72,
detail=( detail=(
"Sets the maximum number of pilots a squadron may have active. " "Sets the maximum number of pilots a squadron may have active. "