fix: starting inventory flute + flute_mode active

This commit is contained in:
aerinon
2024-05-11 06:10:30 -06:00
parent ae35096f16
commit cabde21a2c
2 changed files with 4 additions and 1 deletions

View File

@@ -228,7 +228,9 @@ def main(args, seed=None, fish=None):
for p, inv_list in world.customizer.get_start_inventory().items(): for p, inv_list in world.customizer.get_start_inventory().items():
if inv_list: if inv_list:
for inv_item in inv_list: for inv_item in inv_list:
item = ItemFactory(inv_item.strip(), p) name = inv_item.strip()
name = name if name != 'Ocarina' or world.flute_mode[player] != 'active' else 'Ocarina (Activated)'
item = ItemFactory(name, p)
if item: if item:
world.push_precollected(item) world.push_precollected(item)
if args.print_custom_yaml: if args.print_custom_yaml:

View File

@@ -146,6 +146,7 @@ These are now independent of retro mode and have three options: None, Random, an
* Back of Tavern Shuffle now on by default * Back of Tavern Shuffle now on by default
* Enemizer: Wallmasters banned from tiles where spiral staircases are. (Softlock issue) * Enemizer: Wallmasters banned from tiles where spiral staircases are. (Softlock issue)
* Packaged build of unstable now available * Packaged build of unstable now available
* Customizer: Fixed an issue with starting with `Ocarina` and flute_mode is active
* Fix: HC Big Key drop doesn't count on Basic Doors * Fix: HC Big Key drop doesn't count on Basic Doors
* Fix: Small Key for this dungeon in Hera Basement doesn't count twice for the key counter * Fix: Small Key for this dungeon in Hera Basement doesn't count twice for the key counter
* Fixed a small bug with traversal algorithm * Fixed a small bug with traversal algorithm