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: guard against plandoing items onto event locations #2284

Merged

Conversation

espeon65536
Copy link
Collaborator

OoT has randomized shop locations which are considered events, but are only filled during prefill. Since plando runs first, the consequence is that plando could place items into these locations. Usually this isn't a problem, but early_items acquired all locations including unfilled events, which could cause items to be placed on event locations. This adds multiple safeguards against this occurring.

@Berserker66
Copy link
Member

Would the proper fix not be to allow plandoing events and setting an item rule on the locations?

@espeon65536
Copy link
Collaborator Author

I want to make this a generic fix, not just by putting item rules on the oot locations. I'm also hesitant to do anything which prevents custom behavior around filling event items onto locations and items onto event locations, since it's probably valuable to be able to do that internally.

@ThePhar ThePhar added is: enhancement Issues requesting new features or pull requests implementing new features. affects: core Issues/PRs that touch core and may need additional validation. labels Oct 17, 2023
removes the previous filtering on early_locations since it should no longer be needed
@Berserker66 Berserker66 merged commit b82f48f into ArchipelagoMW:main Oct 20, 2023
12 checks passed
FlySniper pushed a commit to FlySniper/Archipelago that referenced this pull request Nov 14, 2023
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
affects: core Issues/PRs that touch core and may need additional validation. is: enhancement Issues requesting new features or pull requests implementing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants