Add slider option for weighted AI procurement

Resolves #81
This commit is contained in:
Raffson
2023-02-05 23:29:01 +01:00
parent 22835e7535
commit 3fc82af3ac
2 changed files with 19 additions and 4 deletions

View File

@@ -273,6 +273,19 @@ class Settings:
HQ_AUTOMATION_SECTION,
default=True,
)
auto_procurement_balance: int = bounded_int_option(
"AI ground unit procurement budget ratio (%)",
CAMPAIGN_MANAGEMENT_PAGE,
HQ_AUTOMATION_SECTION,
min=0,
max=100,
default=50,
detail=(
"Ratio (larger number -> more budget for ground units) "
"that indicates how the AI procurement planner should "
"spend its budget."
),
)
reserves_procurement_target: int = 10
# Mission Generator