mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Implemented a Pretense settings page.
This commit is contained in:
@@ -49,6 +49,8 @@ FLIGHT_PLANNER_AUTOMATION = "Flight Planner Automation"
|
||||
CAMPAIGN_DOCTRINE_PAGE = "Campaign Doctrine"
|
||||
DOCTRINE_DISTANCES_SECTION = "Doctrine distances"
|
||||
|
||||
PRETENSE_PAGE = "Pretense"
|
||||
|
||||
MISSION_GENERATOR_PAGE = "Mission Generator"
|
||||
|
||||
GAMEPLAY_SECTION = "Gameplay"
|
||||
@@ -971,6 +973,28 @@ class Settings:
|
||||
"if the start-up type was manually changed to 'In-Flight'."
|
||||
),
|
||||
)
|
||||
pretense_maxdistfromfront_distance: int = bounded_int_option(
|
||||
"Max distance from front (km)",
|
||||
page=PRETENSE_PAGE,
|
||||
section=GENERAL_SECTION,
|
||||
default=130,
|
||||
min=10,
|
||||
max=10000,
|
||||
)
|
||||
pretense_closeoverride_distance: int = bounded_int_option(
|
||||
"Close override distance (km)",
|
||||
page=PRETENSE_PAGE,
|
||||
section=GENERAL_SECTION,
|
||||
default=28,
|
||||
min=5,
|
||||
max=10000,
|
||||
)
|
||||
pretense_do_not_generate_sead_missions: bool = boolean_option(
|
||||
"Do not generate player SEAD missions",
|
||||
page=PRETENSE_PAGE,
|
||||
section=PERFORMANCE_SECTION,
|
||||
default=False,
|
||||
)
|
||||
|
||||
# Cheating. Not using auto settings because the same page also has buttons which do
|
||||
# not alter settings.
|
||||
|
||||
Reference in New Issue
Block a user