Drop
| 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 | x | [ | Ctrl | ||||||||||||
- This article is about the command to drop items. For items that appear when the hero kills a monster and are usually not part of the former monster's inventory, see death drop.
- Not to be confused with hiding piercers dropping from the ceiling.
In NetHack, a player can drop one or more items from the inventory of their hero, who will take those items and place it at their feet. The item(s) will usually be placed on the hero's current square, though they can end up in other locations depending on where the hero is.[1][2][3][4]
Description
There are two separate sets of commands that can be used to drop items:
- Pressing d ("drop one") or entering #drop as an extended command and selecting a letter for an inventory item will drop a single item or stack of items that occupies the chosen letter.[5]
- Pressing D ("drop multiple") or entering #droptype as an extended command will open a menu to drop several types of item from, first prompting the player to select specific categories of items to list and then prompting them to select any listed items to drop.[6][7]
A user has suggested improving this page or section as follows:
"There are multiple different control schemes for the drop menu, which should be explained accordingly—menu styles that are deprecated should be listed accordingly in the history section."
Both commands can be combined with a numeric prefix when selecting which specific items to drop, which allows the hero to drop one or more items from a particular stack(s) of items within the inventory—for example, d19$ will drop nineteen gold pieces. On Windows, the player must check the box for the item(s) they wish to drop, then type in a number.
Dropping items will lower the hero's current encumbrance. The hero may also automatically drop items from their inventory under certain circumstances, usually involving polymorph, while other circumstances may render them unable to drop certain items: the loadstone in particular is an item that cannot be dropped if it is picked up or otherwise enters the hero's open inventory while it is cursed.[8]
Pressing - when asked what to drop using the d command prints a message with no effect. A hero naturally cannot drop anything if they have no inventory, which does not include the iron chain attached to them from punishment or any dragon scales that are a part of their body while they are polymorphed into a dragon.[9]
Items that cannot be dropped
The following items in the hero's inventory cannot be dropped under normal circumstances:[10][11]
- Worn armor, rings and amulets, which must be taken off or removed first[12]
- Items inside a container, which must be taken out by applying the container before they can be dropped separately
- The tip command can drop all items from inside a container onto the floor at once.
- Leashes that are currently tied around pets[13]
- A saddle worn by a mount that the hero is currently riding[14]
- Cursed armor, accessories, leashes, weapons, and/or weapon-tools, which are welded to the hero's person[15][16]
- Cursed loadstones, which will cling to the hero's person as mentioned previously[8]
Automatically dropping items
The hero will sometimes be made to drop items, automatically or otherwise, under the following circumstances.
- A hero that tries to rescue themselves from drowning may drop some of their inventory as "ballast" if they are too heavily encumbered to climb out.[17][18]
- A hero that is polymorphed into a monster with a radically different body shape will automatically drop any incompatible worn items such as armor and weapons to the ground. If an explosion from applying a wand of polymorph to break it causes the hero to polymorph and drop any of their inventory, the polymorphing effect is carried out in such a way that the dropped inventory is not immediately polymorphed as well.[19]
- If a hero successfully wishes for an item that they cannot carry due to exceeding a given encumbrance threshold or else having no open inventory letters, the item will drop to the ground on their square—the exceptions consist of corpses belonging to either a cockatrice or a chickatrice, which are instead materialized directly on the floor at the hero's square if the hero does not have stoning resistance or they are not wearing gloves.
- If the hero applies a cursed towel while wearing a non-cursed pair of lenses, they have a 1⁄3 chance of pushing those lenses off their face and knocking them to the ground.[20]
- If the hero lights a stackable light source (i.e., a candle or a potion of oil), and there is no room in the hero's inventory for the lit object to be split from the stack, it will drop out of their inventory and to the floor.[21]
- A hero that has slippery fingers will drop any wielded items on their next turn, and attempting to apply a can of grease with slippery fingers causes it to slip out of their grasp and fall on their square.[22]
- Some items can be dropped by a hero that tries to use them while they are fumbling or glib:
- A hero that attempts to apply a charged can of grease while the can is cursed or they are fumbling has a 1⁄2 chance of it slipping from their grasp as above, which will also waste a charge in the process.[23]
- A hero that attempts to apply a bullwhip while they are fumbling or glib has a 1⁄5 chance (20%) of it slipping out of their hand.[24]
- A hero that fails to apply and arm a bear trap while they are riding a steed will drop that item to the ground on their square without it arming.[25]
- A hero that snatches an item by applying a bullwhip and does not have room for it in their pack will have it drop to the floor on their square.[26]
Monster behavior
Hostile monsters that pick up objects will typically not drop them unless they are forced to, e.g. by polymorphing into a form that cannot carry them. If an explosion from applying a wand of polymorph to break it causes an affected monster to polymorph and drop any of its inventory, the polymorphing effect is carried out in such a way that the dropped inventory is not immediately polymorphed as well.[27]
Pets will typically drop items that they are not currently wearing or wielding, including items that they have picked up and carried for at least a few turns.
If a monster dies and is not revived by an amulet of life saving or else is revived unsuccessfully, they will drop their former inventory on the square they were occupying. If that monster was killed directly by the hero, then another item may be generated: this item is called a death drop, and it will be added to any pile of items that is created from the hero killing a monster—this death drop occurs independently of the chance for a killed monster to leave behind a corpse (and/or any equivalent items which rely on a corpse being dropped). If a monster is killed by a hero casting the force bolt spell or zapping a wand of striking, their inventory is dropped and death drops are created before the new pile of items is then subjected to the wand's effects.
Effects of dropping
Dropping items can have different effects depending on the item type and/or the location they are dropped at.
- By item type:
- A glob that is dropped onto the floor will coalesce and merge with any adjacent globs that are made of the same material.[28]
- A loadstone that is dropped from the hero's inventory (or leaves it through any other means) will become cursed.[29]
- Dropping artifacts whose carried or invoked effects are active will end those effects.[30]
- If the hero is levitating due to carrying The Heart of Ahriman, dropping the artifact will cause them to stop levitating and float to the ground.[31][32]
- If the hero drops The Sceptre of Might while its conflict ability is invoked and does not have any other source of the property (i.e. a worn ring of conflict), then the conflict effect ends immediately.
- Dropping a crysknife (including a container with a crysknife) will cause it to revert to a worm tooth, which is reduced to a 1⁄10 chance of reverting if the crysknife is fixed.[33]
- Attempting to drop a footrice corpse will check if the hero has stoning resistance or worn gloves, and will prompt them whether they want to drop the corpse if the associated paranoid_confirmation option is toggled on[34]—this is intended to avoid stoning accidents involving a hero dropping and then stumbling over a footrice corpse while they are blind or fumbling.
- Dropping a lit candle, lamp or brass lantern may extinguish it depending on where the light source lands, e.g. a candle will be extinguished if it lands in water (which shortens its lifespan) or falls to another level.[35][36][37][38][39]
- By location:
- If a hero drops an item in a shop, the shopkeeper will offer gold in exchange for the item if it is something they are interested in, while any gold the hero drops gold in a shop is instantly added to their credit[40][41]—items that the hero drops inside a shop by accident (e.g. from slippery fingers) are automatically sold to the shopkeeper.[42][43] Items dropped by monsters inside a shop immediately become that shop's property without any transaction occurring.
- Items that are dropped on an altar (whether by a hero or a monster) will have their beatitude revealed, giving off flashes of a particular color depending on whether they are blessed or cursed, while items that do not flash at all when dropped this way are uncursed.[44][45]
- Items that are dropped from a height will fall to the ground—this includes items that are dropped while the hero is levitating, as well as items that are dropped while standing on a square with a pit or spiked pit and not being trapped inside that pit.[46][47] This can cause fragile items to shatter if they land on solid ground this way, including fragile items inside dropped containers that are not magical in nature. A wand of striking dropped while levitating or flying will "strike" the floor rather than "hit" it.[48]
- Items that are dropped while standing on a square with a down stair, a hole or a trap door may fall down or through them (and/or cause other items on that square to fall) to the level(s) below, with the same effects on fragile items that are not inside non-magical containers.[49]
- Items that are dropped while over a moat, a pool or a square of lava will sink into that water or lava, possibly splashing if they are large enough or fall from higher enough, and those items may become wet, blank, diluted, or even be outright destroyed (which is most often the case with lava and flammable items).[50][51]
- If a hero drops a ring item or a meat ring on a square with a sink, the ring will bounce down the drain pipe, which prints one of several messages and can cause certain effects to occur[52][53]—in most cases, the ring has a 1⁄20 chance of remaining on the sink's square, then a 1⁄5 chance (effectively 19⁄100) of being buried on the sink's square, and will otherwise be lost.[54] See the article on sinks for more details.
- Potions that are dropped in Gehennom levels beyond the Valley of the Dead can be subjected to intense heat if the level temperature on that floor is hot, with a chance of those potions boiling and exploding depending on their beatitude as well as the hero's luck (if they were the last to handle the item).[55]
- A boulder that is dropped by a hero or monster (typically a giant) will fill any pit, spiked pit, hole, or trap door on their square, provided they are not currently trapped in the pit in question.[56] A dropped boulder also has a 9⁄10 chance of filling up a moat or pool below it and replacing it with a normal ground square, but only has a 1⁄10 chance of filling up a square of lava this way.[57] Items occupying a square filled by a boulder are buried as a result of the floor square being created.
- A hero that drops any items while they are engulfed by a monster may have those items become part of that monster's inventory[58]—food items dropped this way inside a monster that is digesting the hero will be eaten (which causes the normal effects of eating that item, including stoning from eating footrice corpses and eggs, and a heavy iron ball chained to the hero cannot be taken this way.[59][60]
- Items that are dropped near the location of any buried zombie corpses can disturb them and cause the corpses to animate, depending on the weight and sturdiness of that object and the height that it fell from, and disturbed zombies will claw their way out of the ground and leave pits behind.[61][62][63]
Strategy
Various forms of strategy revolve around dropping items at particular moments: the most basic form of this occurs in the player managing their hero's encumbrance and its effects on their movement speed, generally by dropping items when they become burdened or worse—this is especially true if an unfortunate polymorph, e.g. from lycanthropy or a polymorph trap, transforms them into a smaller monster and forces them to automatically drop worn items that are too small, on top of needing to drop several other items in order to move at their normal base speed (or indeed move at all if they become heavily burdened). A hero can also only carry 52 stacks of items in their pack (not counting the gold in their wallet), after which they cannot normally pick up any more objects independently of their encumbrance. This does not prevent pesky loadstones from jamming themselves into a careless hero's pack once picked up, however![64]
Stashes are a commonplace form of managing the hero's inventory so that they do not carry too much at once, and the simplest stashes can consist of a pile of items that are dropped on a square and safeguarded by some rudimentary means, e.g. placing them inside a one-square closet with a door and closing or locking that door—see the article on stashes for more information about them. On the note of inventory management, dropping items using the command and a numeric prefix allows you to split a stack into two groups, though it is often better to use the adjust command for splitting a stack.
Dropping items is often necessary or useful for various other reasons, such as curse-testing by dropping items and using a pet's movement to see if they avoid moving onto the dropped item(s), dropping them on an altar to confirm their beatitude outright, dropping food for pets that is unsafe to throw at them (particularly eggs and melons), or dropping items inside a shop for various purposes such as price appraisal or facilitating theft—which methods are most viable at a given moment ultimately depend on the player's current situation and any conducts they are observing.
One particularly useful instance of dropping items is the scroll of scare monster, which is primarily used by dropping it and can scare several monsters that move adjacent to the hero while they are standing on the same square as the scroll—this can drive off otherwise-nasty foes and make them easier to kill or escape. Another instance involves dropping items that are vulnerable to elemental damage before engaging particular monsters such as pyrolisks if the hero has not yet obtained a container to stash them in, though some elemental attacks can still affect the square the hero is standing on. Similarly, entering water to retrieve specific objects while wearing something like an amulet of magical breathing generally warrants dropping any items that are vulnerable to water damage in a safe area nearby.
Still another instance of strategic dropping involves the use of a down stair to make heavier items fall down those stairs by dropping other items on that square: this is best done when none of the items involved in the process are fragile, and is typically an option for any scenario where a player wants to avoid picking up said item directly and slowing themselves down significantly, or else does not want to risk damage (or accidents involving a wielded footrice corpse) from falling down those stairs—this can take several tries to do successfully, however.
It also pays for players to know when to not drop any of their inventory, e.g. not dropping dangerous items near monsters that are capable of using them. Dropping items while engulfed is almost always a bad idea, unless you are deliberately turning a purple worm to stone by dropping a footrice corpse inside their stomach (and even then, it is usually much wiser to wield and attack with the corpse). Similarly, try to avoid dropping fragile items while levitating, and make sure that you are on the ground before trying to place those potions of water on an altar!
History
The drop command has been available since Jay Fenlason's Hack, and is also available in Hack 1.0.
Messages
- You drop <an object/objects>.
- You dropped one or more items, with a line being printed for each item.
- You cannot drop something you are wearing.
- You attempted to drop a worn item.
- For some reason, you cannot drop <any of> <the stone(s)>!
- You attempted to drop a cursed loadstone, which fails and reveals the item's beatitude.
- The leash is tied around your hand.
- You attempted to drop a leash that is applied to a pet.
- <An object/Objects> hit the floor.
- You dropped one or more items while levitating.
- You hear a CRASH! beneath you.
- You dropped a boulder on a square with a pit, spiked pit, trap door, or hole while you were blind and not caught in the trap, and the boulder filled that square.[65]
- <An object/Objects> <lands/land> on the altar.
- One or more items was dropped onto a square with an altar.
- There is an <amber/black/colored> flash as the item hits the altar.
- Items dropped onto an altar were revealed to be blessed or cursed. If the hero is hallucinating, random colors will occur instead, and the items' beatitude will not be identified.
- The potion heats up as it hits the hot ground.
- The potions heat up as they hit the hot ground.
- One or more potions were dropped onto the ground of a very hot level.
- <It shatters/They shatter> from the heat!
- One or more potions boiled and exploded as a result of touching heated ground.
- You hear a shattering noise.
- As above, while blind.
Variants
NetHack variants add typically add more possible interactions around dropping items, such as dropping containers onto altars to identify the beatitude of items inside them.
dNetHack
In dNetHack, notdNetHack and notnotdNetHack, one of the many distinguishing features between workbenches and altars to normal deities is that dropping an item on a workbench does not reveal its beatitude.
EvilHack
In EvilHack, the Wand of Orcus becomes cursed whenever it is dropped.
Hack'EM
In Hack'EM, dropping a bomb into a vent has a 3⁄5 chance of destroying the vent and causing a small earthquake.
References
- ↑ src/do.c in NetHack 5.0.0, line 713-L780
- ↑ src/do.c in NetHack 5.0.0, line 782-L796
- ↑ src/do.c in NetHack 5.0.0, line 798-L803
- ↑ src/do.c in NetHack 5.0.0, line 805-L843
- ↑ src/do.c in NetHack 5.0.0, line 27-L43: dodrop() command
- ↑ src/do.c in NetHack 5.0.0, line 922-L944: doddrop() command
- ↑ src/do.c in NetHack 5.0.0, line 979-L1107
- ↑ 8.0 8.1 src/do.c in NetHack 5.0.0, line 685-L699: cursed loadstone case in canletgo()
- ↑ src/do.c in NetHack 5.0.0, line 716-L717
- ↑ src/do.c in NetHack 5.0.0, line 663-L711: canletgo() function
- ↑ src/do.c in NetHack 5.0.0, line 718-L719
- ↑ src/do.c in NetHack 5.0.0, line 666-L671
- ↑ src/do.c in NetHack 5.0.0, line 700-L704
- ↑ src/do.c in NetHack 5.0.0, line 705-L709
- ↑ src/do.c in NetHack 5.0.0, line 672-L684
- ↑ src/do.c in NetHack 5.0.0, line 722-L726
- ↑ src/trap.c in NetHack 5.0.0, line 4890-L4941: emergency_disrobe() function
- ↑ src/trap.c in NetHack 5.0.0, line 5151-L5169
- ↑ src/apply.c in NetHack 5.0.0, line 4104-L4129: "Process objects first, in case damage is fatal and leaves bones, or teleportation sends one or more of the objects to same destination as hero (lookhere/autopickup); also avoids the polymorphing of gear dropped due to hero's transformation. (Unlike with monsters being hit by zaps, we can't rely on use of obj->bypass in the zap code to accomplish that last case since it's also used by retouch_equipment() for polyself.)"
- ↑ src/apply.c in NetHack 5.0.0, line 141-L157
- ↑ src/apply.c in NetHack 5.0.0, line 1756-L1763
- ↑ src/apply.c in NetHack 5.0.0, line 2608-L2613
- ↑ src/apply.c in NetHack 5.0.0, line 2618-L2625
- ↑ src/apply.c in NetHack 5.0.0, line 3065-L3067
- ↑ src/apply.c in NetHack 5.0.0, line 2896-L2900
- ↑ src/apply.c in NetHack 5.0.0, line 3208-L3232
- ↑ src/apply.c in NetHack 5.0.0, line 4086-L4098: "obj->bypass in bhitm() prevents the polymorphing of items dropped due to monster's polymorph"
- ↑ src/do.c in NetHack 5.0.0, line 303-L314
- ↑ src/invent.c in NetHack 5.0.0, line 1386-L1387
- ↑ src/invent.c in NetHack 5.0.0, line 1377-L1384
- ↑ src/do.c in NetHack 5.0.0, line 759-L765
- ↑ src/do.c in NetHack 5.0.0, line 770-L771
- ↑ src/do.c in NetHack 5.0.0, line 890-L920
- ↑ src/do.c in NetHack 5.0.0, line 946-L962
- ↑ src/apply.c in NetHack 5.0.0, line 1470-L1491
- ↑ src/apply.c in NetHack 5.0.0, line 1493-L1514
- ↑ src/apply.c in NetHack 5.0.0, line 1533-L1537
- ↑ src/apply.c in NetHack 5.0.0, line 1547-L1549
- ↑ src/apply.c in NetHack 5.0.0, line 1566-L1570
- ↑ src/do.c in NetHack 5.0.0, line 33-L36
- ↑ src/do.c in NetHack 5.0.0, line 933-L937
- ↑ src/do.c in NetHack 5.0.0, line 37-L40
- ↑ src/do.c in NetHack 5.0.0, line 938-L941
- ↑ src/do.c in NetHack 5.0.0, line 315-L317: altar object case in flooreffects() includes call to doaltarobj()
- ↑ src/do.c in NetHack 5.0.0, line 361-L390: doaltarobj() function
- ↑ src/do.c in NetHack 5.0.0, line 288-L297
- ↑ src/do.c in NetHack 5.0.0, line 758-L775
- ↑ src/dothrow.c in NetHack 5.0.0, line 617
- ↑ src/do.c in NetHack 5.0.0, line 298-L302
- ↑ src/do.c in NetHack 5.0.0, line 270-L271
- ↑ src/do.c in NetHack 5.0.0, line 33-L36
- ↑ src/do.c in NetHack 5.0.0, line 496-L661
- ↑ src/do.c in NetHack 5.0.0, line 753-L757
- ↑ src/do.c in NetHack 5.0.0, line 649-L660
- ↑ src/do.c in NetHack 5.0.0, line 318-L355
- ↑ src/do.c in NetHack 5.0.0, line 185-L269: boulder handling in flooreffects()
- ↑ src/do.c in NetHack 5.0.0, line 45-L155: boulder_hits_pool() function
- ↑ src/do.c in NetHack 5.0.0, line 736-L751
- ↑ src/do.c in NetHack 5.0.0, line 816-L825
- ↑ src/do.c in NetHack 5.0.0, line 845-L888
- ↑ src/do.c in NetHack 5.0.0, line 832
- ↑ src/do.c in NetHack 5.0.0, line 1785-L1794
- ↑ src/do.c in NetHack 5.0.0, line 1796-L1813
- ↑ src/pickup.c in NetHack 5.0.0, line 1718-L1734
- ↑ src/do.c in NetHack 5.0.0, line 240-L242