New baserom with various fixes for both font and multiclient issue with pottery

Bump TFH limit to 850. It throws an error if you try to generate with too many pieces.
This commit is contained in:
aerinon
2022-04-28 16:27:37 -06:00
parent 7a35bbfc41
commit f93ecf9412
6 changed files with 25 additions and 12 deletions

View File

@@ -275,7 +275,7 @@ def massage_item_pool(world):
world.itempool.remove(deleted)
discrepancy -= 1
if discrepancy > 0:
logging.getLogger('').warning(f'Too many good items in pool, something will be removed at random')
raise Exception(f'Too many required items in pool, {discrepancy} items cannot be placed')
if world.item_pool_config.placeholders is not None:
removed = 0
single_rupees = [item for item in world.itempool if item.name == 'Rupee (1)']