Skip to content

Commit 5b97284

Browse files
espeon65536FlySniper
authored andcommitted
OoT: Python 3.11 Compatibility fix and Minor Bug fixes (ArchipelagoMW#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
1 parent ad281c9 commit 5b97284

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

worlds/oot/Cosmetics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def patch_instrument(rom, ootworld, symbols):
769769

770770
def patch_cosmetics(ootworld, rom):
771771
# Use the world's slot seed for cosmetics
772-
random.seed(ootworld.multiworld.per_slot_randoms[ootworld.player])
772+
random.seed(ootworld.multiworld.per_slot_randoms[ootworld.player].random())
773773

774774
# try to detect the cosmetic patch data format
775775
versioned_patch_set = None

worlds/oot/Items.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def dungeonitem(self) -> bool:
9494
'Eyedrops': ('Item', True, 0x25, {'trade': True}),
9595
'Claim Check': ('Item', True, 0x26, {'trade': True}),
9696
'Kokiri Sword': ('Item', True, 0x27, None),
97-
'Giants Knife': ('Item', None, 0x28, None),
97+
'Giants Knife': ('Item', True, 0x28, None),
9898
'Deku Shield': ('Item', None, 0x29, None),
9999
'Hylian Shield': ('Item', None, 0x2A, None),
100100
'Mirror Shield': ('Item', True, 0x2B, None),
@@ -124,7 +124,7 @@ def dungeonitem(self) -> bool:
124124
'Gerudo Mask': ('Item', None, 0x53, None),
125125
'Rupees (50)': ('Item', None, 0x55, {'junk': 1}),
126126
'Rupees (200)': ('Item', None, 0x56, {'junk': 0}),
127-
'Biggoron Sword': ('Item', None, 0x57, None),
127+
'Biggoron Sword': ('Item', True, 0x57, None),
128128
'Fire Arrows': ('Item', True, 0x58, None),
129129
'Ice Arrows': ('Item', True, 0x59, None),
130130
'Light Arrows': ('Item', True, 0x5A, None),

0 commit comments

Comments
 (0)