Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions Hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,14 +695,17 @@ def get_goal_hint(spoiler: Spoiler, world: World, checked: dict[HintArea | str,
goal.weight = 0

location_text = HintArea.at(location).text(world.settings.clearer_hints)
if world_id == world.id:
player_text = "the"
goal_text = goal.hint_text
if goal.name in world.hint_dist_user.get('upgrade_goals_to_woth', []) and location in spoiler.required_locations[world.id]:
return GossipText('%s is on the way of the hero.' % location_text, ['Light Blue'], [location.name], [location.item.name]), [location]
else:
player_text = "Player %s's" % (world_id + 1)
goal_text = spoiler.goal_categories[world_id][goal_category.name].get_goal(goal.name).hint_text
if world_id == world.id:
player_text = "the"
goal_text = goal.hint_text
else:
player_text = "Player %s's" % (world_id + 1)
goal_text = spoiler.goal_categories[world_id][goal_category.name].get_goal(goal.name).hint_text

return GossipText('%s is on %s %s.' % (location_text, player_text, goal_text), ['Light Blue', goal.color], [location.name], [location.item.name]), [location]
return GossipText('%s is on %s %s.' % (location_text, player_text, goal_text), ['Light Blue', goal.color], [location.name], [location.item.name]), [location]


def get_barren_hint(spoiler: Spoiler, world: World, checked: dict[HintArea | str, set[CheckedKind]]) -> HintReturn:
Expand Down
Loading