mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add automation options to the new game wizard.
To have an effect on turn zero these need to be enabled in the wizard. Since the last page was getting quite full I've split it into two pages: one for the objective generation options and a second for the difficulty and player assist options. I also added an option to set the inital budget for opfor.
This commit is contained in:
@@ -23,6 +23,7 @@ from qt_ui import (
|
||||
from qt_ui.windows.GameUpdateSignal import GameUpdateSignal
|
||||
from qt_ui.windows.QLiberationWindow import QLiberationWindow
|
||||
from qt_ui.windows.newgame.QCampaignList import Campaign
|
||||
from qt_ui.windows.newgame.QNewGameWizard import DEFAULT_BUDGET
|
||||
from qt_ui.windows.preferences.QLiberationFirstStartWindow import \
|
||||
QLiberationFirstStartWindow
|
||||
|
||||
@@ -133,7 +134,8 @@ def create_game(campaign_path: Path, blue: str, red: str,
|
||||
Settings(supercarrier=supercarrier),
|
||||
GeneratorSettings(
|
||||
start_date=datetime.today(),
|
||||
starting_budget=650,
|
||||
player_budget=DEFAULT_BUDGET,
|
||||
enemy_budget=DEFAULT_BUDGET,
|
||||
multiplier=1.0,
|
||||
midgame=False,
|
||||
inverted=False,
|
||||
|
||||
Reference in New Issue
Block a user