Repository navigation
Fix/new game dungeon item - #124
Merged
Merged
Conversation
The two checks the skipped castle visit hands out at new game are given by a plain pouch add, which credits no dungeon. The placement rule for those checks now refuses dungeon items and the build refuses a seed that still has one there. Shared code: slice/place_rules.rs (rule skipped) and slice/edit.rs (given_at_start); only seeds with the gate open and dungeon items outside their dungeon change. Callers checked: slice::place_rules SETTING_RULES (skipped), slice::edit start_state and skipped_items, slice::generate tests that call skipped_items. See difficulty-mod/docs/features/60-new-game-dungeon-item-fix.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removes the cfg(test) switch in slice/place_rules.rs; the regression test now pins the placement nightly dda8087 makes for seed r-10. Callers checked: slice::place_rules skipped, slice::edit given_at_start. See difficulty-mod/docs/features/60-new-game-dungeon-item-fix.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
keys, maps, and compasses could be "Zelda's Letter" and "Impa's song" slots.
With the "Kakariko Gate open", you would sometimes start with them, but they wouldn't be associated with any particular dungeon.
This PR makes sure those items are never loaded into those two slots.