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
This commit is contained in:
espeon65536 2023-07-09 06:30:05 -06:00 committed by GitHub
parent cfe14aec76
commit 736945658a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -769,7 +769,7 @@ patch_sets[0x1F073FD9] = {
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

View File

@ -94,7 +94,7 @@ item_table = {
'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 @@ item_table = {
'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),