Minor documentation and error fixes

This commit is contained in:
codemann8
2025-04-16 01:18:58 -05:00
parent 65f84a1c55
commit bce49b9e76
3 changed files with 10 additions and 4 deletions

View File

@@ -460,7 +460,7 @@ def generate_itempool(world, player):
# increase pool if not enough items
ttl_locations = sum(1 for x in world.get_unfilled_locations(player) if not x.prize and not x.event)
ttl_locations -= 10 if world.prize_shuffle[player] in ['dungeon', 'nearby'] else 0 # TODO: Fix item pool to include prizes for these modes
ttl_locations -= 10 if world.prizeshuffle[player] in ['dungeon', 'nearby'] else 0 # TODO: Fix item pool to include prizes for these modes
pool_size = count_player_dungeon_item_pool(world, player)
pool_size += sum(1 for x in world.itempool if x.player == player)