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:
parent
cfe14aec76
commit
736945658a
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue