Difference between revisions of "Adjust"

From NetHackWiki
Jump to navigation Jump to search
(Initial Writing)
 
m (Minor rewording)
 
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
'''#adjust''' is the [[extended command]] to change the letter that represents an item in your inventory.
+
'''#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 [[stackable|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 <span class="nowrap"><tt>a - 10 darts</tt></span>, you can #adjust <tt>5a</tt> to <tt>b</tt>.)
  
== Strategy ==
+
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.
It is often useful to give commonly used items a letter that you can use each time you play the game. Here are some suggested letters for common items:
 
  
'''a''' - Primary Weapon - Your primary weapon always starts out being a. When you get a better primary weapon, adjust it to being "a" so you know it is now your primary one.
+
== Merging stacks ==
 +
If you #adjust an item to its own slot (e.g. adjusting <tt>a</tt> to <tt>a</tt>), any stacks of identical items will be merged into the stack on that slot. (This is useful when [[dip]]ping identical items in {{of|potion|holy water}}&mdash;first merge the stacks, then dip the stack to bless them all at once.)
  
'''b''' - Secondary Weapon - Similar to using "a" as your primary weapon, most adventurers who start with a secondary weapon, will have it labeled b.
+
== 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 <tt>k</tt> 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 <tt>y</tt> might be lethal if you try to eat it while standing above a [[cockatrice corpse]].
'''c''' - Primary Ranged Weapon - As an alternative, you might want to use "Q", which is the same letter as the command for placing an item in your [[quiver]].
 
 
 
'''k''' - [[Key]] or [[Lock Pick]] - As an alternative use "K", because "k" is also the command for kick, and if the player mistypes applying a key, they may accidentally kick a door instead.
 
 
 
'''l''' - [[Lamp]] or [[Lantern]]
 
 
 
'''p''' - [[Pick Axe]] or other digging tool
 
  
'''u''' - [[Unicorn Horn]]
+
== See also ==
 +
* The {{kbd|+}} key can be used to reorder spells.
  
'''Y''' - [[Stethoscope]] - "Y" looks like the item in question.
+
[[Category:Extended commands]]
 +
{{nethack-361}}

Latest revision as of 01:21, 31 August 2019

#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.