From 3be52150de0fbf3ade22f5dd11b531b835877209 Mon Sep 17 00:00:00 2001 From: Nicholas Brochu Date: Fri, 3 Jan 2025 22:23:36 -0500 Subject: [PATCH] make include_time_consuming_objectives default to true --- worlds/keymasters_keep/options.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/worlds/keymasters_keep/options.py b/worlds/keymasters_keep/options.py index fbeb97b6c53c..7af65ee2a10a 100644 --- a/worlds/keymasters_keep/options.py +++ b/worlds/keymasters_keep/options.py @@ -2,7 +2,16 @@ from dataclasses import dataclass -from Options import Choice, OptionGroup, OptionSet, PerGameCommonOptions, Range, StartInventoryPool, Toggle +from Options import ( + Choice, + DefaultOnToggle, + OptionGroup, + OptionSet, + PerGameCommonOptions, + Range, + StartInventoryPool, + Toggle, +) from .game import AutoGameRegister from .games import GameArchipelagoOptions @@ -276,7 +285,7 @@ class ExcludedGamesDifficultObjectives(OptionSet): default = list() -class IncludeTimeConsumingObjectives(Toggle): +class IncludeTimeConsumingObjectives(DefaultOnToggle): """ Determines if time-consuming objectives should be considered. @@ -329,8 +338,8 @@ class KeymastersKeepOptions(PerGameCommonOptions, GameArchipelagoOptions): area_trials_maximum: AreaTrialsMaximum game_medley_mode: GameMedleyMode game_medley_percentage_chance: GameMedleyPercentageChance - game_selection: GameSelection metagame_selection: MetagameSelection + game_selection: GameSelection include_adult_only_or_unrated_games: IncludeAdultOnlyOrUnratedGames include_modern_console_games: IncludeModernConsoleGames include_difficult_objectives: IncludeDifficultObjectives