mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Updating logic and features to better match VT26
Updates include: * Allow acticating tablets with hammer * Remove 1/4 magic from the normal mode pool * Incorporate OHKO compatible cape/cane-of-byrna requirements * Upgrade Mirror Shield, Progressive Shield, and Bug Catching Net to qualify as advancement items * Allow Mirror shield as alternative to cape/byrna for Laser Bridge * Prevent Waterfall Fairy from upgrading Boomerang or Shield * Change PoD key logic to match VT26. * Add restrictions on small key placement (to match VT26). I think these restrictions may be redundant, but I'm adding them just in case any of them are not.
This commit is contained in:
9
Main.py
9
Main.py
@@ -158,9 +158,7 @@ def generate_itempool(world):
|
||||
['Arrows (10)'] * 5 + ['Bombs (3)'] * 10)
|
||||
|
||||
if world.mode == 'swordless':
|
||||
world.push_item('Ether Tablet', ItemFactory('Rupees (20)'), False)
|
||||
world.push_item('Bombos Tablet', ItemFactory('Rupees (20)'), False)
|
||||
world.itempool.extend(ItemFactory(['Rupees (20)', 'Rupees (20)']))
|
||||
world.itempool.extend(ItemFactory(['Rupees (20)'] * 4))
|
||||
elif world.mode == 'standard':
|
||||
world.push_item('Uncle', ItemFactory('Progressive Sword'), False)
|
||||
world.get_location('Uncle').event = True
|
||||
@@ -184,10 +182,7 @@ def generate_itempool(world):
|
||||
world.treasure_hunt_icon = 'Triforce Piece'
|
||||
world.itempool.extend(ItemFactory(['Triforce Piece'] * 30))
|
||||
|
||||
if random.randint(0, 3) == 0:
|
||||
world.itempool.append(ItemFactory('Magic Upgrade (1/4)'))
|
||||
else:
|
||||
world.itempool.append(ItemFactory('Magic Upgrade (1/2)'))
|
||||
world.itempool.append(ItemFactory('Magic Upgrade (1/2)'))
|
||||
|
||||
# shuffle medallions
|
||||
mm_medallion = ['Ether', 'Quake', 'Bombos'][random.randint(0, 2)]
|
||||
|
Reference in New Issue
Block a user