mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Support for supercarrier deck-crew
This commit is contained in:
@@ -53,6 +53,10 @@ class ForcedOptionsGenerator:
|
||||
self.game.settings.battle_damage_assessment
|
||||
)
|
||||
|
||||
def _set_supercarrier_deck_crew(self) -> None:
|
||||
value = self.game.settings.supercarrier_deck_crew
|
||||
self.mission.forced_options.supercarrier_deck_crew = value
|
||||
|
||||
def generate(self) -> None:
|
||||
self._set_options_view()
|
||||
self._set_external_views()
|
||||
@@ -60,3 +64,4 @@ class ForcedOptionsGenerator:
|
||||
self._set_labels()
|
||||
self._set_unrestricted_satnav()
|
||||
self._set_battle_damage_assessment()
|
||||
self._set_supercarrier_deck_crew()
|
||||
|
||||
@@ -738,6 +738,12 @@ class Settings:
|
||||
GAMEPLAY_SECTION,
|
||||
default=False,
|
||||
)
|
||||
supercarrier_deck_crew: bool = boolean_option(
|
||||
"Use supercarrier deck-crew",
|
||||
MISSION_GENERATOR_PAGE,
|
||||
GAMEPLAY_SECTION,
|
||||
default=True,
|
||||
)
|
||||
generate_marks: bool = boolean_option(
|
||||
"Put objective markers on the map",
|
||||
MISSION_GENERATOR_PAGE,
|
||||
|
||||
Reference in New Issue
Block a user