Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lingo: Fixed edge case sunwarp shuffle accessibility issue #3228

Merged
merged 3 commits into from
May 19, 2024

Conversation

hatkirby
Copy link
Collaborator

What is this fixing or adding?

An intermittent generation failure was found involving painting shuffle, sunwarp shuffle, vanilla doors, and the region "Owl Hallway". Accessing the Owl Hallway is required in order to get roof access in vanilla doors. The Owl Hallway can only be accessed through painting in vanilla doors, meaning that, with painting shuffle on, the painting that leads to it needs to be somewhere that can be accessed without roof access. An issue arose with the painting inside Champion's Rest. This painting would ordinarily be okay, but if sunwarp shuffle is on and the Color Hunt sunwarp is not an exit, there is no way to enter Champion's Rest without roof access. This caused generation failures.

This change addresses this edge case by preventing required painting entrances from being in Color Hunt or Champion's Rest under the conditions of vanilla doors and disabled sunwarps or shuffled sunwarps where the Color Hunt sunwarp is not an exit.

How was this tested?

Tested the failing seed, which succeeded. Ran pytest and 50 test generations.

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Apr 28, 2024
@hatkirby hatkirby added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Apr 29, 2024
Copy link
Member

@Exempt-Medic Exempt-Medic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM and matches my understanding of the game. Generated with main to find some error-causing seeds, merged the changes into main, retested those seeds and did 500 test generations. No errors were found.

@hatkirby hatkirby added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels May 18, 2024
@NewSoupVi NewSoupVi merged commit 12cde88 into ArchipelagoMW:main May 19, 2024
16 checks passed
jnschurig pushed a commit to Tranquilite0/Archipelago-SoulBlazer that referenced this pull request Jun 13, 2024
…goMW#3228)

* Lingo: Fixed edge case sunwarp shuffle accessibility issue

* Minor readability update

---------

Co-authored-by: NewSoupVi <[email protected]>
sflavelle pushed a commit to sflavelle/Archipelago-tgc that referenced this pull request Jun 20, 2024
…goMW#3228)

* Lingo: Fixed edge case sunwarp shuffle accessibility issue

* Minor readability update

---------

Co-authored-by: NewSoupVi <[email protected]>
qwint pushed a commit to qwint/Archipelago that referenced this pull request Jun 24, 2024
…goMW#3228)

* Lingo: Fixed edge case sunwarp shuffle accessibility issue

* Minor readability update

---------

Co-authored-by: NewSoupVi <[email protected]>
AustinSumigray pushed a commit to AustinSumigray/Archipelago that referenced this pull request Jan 4, 2025
…goMW#3228)

* Lingo: Fixed edge case sunwarp shuffle accessibility issue

* Minor readability update

---------

Co-authored-by: NewSoupVi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants