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

Core: Add connect_entrances world step/stage #4420

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

NewSoupVi
Copy link
Member

@NewSoupVi NewSoupVi commented Jan 1, 2025

There is a lot of history for this, but basically, for Item Plando (using the upcoming rewrite) and Generic Entrance Randomizer to work well together, there is a specific timing window that has to be satisfied. The easiest way to do this is to add a new connect_entrances world stage.

When entrance source/target regions have to be finalized is also currently undefined, which has lead to some minor debate. This should prevent this from being up for discussion in the future.

@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jan 1, 2025
@NewSoupVi NewSoupVi added the is: enhancement Issues requesting new features or pull requests implementing new features. label Jan 1, 2025
@NewSoupVi
Copy link
Member Author

NewSoupVi commented Jan 1, 2025

I was gonna add this to The Witness as part of this PR, but unfortunately, my entrances currently need to be connected before this step because I add extra locations in create_regions based on the outcome of a state sweep.

docs/world api.md Show resolved Hide resolved
Main.py Show resolved Hide resolved
Copy link
Collaborator

@BadMagic100 BadMagic100 left a comment

Choose a reason for hiding this comment

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

Code and docs look good, did not do any real testing

@NewSoupVi
Copy link
Member Author

NewSoupVi commented Jan 2, 2025

Got permission from @gaithern to change KH1, the simplest apworld that can easily use this, over to this system.
(An approval here would still be nice ofc :3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. is: enhancement Issues requesting new features or pull requests implementing new features. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants