-
Notifications
You must be signed in to change notification settings - Fork 759
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: New solution to that plando issue #3041
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NewSoupVi
changed the title
New solution to that plando issue
The Witness: New solution to that plando issue
Mar 27, 2024
github-actions
bot
added
the
waiting-on: peer-review
Issue/PR has not been reviewed by enough people yet.
label
Mar 27, 2024
NewSoupVi
added
the
is: bug/fix
Issues that are reporting bugs or pull requests that are fixing bugs.
label
Mar 27, 2024
Exempt-Medic
added
the
waiting-on: author
Issue/PR is waiting for feedback or changes from its author.
label
Apr 11, 2024
NewSoupVi
removed
the
waiting-on: author
Issue/PR is waiting for feedback or changes from its author.
label
Apr 11, 2024
Changed this to using pre_fill because I learned that fill_hook is after distribute_early_items |
Nvm |
NewSoupVi
force-pushed
the
that_plando_thing_again
branch
from
May 13, 2024 21:13
9b4f6c2
to
c360f38
Compare
…i/Archipelago into that_plando_thing_again
…i/Archipelago into that_plando_thing_again
Drafting this for two reasons:
|
Undrafting because I've added a unit test and made it more robust in terms of things like excluded locations. |
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: peer-review
Issue/PR has not been reviewed by enough people yet.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
History
The Witness wants to do one simple thing.
"Pre-place a random symbol item onto the first check in the game, so that the player has things to do locally and sphere 1 has a bit of variety."
It should be simple, right? Just fill the item during
create_items
or something.Well, it would be simple. If it weren't for plando.
Here's the problem. If a player uses
plando_items
with one of the eligible symbol items and usesfrom_pool: true
, now their generation will inexplicably crash some of the time. Reason: That symbol item might already be gone from the itempool.The current solution
We first check whether the item will be plandoed before placing it, before plando ever "resolves".
This is terrible, because people can have random plando. Also, plando blocks can take many different shapes.
Look at the code removed in
items.py
, then think about the fact that other worlds are starting to copy that code.The new solution
Place this item during
fill_hook
. This basically uses the current plando code, but modified.