Skip to content

Commit

Permalink
Merge 'Add an override to one_hint_per_goal in the hint distributio…
Browse files Browse the repository at this point in the history
…n' (#2291)
  • Loading branch information
fenhl committed Sep 18, 2024
2 parents 3b3282f + 7491ec9 commit da00302
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ issue. You should always Hard Reset to avoid this issue entirely.
* A message is shown the first time a seed with No Logic is generated, to warn the user that the seed may be unbeatable.
* New hint distribution field `excluded_goal_categories` to disable specific goal categories.
* Pre-completed dungeons are crossed out in the dungeon overview menus (A or D-left on the inventory screen).
* New hint distribution field `one_hint_per_goal` can be set to `true` or `false` to override the automatic settings-based behavior of how goal hints are selected.

#### Bug Fixes
* Goal hints can now hint items required to defeat Ganon even if they're not required for the rainbow bridge, Ganon's boss key, or the trials. These items will be hinted as being on the "path of the hero".
Expand Down
3 changes: 3 additions & 0 deletions World.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ def __missing__(self, dungeon_name: str) -> EmptyDungeonInfo:
if goal_list1 != [goal.name for goal in category.goals] and category.name not in minor_goal_categories:
self.one_hint_per_goal = False

if 'one_hint_per_goal' in self.hint_dist_user:
self.one_hint_per_goal = self.hint_dist_user['one_hint_per_goal']

# initialize category check for first rounds of goal hints
self.hinted_categories = []

Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '8.1.89'
__version__ = '8.1.90'

# This is a supplemental version number for branches based off of main dev.
supplementary_version = 0
Expand Down

0 comments on commit da00302

Please sign in to comment.