From 736945658aad2ba7344ae4f33888f25722966924 Mon Sep 17 00:00:00 2001 From: espeon65536 <81029175+espeon65536@users.noreply.github.com> Date: Sun, 9 Jul 2023 06:30:05 -0600 Subject: [PATCH] OoT: Python 3.11 Compatibility fix and Minor Bug fixes (#1948) * OoT: biggoron's sword and giant's knife now considered progression in non-glitchless * OoT: fixed seeding the random module with the Random object --- worlds/oot/Cosmetics.py | 2 +- worlds/oot/Items.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/worlds/oot/Cosmetics.py b/worlds/oot/Cosmetics.py index 7b8008fbe6d1..f40f8a1ebb06 100644 --- a/worlds/oot/Cosmetics.py +++ b/worlds/oot/Cosmetics.py @@ -769,7 +769,7 @@ def patch_instrument(rom, ootworld, symbols): def patch_cosmetics(ootworld, rom): # Use the world's slot seed for cosmetics - random.seed(ootworld.multiworld.per_slot_randoms[ootworld.player]) + random.seed(ootworld.multiworld.per_slot_randoms[ootworld.player].random()) # try to detect the cosmetic patch data format versioned_patch_set = None diff --git a/worlds/oot/Items.py b/worlds/oot/Items.py index e3ce920d12b6..4569256382a0 100644 --- a/worlds/oot/Items.py +++ b/worlds/oot/Items.py @@ -94,7 +94,7 @@ def dungeonitem(self) -> bool: 'Eyedrops': ('Item', True, 0x25, {'trade': True}), 'Claim Check': ('Item', True, 0x26, {'trade': True}), 'Kokiri Sword': ('Item', True, 0x27, None), - 'Giants Knife': ('Item', None, 0x28, None), + 'Giants Knife': ('Item', True, 0x28, None), 'Deku Shield': ('Item', None, 0x29, None), 'Hylian Shield': ('Item', None, 0x2A, None), 'Mirror Shield': ('Item', True, 0x2B, None), @@ -124,7 +124,7 @@ def dungeonitem(self) -> bool: 'Gerudo Mask': ('Item', None, 0x53, None), 'Rupees (50)': ('Item', None, 0x55, {'junk': 1}), 'Rupees (200)': ('Item', None, 0x56, {'junk': 0}), - 'Biggoron Sword': ('Item', None, 0x57, None), + 'Biggoron Sword': ('Item', True, 0x57, None), 'Fire Arrows': ('Item', True, 0x58, None), 'Ice Arrows': ('Item', True, 0x59, None), 'Light Arrows': ('Item', True, 0x5A, None),