Skip to content

Commit 3e9cb56

Browse files
committed
Fix no map textbox update case and solve preset conflict on dev
1 parent 71c342e commit 3e9cb56

2 files changed

Lines changed: 2 additions & 236 deletions

File tree

Messages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,8 @@ def update_map_compass_messages(messages: list[Message], world: World):
15091509
map_message = f"\x13\x76\x08You found the \x05\x41Map\x05\x40 for {COLOR_MAP['Red'] + 'masterful' if world.dungeon_mq[dungeon.name] else COLOR_MAP['Green'] + 'ordinary'}\x01{dungeon_name}\x05\x40!\x01In this dungeon, {boss_textboxes[boss_room]}\x05\x40\x01lurks within!\x05\x40\x09"
15101510
else:
15111511
map_message = f"\x13\x76\x08You found the \x05\x41Map\x05\x40 for\x01{dungeon_name}\x05\x40!\x01In this dungeon, {boss_textboxes[boss_room]}\x05\x40\x01lurks within!\x05\x40\x09"
1512+
update_message_by_id(messages, map_id, map_message, allow_duplicates=True)
15121513
else:
15131514
if 'map_mq' in world.settings.enhance_map_compass and (world.settings.mq_dungeons_mode == 'random' or world.settings.mq_dungeons_count != 0 and world.settings.mq_dungeons_count != 12):
15141515
map_message = f"\x13\x76\x08You found the \x05\x41Map\x05\x40 for\x01{dungeon_name}\x05\x40!\x01It\'s {COLOR_MAP['Red'] + 'masterful' if world.dungeon_mq[dungeon.name] else COLOR_MAP['Green'] + 'ordinary'}!\x09"
1515-
update_message_by_id(messages, map_id, map_message, allow_duplicates=True)
1516+
update_message_by_id(messages, map_id, map_message, allow_duplicates=True)

data/presets_default.json

