Adjust

From NetHackWiki
(Redirected from Inventory letter)
Jump to navigation Jump to search

#adjust is the extended command to change the letter that an item in your inventory is stored under. It also allows you to merge and split stacks of identical items.

Splitting stacks

As of NetHack 3.6.0, the #adjust command can take a count, specifying how many items to move from one slot to another. (For example, to split off one half of a - 10 darts, you can #adjust 5a to b.)

As of NetHack 3.6.1, items/stacks that have been split with the #adjust command will not automatically merge with each other unless dropped and picked up, or stashed and removed from a container. This removes the need to #name individual items to prevent them from stacking.

Merging stacks

If you #adjust an item to its own slot (e.g. adjusting a to a), any stacks of identical items will be merged into the stack on that slot. (This is useful when dipping identical items in holy water—first merge the stacks, then dip the stack to bless them all at once.)

Strategy

Many players find it useful to #adjust certain useful items to the same slot across games. As an example, consistently having your key in the k slot might save you the annoyance of having to look at your inventory every time you wish to unlock a door. It's also a good idea to readjust your inventory slots so as to prevent typos from killing you: keeping a food ration on y might be lethal if you try to eat it while standing above a cockatrice corpse.

See also

  • The + key can be used to reorder spells.

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.1. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-361}} tag to the current version's tag or {{noversion}} as appropriate.