add Zora hint

(probably add and condition for shop_slot_shuffle, testing things)
This commit is contained in:
Fabian Dill 2021-02-07 10:42:20 +01:00
parent 54ca6bb26f
commit 28e2c62884
2 changed files with 10 additions and 1 deletions

9
Rom.py
View File

@ -1971,6 +1971,15 @@ def write_strings(rom, world, player, team):
# For hints, first we write hints about entrances, some from the inconvenient list others from all reasonable entrances.
if world.hints[player]:
# Zora hint
zora_location = world.get_location("King Zora", player)
if zora_location.player != zora_location.item.player:
player_text = f" for {world.player_names[zora_location.item.player][team]}"
else:
player_text = ""
tt['zora_tells_cost'] = f"You got 500 rupees to buy {zora_location.item.name}{player_text}" \
f"\n ≥ Duh\n Oh carp\n{{CHOICE}}"
tt['sign_north_of_links_house'] = '> Randomizer The telepathic tiles can have hints!'
hint_locations = HintLocations.copy()
local_random.shuffle(hint_locations)

View File

@ -1443,7 +1443,7 @@ class TextTable(object):
'zora_meeting',
'zora_tells_cost',
'zora_get_flippers',
#'zora_no_cash',
'zora_no_cash',
'zora_no_buy_item',
'agahnim_zelda_teleport',
'agahnim_magic_running_away',