Archipelago icon indicating copy to clipboard operation
Archipelago copied to clipboard

Tests: Test that swapper can work out a situation where TWO items need to be swapped "together"

Open NewSoupVi opened this issue 1 year ago • 5 comments

Circles are locations, and the completion condition is having all 5 items. Ok, maybe "useless" wasn't the best descriptor then, Also that "Needs Blue Keys" is supposed to be for both of the locations on the right. Lol the graphics are shite ok what can I say

The situation set up in this test is this:

image

There is a valid placement, which the test validates first:

image

Then, the test calls fill_restrictive, which will first set up this placement (because of placement order):

image

From here, fill needs to swap to work out the rest. Swap will alternate between these two placements:

image image

And then decide there is no valid placement. Meaning swap is "broken" atm.

The problem can be boiled down to the fact that the "useless" item is in an impossible position, but nothing can swap with it: image image

NewSoupVi avatar Nov 07 '23 12:11 NewSoupVi