From 54858500e55ffe9d580cfcfa26cf8793358b6335 Mon Sep 17 00:00:00 2001 From: aerinon Date: Thu, 30 May 2024 14:02:52 -0600 Subject: [PATCH] fix: suppress warning for missing items if they are in start inventory --- ItemList.py | 1 + RELEASENOTES.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ItemList.py b/ItemList.py index 6764db40..11b1b09b 100644 --- a/ItemList.py +++ b/ItemList.py @@ -1331,6 +1331,7 @@ def make_customizer_pool(world, player): bow_found = next((i for i in pool if i in {'Bow', 'Progressive Bow'}), None) if not bow_found: missing_items.append('Progressive Bow') + missing_items = [i for i in missing_items if all(i != start.name or player != start.player for start in world.precollected_items)] if missing_items: logging.getLogger('').warning(f'The following items are not in the custom item pool {", ".join(missing_items)}') diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 45c6c296..8593d406 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -188,7 +188,9 @@ These are now independent of retro mode and have three options: None, Random, an * [New option](#linked-drops-override) to override linked drop down behavior * Customizer: You can now start with a "RandomWeapon" in the start inventory section * Customizer: You may now start with "Big Magic" or "Small Magic" items + * Customizer: Suppress warning for missing items if they are in start inventory * MultiClient: change default port to 23074 for newer SNI versions + * Generation: Fixed typo causing ER gen failure with Bomb Shop at Graveyard Ledge * 1.4.1.12u * New Entrance Shuffle Algorithm no longer experimental * Back of Tavern Shuffle now on by default