From bce288f897118619edb17666a0af4d83ffb92040 Mon Sep 17 00:00:00 2001 From: aerinon Date: Fri, 4 Mar 2022 15:10:22 -0700 Subject: [PATCH] Retro + pottery fixed --- ItemList.py | 4 +++- Main.py | 2 +- RELEASENOTES.md | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ItemList.py b/ItemList.py index 67b63c80..ea35dd59 100644 --- a/ItemList.py +++ b/ItemList.py @@ -419,7 +419,9 @@ def set_up_take_anys(world, player): if 'Archery Game' in take_any_locations: take_any_locations.remove('Archery Game') - regions = random.sample(take_any_locations, 5) + take_any_candidates = [x for x in take_any_locations if len(world.get_region(x, player).locations) == 0] + + regions = random.sample(take_any_candidates, 5) old_man_take_any = Region("Old Man Sword Cave", RegionType.Cave, 'the sword cave', player) world.regions.append(old_man_take_any) diff --git a/Main.py b/Main.py index 3383ec2f..f9f4ca53 100644 --- a/Main.py +++ b/Main.py @@ -31,7 +31,7 @@ from Utils import output_path, parse_player_names from source.item.FillUtil import create_item_pool_config, massage_item_pool, district_item_pool_config from source.tools.BPS import create_bps_from_data -__version__ = '1.0.1.9-v' +__version__ = '1.0.1.8-v' from source.classes.BabelFish import BabelFish diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 6acdbd7f..fa1a3186 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -146,12 +146,13 @@ Same as above but both small keys and bigs keys of the dungeon are not allowed o ## Notes and Bug Fixes #### Volatile -* 1.0.1.9 + +* 1.0.1.8 * Every pot you pick up now counts toward the location count * A pot will de-spawn before the item under it does, error beep only plays if it still can't spawn * Updated item counter & credits to support 4 digits * Updated compass counter to support 3 digits (up to 255) -* 1.0.1.8 + * Updated retro take-anys to not replace pot locations when pottery options are used * Updated mystery_example.yml * Fixed usestartinventory with mystery * Fixed a bug with the old pot shuffle (crashed when used)