add Zora hint
(probably add and condition for shop_slot_shuffle, testing things)
This commit is contained in:
parent
54ca6bb26f
commit
28e2c62884
9
Rom.py
9
Rom.py
|
@ -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.
|
# For hints, first we write hints about entrances, some from the inconvenient list others from all reasonable entrances.
|
||||||
if world.hints[player]:
|
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!'
|
tt['sign_north_of_links_house'] = '> Randomizer The telepathic tiles can have hints!'
|
||||||
hint_locations = HintLocations.copy()
|
hint_locations = HintLocations.copy()
|
||||||
local_random.shuffle(hint_locations)
|
local_random.shuffle(hint_locations)
|
||||||
|
|
2
Text.py
2
Text.py
|
@ -1443,7 +1443,7 @@ class TextTable(object):
|
||||||
'zora_meeting',
|
'zora_meeting',
|
||||||
'zora_tells_cost',
|
'zora_tells_cost',
|
||||||
'zora_get_flippers',
|
'zora_get_flippers',
|
||||||
#'zora_no_cash',
|
'zora_no_cash',
|
||||||
'zora_no_buy_item',
|
'zora_no_buy_item',
|
||||||
'agahnim_zelda_teleport',
|
'agahnim_zelda_teleport',
|
||||||
'agahnim_magic_running_away',
|
'agahnim_magic_running_away',
|
||||||
|
|
Loading…
Reference in New Issue