Skip to content

Commit

Permalink
Merge pull request #1567 from pbeierle22/weird-hint-fix
Browse files Browse the repository at this point in the history
i do not know why this broke but it is now fixed
  • Loading branch information
pbeierle22 authored Aug 11, 2023
2 parents 56108e0 + 46774eb commit 01c23f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions randomizer/CompileHints.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,9 @@ def compileHints(spoiler: Spoiler):

multipath_dict_hints, multipath_dict_goals = GenerateMultipathDict(spoiler, useless_locations)

locked_hint_types = [HintType.RequiredKongHint, HintType.RequiredKeyHint, HintType.RequiredWinConditionHint, HintType.RequiredHelmDoorHint] # Some hint types cannot have their value changed
maxed_hint_types = [] # Some hint types cannot have additional hints placed
minned_hint_types = [] # Some hint types cannot have all their hints removed
# If we're using the racing hints preset, we use the predetermined distribution with no exceptions
if spoiler.settings.wrinkly_hints == WrinklyHints.fixed_racing:
hint_distribution = race_hint_distribution.copy()
Expand Down Expand Up @@ -566,9 +569,6 @@ def compileHints(spoiler: Spoiler):
hint_count += 1
# Otherwise we dynamically generate the hint distribution
else:
locked_hint_types = [HintType.RequiredKongHint, HintType.RequiredKeyHint, HintType.RequiredWinConditionHint, HintType.RequiredHelmDoorHint] # Some hint types cannot have their value changed
maxed_hint_types = [] # Some hint types cannot have additional hints placed
minned_hint_types = [] # Some hint types cannot have all their hints removed
# In level order (or vanilla) progression, there are hints that we want to be in the player's path
# Determine what hint types are valid for these settings
valid_types = [HintType.Joke]
Expand Down

0 comments on commit 01c23f2

Please sign in to comment.