OoT-Randomizer icon indicating copy to clipboard operation
OoT-Randomizer copied to clipboard

Starting with Blue Fire Arrows

Open r0bd0g opened this issue 2 years ago • 2 comments

RealRob ran into this while working on boulder shuffle. Apparently you can only start with Ice Arrows, and then they never get turned into Blue Fire Arrows for logic purposes.

r0bd0g avatar Feb 03 '24 03:02 r0bd0g

Specifically, when you start with Ice Arrows, the starting_items collection in the Distribution object does not get updated. Then when building the item pool, Ice Arrows/Blue Fire Arrows are properly removed from the pool, but the call to world.distribution.collect_starters(world.state) collects Ice Arrows instead of Blue Fire Arrows. Thus any logic looking for Blue Fire Arrows will fail because they aren't collected.

rrealmuto avatar Feb 03 '24 03:02 rrealmuto

a simple fix might be to resolve the item name based on the settings prior to the calls to add_starting_item_with_ammo Probably want to do this in both configure_effective_starting_items and in reset in Plandomizer.py

rrealmuto avatar Feb 03 '24 16:02 rrealmuto