From 8b03bc496daf690bb61e26dec1101482a7059a45 Mon Sep 17 00:00:00 2001 From: Raffson Date: Tue, 24 Dec 2024 05:07:32 +0100 Subject: [PATCH] Move tanker patrol duration setting to doctrine page --- game/settings/settings.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/game/settings/settings.py b/game/settings/settings.py index a5f91190..5dbba454 100644 --- a/game/settings/settings.py +++ b/game/settings/settings.py @@ -234,6 +234,16 @@ class Settings: detail="Implicitly determines the number of AWACS flights planned by taking the mission duration" " and dividing it by the desired on-station time.", ) + desired_tanker_on_station_time: timedelta = minutes_option( + "Desired tanker on-station time", + page=CAMPAIGN_DOCTRINE_PAGE, + section=GENERAL_SECTION, + default=timedelta(minutes=60), + min=30, + max=150, + detail="Implicitly determines the number of Tanker flights planned by taking the mission duration" + " and dividing it by the desired on-station time.", + ) autoplan_tankers_for_strike: bool = boolean_option( "Auto-planner plans refueling flights for Strike packages", page=CAMPAIGN_DOCTRINE_PAGE, @@ -897,15 +907,6 @@ class Settings: min=30, max=150, ) - desired_tanker_on_station_time: timedelta = minutes_option( - "Desired tanker on-station time", - page=MISSION_GENERATOR_PAGE, - section=GAMEPLAY_SECTION, - default=timedelta(minutes=60), - min=30, - max=150, - ) - # Mission specific max_frontline_width: int = bounded_int_option( "Maximum frontline width (km)", page=MISSION_GENERATOR_PAGE,