Difference between revisions of "Loot"

From NetHackWiki
Jump to navigation Jump to search
m (document the config option lootabc)
(add sections and a few links)
Line 1: Line 1:
 
{{Keyboard Commands}}
 
{{Keyboard Commands}}
'''#loot''' is an [[extended command]] used to open an unlocked [[container]] on the floor. Containers in the inventory are opened by [[apply]]ing them. When a [[bag of tricks]] is #looted, it will bite [[you]] (for 1 to 10 hit points damage) and become identified.
+
'''#loot''' is an [[extended command]] used to open an unlocked [[container]] on the floor. (Containers in your inventory can be opened by [[apply]]ing them.)
  
You cannot loot locked containers. You have to first open the lock by either applying some [[unlocking tool]], or breaking the lock with a [[weapon]] (using the #[[force]] command) or [[kicking]] the locked container. However, kicking (or forcing the lock with a blunt weapon) may destroy the contents: you will hear a [[muffled shatter]] if any [[glass]] object breaks, and a muffled cracking in the case of [[egg]]s.  Forcing the lock with an edged weapon has a chance of breaking your weapon.
+
'''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 of wishing|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 [[Container#Unlocking|unlock]] it.
 +
 
 +
Sometimes looting a container may [[Container trap|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.
  
Sometimes looting a container may trigger a trap, such as a [[poison]] needle.  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.
  
The loot command can also be used to remove the [[saddle]] from a saddled monster.
+
== Looting other things ==
 +
The loot command can be used to remove the [[saddle]] from a saddled monster.
  
The configuration option <tt>lootabc</tt> affects what keyboard shotcuts in the looting menu are available. With lootabc, the options are {{kbd|a}} - Take something out of the container, {{kbd|b}} - Put something into the container, or {{kbd|c}} - Both of the above. Without lootabc, the options use keys {{kbd|o}}, {{kbd|i}}, and {{kbd|b}} respectively.
+
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."''
  
If you try to loot when there is no container present, you will be told ''"You don't find anything here to loot."''  Furthermore, if you are [[confused]] and do this, you will drop some of your gold, and see 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."'')
+
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 [[Farming#Throne_farming||throne farming]].
  
'''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 of wishing|wand]], I found lots of nice loot from the [[Castle]].''" Useless loot is called [[junk]].
+
== Configuration ==
 +
The configuration option <tt>lootabc</tt> affects what keyboard shortcuts in the looting menu are available. With lootabc, the options are {{kbd|a}} - Take something out of the container, {{kbd|b}} - Put something into the container, or {{kbd|c}} - Both of the above. Without lootabc, the options use keys {{kbd|o}}, {{kbd|i}}, and {{kbd|b}} respectively.
  
 
[[Category:Extended commands]]
 
[[Category:Extended commands]]

Revision as of 23:04, 14 February 2014

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

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

Configuration

The configuration option lootabc affects what keyboard shortcuts in the looting menu are available. With lootabc, the options are a - Take something out of the container, b - Put something into the container, or c - Both of the above. Without lootabc, the options use keys o, i, and b respectively.