Repository navigation
Conversation
Contributor
|
Does not apply, and needs to be squashed. |
Use clear trap immunity when routing automatic travel. Preserve travel and suppress flyover messages for floor-triggered traps while flying or levitating, with the existing Sokoban and forced-activation restrictions.
crissman
force-pushed
the
harmless-trap-travel
branch
from
October 16, 2026 00:17
be7db20 to
4950557
Compare
Author
|
Updated and squashed. Thanks, |
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.
Automatic travel refuses routes across known traps that cannot affect you when flying or levitating.
Use the existing clear-immunity check when planning travel and deciding whether a known trap should stop it. Both flying and levitation allow routing across harmless floor-triggered traps, including fire traps and land mines. Preserve the travel route and suppress per-trap messages when flying or levitating over those traps.
Discovering a trap, secret door, or hidden passage still interrupts travel. An unnoticed airborne flyover does not discover a trap. Existing water and lava routing rules are unchanged, including the deliberate restriction on starting lava-walking travel from land.
Ordinary running still stops at known traps. Hallucination still prevents trusting a known trap's identity. Sokoban pits and holes remain blocked, and forced trap activation retains its normal behavior. Travel does not infer safety from non-obvious resistances. The change is recorded in
doc/fixes5-0-1.txt.Validation: refreshed onto
NetHack-5.0at355638f797642649e731119f40dbad4904e34861and squashed into one commit. Built and installed the refreshed terminal version in an isolated test directory. Recompiled the existing wizard test fixtures against the refreshed source; all three travel suites passed (172 checks): trap routing (25), airborne bypass (89), and travel continuity (58). These are game-engine tests using the terminal interface.git diff --checkpasses, and the patch ID matches the original PR’s final diff.