Skip to content

Commit

Permalink
Clearer hint text for bridge condition, fixes #1473
Browse files Browse the repository at this point in the history
  • Loading branch information
fenhl committed Sep 30, 2023
1 parent b1285ac commit f7d8f5c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -1658,9 +1658,8 @@ def build_boss_string(reward: str, color: str, world: World) -> str:


def build_bridge_reqs_string(world: World) -> str:
string = "\x13\x12" # Light Arrow Icon
if world.settings.bridge == 'open':
string += "The awakened ones will have #already created a bridge# to the castle where the evil dwells."
string = "The awakened ones will have #already created a bridge# to the castle where the evil dwells."
else:
if world.settings.bridge == 'vanilla':
item_req_string = "the #Shadow and Spirit Medallions# as well as the #Light Arrows#"
Expand All @@ -1673,7 +1672,10 @@ def build_bridge_reqs_string(world: World) -> str:
'hearts': (world.settings.bridge_hearts, "#heart#", "#hearts#"),
}[world.settings.bridge]
item_req_string = f'{count} {singular if count == 1 else plural}'
string += f"The awakened ones will await for the Hero to collect {item_req_string}."
if world.settings.clearer_hints:
string = f"The rainbow bridge will be built once the Hero collects {item_req_string}."
else:
string = f"The awakened ones will await for the Hero to collect {item_req_string}."
return str(GossipText(string, ['Green'], prefix=''))


Expand Down

0 comments on commit f7d8f5c

Please sign in to comment.