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:
MarioSpore
2025-08-18 16:47:12 -04:00
parent 659ae21fa7
commit e941e8bdbf

View File

@@ -56,7 +56,7 @@ class GrinchWorld(World):
self_itempool.append(self.create_item(item))
#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):
self_itempool.append(self.create_item((self.get_other_filler_item(list(MISC_ITEMS_TABLE.keys())))))