Lines changed: 0 additions & 235 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,241 +2137,6 @@
21372137
"custom_ice_trap_count": 100,
21382138
"ice_trap_appearance": "junk_only"
21392139
},
2140-
<<<<<<< HEAD
2141-
=======
2142-
"League S7": {
2143-
"aliases": [
2144-
"league",
2145-
"league_s7"
2146-
],
2147-
"show_seed_info": true,
2148-
"user_message": "OoTR League S7",
2149-
"world_count": 1,
2150-
"create_spoiler": true,
2151-
"password_lock": false,
2152-
"randomize_settings": false,
2153-
"logic_rules": "glitchless",
2154-
"reachable_locations": "beatable",
2155-
"triforce_hunt": false,
2156-
"triforce_count_per_world": 30,
2157-
"triforce_goal_per_world": 20,
2158-
"lacs_condition": "vanilla",
2159-
"lacs_medallions": 6,
2160-
"lacs_stones": 3,
2161-
"lacs_rewards": 9,
2162-
"lacs_tokens": 100,
2163-
"lacs_hearts": 20,
2164-
"bridge": "medallions",
2165-
"bridge_medallions": 5,
2166-
"bridge_stones": 3,
2167-
"bridge_rewards": 9,
2168-
"bridge_tokens": 100,
2169-
"bridge_hearts": 20,
2170-
"trials_random": false,
2171-
"trials": 0,
2172-
"shuffle_ganon_bosskey": "medallions",
2173-
"ganon_bosskey_medallions": 6,
2174-
"ganon_bosskey_stones": 3,
2175-
"ganon_bosskey_rewards": 9,
2176-
"ganon_bosskey_tokens": 100,
2177-
"ganon_bosskey_hearts": 20,
2178-
"open_forest": "closed_deku",
2179-
"open_kakariko": "open",
2180-
"open_door_of_time": "open",
2181-
"zora_fountain": "closed",
2182-
"gerudo_fortress": "fast",
2183-
"dungeon_shortcuts_choice": "off",
2184-
"dungeon_shortcuts": [],
2185-
"starting_age": "random",
2186-
"mq_dungeons_mode": "vanilla",
2187-
"mq_dungeons_specific": [],
2188-
"mq_dungeons_count": 0,
2189-
"empty_dungeons_mode": "none",
2190-
"empty_dungeons_specific": [],
2191-
"empty_dungeons_rewards": [],
2192-
"empty_dungeons_count": 2,
2193-
"shuffle_interior_entrances": "off",
2194-
"shuffle_hideout_entrances": false,
2195-
"shuffle_gerudo_fortress_heart_piece": "remove",
2196-
"shuffle_grotto_entrances": false,
2197-
"shuffle_dungeon_entrances": "off",
2198-
"shuffle_bosses": "off",
2199-
"shuffle_ganon_tower": false,
2200-
"shuffle_overworld_entrances": false,
2201-
"shuffle_gerudo_valley_river_exit": false,
2202-
"owl_drops": false,
2203-
"warp_songs": false,
2204-
"spawn_positions": [
2205-
"child",
2206-
"adult"
2207-
],
2208-
"free_bombchu_drops": false,
2209-
"shuffle_song_items": "song",
2210-
"shopsanity": "off",
2211-
"special_deal_price_distribution": "betavariate",
2212-
"special_deal_price_min": 0,
2213-
"special_deal_price_max": 300,
2214-
"tokensanity": "off",
2215-
"shuffle_scrubs": "low",
2216-
"shuffle_child_trade": [],
2217-
"adult_trade_shuffle": false,
2218-
"adult_trade_start": [
2219-
"Prescription",
2220-
"Eyeball Frog",
2221-
"Eyedrops",
2222-
"Claim Check"
2223-
],
2224-
"shuffle_freestanding_items": "off",
2225-
"shuffle_pots": "off",
2226-
"shuffle_empty_pots": false,
2227-
"shuffle_crates": "off",
2228-
"shuffle_empty_crates": false,
2229-
"shuffle_cows": false,
2230-
"shuffle_beehives": false,
2231-
"shuffle_wonderitems": false,
2232-
"shuffle_kokiri_sword": true,
2233-
"shuffle_ocarinas": false,
2234-
"shuffle_gerudo_card": false,
2235-
"shuffle_beans": false,
2236-
"shuffle_expensive_merchants": false,
2237-
"shuffle_frog_song_rupees": false,
2238-
"shuffle_100_skulltula_rupee": false,
2239-
"shuffle_loach_reward": "off",
2240-
"shuffle_individual_ocarina_notes": false,
2241-
"shuffle_dungeon_rewards": "reward",
2242-
"shuffle_mapcompass": "startwith",
2243-
"shuffle_smallkeys": "dungeon",
2244-
"shuffle_hideoutkeys": "vanilla",
2245-
"shuffle_tcgkeys": "vanilla",
2246-
"key_rings_choice": "off",
2247-
"key_rings": [],
2248-
"keyring_give_bk": false,
2249-
"shuffle_bosskeys": "dungeon",
2250-
"shuffle_silver_rupees": "vanilla",
2251-
"silver_rupee_pouches_choice": "off",
2252-
"silver_rupee_pouches": [],
2253-
"enhance_map_compass": [],
2254-
"logic_no_night_tokens_without_suns_song": false,
2255-
"disabled_locations": [
2256-
"Deku Theater Mask of Truth",
2257-
"Song from Impa",
2258-
"Dodongos Cavern Deku Scrub Lobby",
2259-
"Dodongos Cavern Deku Scrub Near Bomb Bag Right",
2260-
"Dodongos Cavern Deku Scrub Near Bomb Bag Left",
2261-
"Dodongos Cavern Deku Scrub Side Room Near Dodongos",
2262-
"Jabu Jabus Belly Deku Scrub",
2263-
"Ganons Castle Deku Scrub Center-Left",
2264-
"Ganons Castle Deku Scrub Center-Right",
2265-
"Ganons Castle Deku Scrub Right",
2266-
"Ganons Castle Deku Scrub Left"
2267-
],
2268-
"allowed_tricks": [
2269-
"logic_fewer_tunic_requirements",
2270-
"logic_grottos_without_agony",
2271-
"logic_child_deadhand",
2272-
"logic_rusted_switches",
2273-
"logic_forest_vines",
2274-
"logic_lens_botw",
2275-
"logic_lens_castle",
2276-
"logic_lens_gtg",
2277-
"logic_lens_shadow",
2278-
"logic_lens_shadow_platform",
2279-
"logic_lens_bongo",
2280-
"logic_lens_spirit",
2281-
"logic_man_on_roof",
2282-
"logic_windmill_poh",
2283-
"logic_crater_bean_poh_with_hovers",
2284-
"logic_dc_jump"
2285-
],
2286-
"advanced_allowed_tricks": [],
2287-
"starting_equipment": [
2288-
"deku_shield"
2289-
],
2290-
"starting_inventory": [
2291-
"ocarina",
2292-
"lens",
2293-
"farores_wind",
2294-
"zeldas_letter"
2295-
],
2296-
"starting_songs": [
2297-
"prelude"
2298-
],
2299-
"add_random_starting_items": 0,
2300-
"start_with_consumables": true,
2301-
"start_with_rupees": true,
2302-
"starting_hearts": 3,
2303-
"skip_reward_from_rauru": true,
2304-
"no_escape_sequence": true,
2305-
"no_guard_stealth": true,
2306-
"no_epona_race": true,
2307-
"skip_some_minigame_phases": true,
2308-
"complete_mask_quest": false,
2309-
"useful_cutscenes": false,
2310-
"fast_chests": true,
2311-
"scarecrow_behavior": "vanilla",
2312-
"fast_bunny_hood": true,
2313-
"auto_equip_masks": false,
2314-
"plant_beans": true,
2315-
"easier_fire_arrow_entry": false,
2316-
"fae_torch_count": 3,
2317-
"ruto_already_f1_jabu": true,
2318-
"fast_shadow_boat": false,
2319-
"chicken_count_random": false,
2320-
"chicken_count": 3,
2321-
"big_poe_count_random": false,
2322-
"big_poe_count": 1,
2323-
"clearer_hints": true,
2324-
"hints": "always",
2325-
"hint_dist": "league",
2326-
"item_hints": [],
2327-
"hint_dist_user": {},
2328-
"plandomized_locations": {},
2329-
"misc_hints": [
2330-
"altar",
2331-
"ganondorf",
2332-
"warp_songs_and_owls",
2333-
"30_skulltulas",
2334-
"40_skulltulas",
2335-
"50_skulltulas"
2336-
],
2337-
"correct_chest_appearances": "both",
2338-
"chest_textures_specific": [
2339-
"major",
2340-
"bosskeys",
2341-
"keys",
2342-
"tokens",
2343-
"hearts"
2344-
],
2345-
"soa_unlocks_chest_texture": false,
2346-
"minor_items_as_major_chest": [],
2347-
"invisible_chests": false,
2348-
"correct_potcrate_appearances": "textures_content",
2349-
"key_appearance_match_dungeon": false,
2350-
"potcrate_textures_specific": [
2351-
"major",
2352-
"bosskeys",
2353-
"keys",
2354-
"tokens",
2355-
"hearts"
2356-
],
2357-
"soa_unlocks_potcrate_texture": false,
2358-
"ocarina_songs": [],
2359-
"text_shuffle": "none",
2360-
"damage_multiplier": "normal",
2361-
"deadly_bonks": "none",
2362-
"starting_tod": "default",
2363-
"blue_fire_arrows": true,
2364-
"fix_broken_drops": false,
2365-
"tcg_requires_lens": false,
2366-
"no_collectible_hearts": false,
2367-
"one_item_per_dungeon": false,
2368-
"item_pool_value": "balanced",
2369-
"junk_ice_traps": "off",
2370-
"custom_ice_trap_percent": 50,
2371-
"custom_ice_trap_count": 100,
2372-
"ice_trap_appearance": "junk_only"
2373-
},
2374-
>>>>>>> 3eab7acf (Move new data into auto-tracker context)
23752140
"Co-Op Tournament Season 3": {
23762141
"aliases": [
23772142
"co-op",

0 commit comments

Comments
 (0)