diff --git a/CHANGELOG.md b/CHANGELOG.md index 071aeafd..534152af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.5.1.3 +- Fixed some minor issues with mystery multiworld +- Corrected some generation issues with Nearby dungeon item shuffles + ## 0.5.1.2 - Many fixes to HMG logic, generation, key collection issues - Fixed issue with In-Dungeon Prizes getting placed in the same dungeon diff --git a/Fill.py b/Fill.py index 068b1c26..959b97b4 100644 --- a/Fill.py +++ b/Fill.py @@ -67,7 +67,7 @@ def fill_dungeons_restrictive(world, shuffled_locations): all_state_base = world.get_all_state() for player in range(1, world.players + 1): - if world.logic[player] == 'hybridglitches' and world.keyshuffle[i.player] in ['none', 'nearby'] \ + if world.logic[player] == 'hybridglitches' and world.keyshuffle[player] in ['none', 'nearby'] \ and world.pottery[player] not in ['none', 'cave']: # remove 2 keys from main pool count_to_remove = 2 diff --git a/Main.py b/Main.py index 1e64d179..361743cb 100644 --- a/Main.py +++ b/Main.py @@ -161,7 +161,7 @@ def main(args, seed=None, fish=None): if world.spoiler_mode != 'none' and not args.jsonout: logger.info(world.fish.translate("cli", "cli", "create.meta")) world.spoiler.meta_to_file(output_path(f'{outfilebase}_Spoiler.txt')) - if args.mystery and not (args.suppress_meta or args.spoiler != 'none'): + if args.mystery and not args.suppress_meta: world.spoiler.mystery_meta_to_file(output_path(f'{outfilebase}_meta.txt')) for player in range(1, world.players + 1): @@ -361,7 +361,7 @@ def main(args, seed=None, fish=None): with open(output_path('%s_multidata' % outfilebase), 'wb') as f: f.write(multidata) - if args.mystery and not (args.suppress_meta or args.spoiler not in ['full']): + if args.mystery and not args.suppress_meta: world.spoiler.hashes_to_file(output_path(f'{outfilebase}_meta.txt')) elif world.spoiler_mode != 'none' and not args.jsonout: world.spoiler.hashes_to_file(output_path(f'{outfilebase}_Spoiler.txt')) diff --git a/OverworldShuffle.py b/OverworldShuffle.py index 0c2586ef..9a3d86ba 100644 --- a/OverworldShuffle.py +++ b/OverworldShuffle.py @@ -8,7 +8,7 @@ from OWEdges import OWTileRegions, OWEdgeGroups, OWEdgeGroupsTerrain, OWExitType from OverworldGlitchRules import create_owg_connections from Utils import bidict -version_number = '0.5.1.2' +version_number = '0.5.1.3' # branch indicator is intentionally different across branches version_branch = '' diff --git a/UnderworldGlitchRules.py b/UnderworldGlitchRules.py index 24a92dd0..56e64f71 100644 --- a/UnderworldGlitchRules.py +++ b/UnderworldGlitchRules.py @@ -67,7 +67,7 @@ def connect_hmg_entrances_regions(world, player): connection.connect(target) # Add the new Ice path (back of bomb drop to front) to the world and model it properly - ip_clip_entrance = world.get_entrance('Ice Bomb Drop Clip', 1) + ip_clip_entrance = world.get_entrance('Ice Bomb Drop Clip', player) clip_door = Door(player, "Ice Bomb Drop Clip", DoorType.Logical, ip_clip_entrance) world.doors += [clip_door] world.initialize_doors([clip_door]) diff --git a/resources/app/cli/args.json b/resources/app/cli/args.json index 91c84430..908ab362 100644 --- a/resources/app/cli/args.json +++ b/resources/app/cli/args.json @@ -371,20 +371,21 @@ "mapshuffle": { "choices": [ "none", - "district", + "nearby", "wild" ] }, "compassshuffle": { "choices": [ "none", - "district", + "nearby", "wild" ] }, "keyshuffle": { "choices": [ "none", + "nearby", "wild", "universal" ] @@ -392,7 +393,7 @@ "bigkeyshuffle": { "choices": [ "none", - "district", + "nearby", "wild" ] }, @@ -400,7 +401,7 @@ "choices": [ "none", "dungeon", - "district", + "nearby", "wild" ] }, diff --git a/resources/app/gui/lang/en.json b/resources/app/gui/lang/en.json index d40944ae..5d5624c3 100644 --- a/resources/app/gui/lang/en.json +++ b/resources/app/gui/lang/en.json @@ -54,25 +54,25 @@ "randomizer.dungeon.keysanity": "Shuffle: ", "randomizer.dungeon.mapshuffle": "Maps", "randomizer.dungeon.mapshuffle.none": "In Dungeon", - "randomizer.dungeon.mapshuffle.district": "Nearby", + "randomizer.dungeon.mapshuffle.nearby": "Nearby", "randomizer.dungeon.mapshuffle.wild": "Randomized", "randomizer.dungeon.compassshuffle": "Compasses", "randomizer.dungeon.compassshuffle.none": "In Dungeon", - "randomizer.dungeon.compassshuffle.district": "Nearby", + "randomizer.dungeon.compassshuffle.nearby": "Nearby", "randomizer.dungeon.compassshuffle.wild": "Randomized", "randomizer.dungeon.smallkeyshuffle": "Small Keys", "randomizer.dungeon.smallkeyshuffle.none": "In Dungeon", - "randomizer.dungeon.smallkeyshuffle.district": "Nearby", + "randomizer.dungeon.smallkeyshuffle.nearby": "Nearby", "randomizer.dungeon.smallkeyshuffle.wild": "Randomized", "randomizer.dungeon.smallkeyshuffle.universal": "Universal", "randomizer.dungeon.bigkeyshuffle": "Big Keys", "randomizer.dungeon.bigkeyshuffle.none": "In Dungeon", - "randomizer.dungeon.bigkeyshuffle.district": "Nearby", + "randomizer.dungeon.bigkeyshuffle.nearby": "Nearby", "randomizer.dungeon.bigkeyshuffle.wild": "Randomized", "randomizer.dungeon.prizeshuffle": "Prizes", "randomizer.dungeon.prizeshuffle.none": "On Boss", "randomizer.dungeon.prizeshuffle.dungeon": "In Dungeon", - "randomizer.dungeon.prizeshuffle.district": "Nearby", + "randomizer.dungeon.prizeshuffle.nearby": "Nearby", "randomizer.dungeon.prizeshuffle.wild": "Randomized", "randomizer.dungeon.decoupledoors": "Decouple Doors", "randomizer.dungeon.door_self_loops": "Allow Self-Looping Spiral Stairs", diff --git a/resources/app/gui/randomize/dungeon/keysanity.json b/resources/app/gui/randomize/dungeon/keysanity.json index 9cf39dd0..f150e6ad 100644 --- a/resources/app/gui/randomize/dungeon/keysanity.json +++ b/resources/app/gui/randomize/dungeon/keysanity.json @@ -4,7 +4,7 @@ "type": "selectbox", "options": [ "none", - "district", + "nearby", "wild" ], "config": { @@ -15,7 +15,7 @@ "type": "selectbox", "options": [ "none", - "district", + "nearby", "wild" ], "config": { @@ -26,7 +26,7 @@ "type": "selectbox", "options": [ "none", - "district", + "nearby", "wild", "universal" ], @@ -38,7 +38,7 @@ "type": "selectbox", "options": [ "none", - "district", + "nearby", "wild" ], "config": { diff --git a/resources/app/gui/randomize/dungeon/widgets.json b/resources/app/gui/randomize/dungeon/widgets.json index ec22f036..01a98784 100644 --- a/resources/app/gui/randomize/dungeon/widgets.json +++ b/resources/app/gui/randomize/dungeon/widgets.json @@ -6,7 +6,7 @@ "options": [ "none", "dungeon", - "district", + "nearby", "wild" ], "config": {