"One item per player" fill greatly messes with priority fill, yielding near 100% failure rates for specific yaml combinations #3467
Labels
is: bug/fix
Issues that are reporting bugs or pull requests that are fixing bugs.
What happened?
I made a yaml for a game
I put a couple "very lategame locations" as priority locations.
I generated.
All is well.
Now, I generate a 10 player game with all slots using this yaml.
It fails during priority fill almost 100% of the time.
Why? Because of this.
While there are absolutely "bad items" that can be placed on those lategame priority locations for everyone, just due to random chance, they will be tried to be placed "together" with good items that can't be placed on any of the lategame priority locations.
Reproduce
Make a base settings Witness yaml with
priority_locations: ["Mountain Bottom Floor Left Pillar 4", "Mountain Bottom Floor Right Pillar 4"]
Generate with 1 of these yamls -> 100% success rate
Generate with 10 of these yamls -> Near guaranteed failure during priority fill
Generate with 10 of these yamls with the following code replacemenet -> 100% success rate, mostly expected results (Although there might be some bugs?)
The code replacement is to replace Fill.py#L60-L68 with
What were the expected results?
Successful generation with 10 yamls that each put 2 lategame locations into priority_locations
Software
Core
The text was updated successfully, but these errors were encountered: