From 28e2c6288410b1e9b26ddb21626b66f4aa40ece0 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 7 Feb 2021 10:42:20 +0100 Subject: [PATCH] add Zora hint (probably add and condition for shop_slot_shuffle, testing things) --- Rom.py | 9 +++++++++ Text.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index af7e85a9..eabc7c68 100644 --- a/Rom.py +++ b/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. 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) diff --git a/Text.py b/Text.py index 890d2ad9..496a2099 100644 --- a/Text.py +++ b/Text.py @@ -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',