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

The Witness: Fix Logic Error for Keep Pressure Plates 2 EP in puzzle_randomization: none #2515

Merged
merged 6 commits into from
Dec 10, 2023

Conversation

NewSoupVi
Copy link
Member

@NewSoupVi NewSoupVi commented Nov 26, 2023

Ok so for being a PR that changes 10 characters, explaining it is actually quite involved, so stay with me here

Some EPs (Environmental Puzzles) require you to use alternate solutions to specific panels that affect the environment.
When EP shuffle was introduced, we had to make certain puzzles remove their symbols after solving them for the first time, because the solvability of related EPs is not guaranteed in Sigma Rando.

However, when "puzzle_randomization: None" was introduced, the client added a check for it on whether to remove panel symbols, because it is not necessary if the panels have their vanilla contents - The vanilla panels were made with EP solvability in mind (obviously)

HOWEVER.
The specific solution to Keep Pressure Plates 2 that allows you to solve Keep Pressure Plates 2 EP requires solving the panel in a particular way that requires the Pressure Plates 2 exit door.

Hence, the logic needs to actually change.
Right now, it is possible to get "Keep Pressure Plates 2 Exit (Door)" on "Keep Pressure Plates 2 EP" in a "puzzle_randomization: none" seed, which would be unobtainable.

…randomization: none

Ok this one is a bit involved so stay with me here

When EP shuffle was introduced, we had to make certain puzzles remove their symbols after solving them for the first time, because the solvability of related EPs is not guaranteed in Sigma Rando.

However, when "puzzle_randomization: None" was introduced, the client added a check for it on whether to remove panel symbols, because it is not necessary if the panels have their vanilla contents - The vanilla panels were made with EP solvability in mind (obviously)

HOWEVER.
The specific solution to Keep Pressure Plates 2 that allows you to solve Keep Pressure Plates 2 EP requires solving the panel in a particular way that requires the Pressure Plates 2 exit door.

Hence, the logic needs to actually change.
Right now, it is possible to get "Keep Pressure Plates 2 Exit (Door)" on "Keep Pressure Plates 2 EP" in a "puzzle_randomization: none" seed, which would be unobtainable.
@NewSoupVi NewSoupVi added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Nov 26, 2023
@NewSoupVi NewSoupVi marked this pull request as draft November 26, 2023 20:57
@NewSoupVi NewSoupVi marked this pull request as ready for review November 26, 2023 21:05
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.

Tested that item was classified and logically expected properly with relevant settings

@Berserker66 Berserker66 merged commit e2109db into ArchipelagoMW:main Dec 10, 2023
12 checks passed
Magnemania pushed a commit to Magnemania/Archipelago that referenced this pull request Jan 3, 2024
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants