From NetHackWiki
(Redirected from Looting)
Jump to navigation Jump to search
Keyboard commands
~ ! @ # $ % ^ & * ( ) _ = +
Q W E R T Y U I O P { } |
q w e r t y u i o p [ ] \
A S D F G H J K L : "
a s d f g h j k l ; '
Z X C V B N M < > ?
z x c v b n m , . /
q w e r t u i o p Alt
a s d f j l Alt
c v n m ? Alt
A C R T O Alt
a c d o p r t [ Ctrl

#loot is an extended command used to open an unlocked container on the floor. (Containers in your inventory can be opened by applying them.) With the number_pad option on, the l key can be used a single-letter alias for #loot.

Loot is also the general name by which the stuff that you have found is called. It is often used in a context like "In addition to the wand, I found lots of nice loot from the Castle." Useless loot is called junk.

Looting containers

Large boxes and chests may be generated locked. To loot a locked container, you must first unlock it.

Sometimes looting a container may trigger a trap, such as a poison needle (this only happens if you succeed in opening the box—it will never go off if it's locked). You can use the #untrap command to search the container for traps prior to looting.

When a bag of tricks is #looted, it will bite you (for 1 to 10 hit points damage) and become identified.

Looting other things

The loot command can be used to remove the saddle from a saddled pet monster.

If you try to loot when there is no container present, you will be told "You don't find anything here to loot." If you are confused, you will instead drop some of your gold and get the message "Ok, now there is loot here."

Attempting to loot a throne while confused generates a throne room monster and deposits a random amount of your gold in its inventory ("The exchequer accepts your contribution"), unless there is a chest on the level, in which case the gold is put in that ("Thank you for your contribution to reduce the debt.") See throne farming.


The configuration option lootabc determines what keyboard shortcuts are available in the looting menu. When lootabc is true, the options are a - Take something out of the container, b - Put something into the container, and c - Both of the above. When lootabc is false, the respective shortcuts are o, i, and b.



In EvilHack, using #loot on pets allows you to give and take items directly, with respect to their carrying capacity.


In xNetHack, you can also #loot an adjacent pet to exchange items with it directly; selecting gear they have equipped will make them unequip and eventually drop it. In wizard mode, this works on any monster. Using the command on a square with a single container will loot it without prompting.