Skip to content

Fix/new game dungeon item - #124

Merged
OruizGl merged 2 commits into
ootrando:nightlyfrom
deanrather:fix/new-game-dungeon-item
Nov 24, 2026
Merged

OruizGl merged 2 commits into
ootrando:nightlyfrom
deanrather:fix/new-game-dungeon-item

Conversation

@deanrather

@deanrather deanrather commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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.

deanrather and others added 2 commits November 25, 2026 08:04
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>
@OruizGl
OruizGl merged commit 2d6923f into ootrando:nightly Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants