-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This gives the player more control over what autounlock does. It is now a compound option rather than a boolean, and takes values of autounlock:none !autounlock or noautounlock (shortcuts for none) autounlock:untrap + apply-key + kick + force (spaces are optional or can be used instead of plus-signs, but can't mix "foo bar+quux") autounlock (without a value, shortcut for autounlock:apply-key). Default is autounlock:apply-key. Untrap isn't implemented (feel free to jump in) so is suppressed from the 'O' command's new sub-menu for autounlock. It's parsed and accepted from .nethackrc but won't accomplish anything. [Just musing: it should be feasible to kick in direction '.' to break open a container or #force to an adjacent spot to break open a door. If that was done, autounlock:kick+force (or more likely autounlock: apply-key+kick+force when lacking a key) would resort to force if hero couldn't kick due to wounded legs or riding. This changes struct flags so increments EDITLEVEL again. This includes pull requests #750 from entrez and #751 from FIQ but was entered from scratch rather than using use their commits. Closes #750 Closes #751
- Loading branch information
PatR
committed
May 5, 2022
1 parent
d1b14e0
commit 44d5be6
Showing
9 changed files
with
282 additions
and
31 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.