Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Altar in child now give information about SoT and OoT #2338

Open
wants to merge 2 commits into
base: Dev
Choose a base branch
from
Open
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions Hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,9 @@ def build_altar_hints(world: World, messages: list[Message], include_rewards: bo
child_text += get_hint('Spiritual Stone Text Start', world.settings.clearer_hints).text + '\x04'
for (reward, color) in boss_rewards_spiritual_stones:
child_text += build_boss_string(reward, color, world)
if 'altar_child_oot' in world.settings.misc_hints:
child_text += build_oot_sot_hints(world)
child_text += '\x04'
child_text += get_hint('Child Altar Text End', world.settings.clearer_hints).text
child_text += '\x0B'
update_message_by_id(messages, 0x707A, get_raw_text(child_text), 0x20)
Expand Down Expand Up @@ -1704,6 +1707,16 @@ def build_boss_string(reward: str, color: str, world: World) -> str:
text = GossipText(f"\x08\x13{item_icon}One {location_text}...", [color], prefix='')
return str(text) + '\x04'

def build_oot_sot_hints(world: World) -> str:
sot_location = world.get_location('Song from Ocarina of Time')
oot_location = world.get_location('HF Ocarina of Time Item')

sot_item = "#" + get_hint(get_item_generic_name(sot_location.item), world.settings.clearer_hints).text + '# '
oot_item = "#" + get_hint(get_item_generic_name(oot_location.item), world.settings.clearer_hints).text + '# '

string = f"It is also written that reuniting #The Spiritual Stones# leads to " + sot_item + " and " + oot_item + ''

return str(GossipText(string, ['Yellow', 'Blue', 'Blue'], prefix=''))

def build_bridge_reqs_string(world: World) -> str:
if world.settings.bridge == 'open':
Expand Down
5 changes: 5 additions & 0 deletions SettingsList.py
Original file line number Diff line number Diff line change
Expand Up @@ -3497,6 +3497,7 @@ class SettingInfos:
gui_text = 'Misc. Hints',
choices = {
'altar': 'Temple of Time Altar',
'altar_child_oot': 'Temple of Time Altar Child OoT and SoT rewards',
'dampe_diary': "Dampé's Diary (Hookshot)",
'ganondorf': 'Ganondorf (Light Arrows)',
'warp_songs_and_owls': 'Warp Songs and Owls',
Expand All @@ -3519,6 +3520,10 @@ class SettingInfos:
Spiritual Stones (unless Maps and Compasses
Give Information is enabled).

Reading the Temple of Time altar as a child will
tell you what rewards the Ocarina of Time and
the Song of Time lead to.

Reading the Temple of Time altar as adult
will tell you the locations of the Medallions
(unless Maps and Compasses Give Information
Expand Down
Loading