Skip to content

Commit

Permalink
make include_time_consuming_objectives default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrochu committed Jan 4, 2025
1 parent 19e7805 commit 3be5215
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions worlds/keymasters_keep/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -276,7 +285,7 @@ class ExcludedGamesDifficultObjectives(OptionSet):
default = list()


class IncludeTimeConsumingObjectives(Toggle):
class IncludeTimeConsumingObjectives(DefaultOnToggle):
"""
Determines if time-consuming objectives should be considered.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3be5215

Please sign in to comment.