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():
if 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:
world.push_precollected(item)
if args.print_custom_yaml: