mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix issue with having more items than locations, the (-3) is a placeholder until we officially add in code that compensates the 3 added heart of stones
This commit is contained in:
@@ -56,7 +56,7 @@ class GrinchWorld(World):
|
|||||||
self_itempool.append(self.create_item(item))
|
self_itempool.append(self.create_item(item))
|
||||||
|
|
||||||
#Get number of current unfilled locations
|
#Get number of current unfilled locations
|
||||||
unfilled_locations: int = len(self.multiworld.get_unfilled_locations(self.player))
|
unfilled_locations: int = len(self.multiworld.get_unfilled_locations(self.player)) - len(ALL_ITEMS_TABLE.keys()) - 3
|
||||||
|
|
||||||
for _ in range(unfilled_locations):
|
for _ in range(unfilled_locations):
|
||||||
self_itempool.append(self.create_item((self.get_other_filler_item(list(MISC_ITEMS_TABLE.keys())))))
|
self_itempool.append(self.create_item((self.get_other_filler_item(list(MISC_ITEMS_TABLE.keys())))))
|
||||||
|
|||||||
Reference in New Issue
Block a user