Skip to content

Commit 393b7d1

Browse files
committed
Add boss_goal_names hint distro option
1 parent 03b7479 commit 393b7d1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Goals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def update_reachable_goals(self, starting_search: Search, full_search: Search) -
148148

149149
def replace_goal_names(worlds: list[World]) -> None:
150150
for world in worlds:
151-
if world.settings.shuffle_dungeon_rewards in ('vanilla', 'reward'):
151+
if world.hint_dist_user['boss_goal_names'] and world.settings.shuffle_dungeon_rewards in ('vanilla', 'reward'):
152152
bosses = [
153153
location
154154
for location in world.get_filled_locations()

World.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ def __init__(self, world_id: int, settings: Settings, resolve_randomized_setting
179179
self.hint_dist_user['upgrade_hints'] = 'off'
180180
if 'combine_trial_hints' not in self.hint_dist_user:
181181
self.hint_dist_user['combine_trial_hints'] = False
182+
if 'boss_goal_names' not in self.hint_dist_user:
183+
self.hint_dist_user['boss_goal_names'] = True
182184

183185
# Validate hint distribution format
184186
# Originally built when I was just adding the type distributions

0 commit comments

Comments
 (0)