Shopkeeper prevention Edit
It is possible to steal from shopkeepers. However, they have ways to prevent some methods. Here is a list of some ways that shopkeepers normally prevent you from taking their items without payment:
- Use a charge from an unpaid item. The shopkeeper will charge a usage fee. You now owe the shopkeeper money, as if you were carrying an unpaid item. Shopkeepers also charge you for reading their spellbooks.
- Try to walk out of the door with an unpaid item. The shopkeeper will stand on the entrance square, blocking your path. Because it is a door, you cannot walk through diagonally.
- Use a pick-axe to dig a hole out of the shop. If the shopkeeper is adjacent, he or she will grab your "pack", thus taking everything in your inventory! This is punishment for making a hole in the shop floor.
- Teleport, throw, or kick any items out of the shop. The shopkeeper will charge you for the items, as if you now own them.
- Walk out through a gap in the wall. Shopkeepers configure their shop walls to magically heal. Even if a dwarf or Umber hulk came by and left a gap while entering or exiting the shop, the gap will heal after 5 turns, assuming that there is no monster in the way.
- Try to trap the shopkeeper with a bear trap or landmine. The shopkeeper will disarm and pick up the trap after 5 turns.
For those who prefer not to steal directly, there are a few options for all the fun of theft and minimal risk.
Using your petEdit
Shopkeepers in NetHack, when it comes to taking items, do not care about any creature or monster other than you. Thus, a common practice is to let a monster or pet pick up items and drop them either outside the shop or in the square right in front of the doorway, which is considered outdoors. To obtain the shopkeeper's gold, sell valuable items back to him and repeat. This technique is sometimes known as shoplifting. The process of robbing a shop with the aid of a pet can be sped up considerably:
- Train your pet, raising its apport. When the pet drops an item near you, reward it with a treat. Tripe rations and meatballs are treats for carnivorous pets, while apples and carrots are treats for herbivorous pets. Bananas are treats for primates. Stand in the door, and use 's' or '.' until your pet drops an item in the square directly in front of the door. This square is not considered part of the shop, so items there are free. By standing in the door, your pet cannot escape, and will bring the shop to you.
- Use a magic whistle to teleport your pet out of the shop as soon as it picks something up.
- Put all the light items you want to steal (like scrolls, rings and gems) in sack or bag of holding (as much as your pet can carry ) so it only needs to steal that one item. It can also be sold for the value of the sack and everything inside. Consider putting all your gold into the sack to build large amounts of credit.
- If you do not want everything in the shop, make a pile as far away from the shop entrance as possible, the items being the undesired ones. Then make a pile of desired items as close to the shop entrance as possible. Once you've dropped all the items you can stand by the door and your pet will pick up things in the closer pile.
Use a strong pet to kill the shop keeperEdit
If you have a strong pet, they may be able to kill the shopkeeper for you. Large cats and dogs will not attempt this unless you have fed them wraith corpses to level them up beyond their natural growth limit. A fully-grown warhorse will attack shopkeepers but may well lose the fight. As always in NetHack, neither the shopkeeper nor your god will punish you for your pet's actions. (It is, however, considered very bad form to allow Izchak to die, even if playing an extinctionist.) This is a faster way of obtaining all the shopkeeper's property than shoplifting, and the only way to get the wands most shopkeepers have in their personal inventory. The disadvantages are that the pet might die and that, if the pet does win the fight, the shopkeeper will no longer be available for price identification.
Another method of indirect theft is credit cloning: dropping gold in the store to establish credit, and then getting monsters or pets to take the gold back outside for you to repeat.
Gelatinous Cube engulfingEdit
Additionally, a gelatinous cube's engulf ability can be used to completely clean out a shop's inventory of non-organic items by piling them all on a single-square near the entrance. The cube can then be lured onto the item pile, and back outside the shop again, where it can be killed to retrieve the stolen inventory. This technique works best in shops that specialize in weapons or armor, or have enough floorspace to safely store any desired organic items far away from the hungry cube.
- Kill the shopkeeper: This carries the usual murder penalties, as well as being somewhat suicidal for a weak character. The presence of a few items, especially a wand-shattering Mjollnir or wand of lightning or a Wand of death will make this safer. This could be the best way for you to obtain such expensive items. Cockatrice corpses also work well.
- Teleport the shopkeeper: This works if you want to avoid Kops and murder. This angers the shopkeeper unless he lands in his shop. Grab all the items you want, teleport the shopkeeper, then make a run for it, or dig down with a slow implement like a pick-axe. Note that the shopkeeper will be angered if he is teleported out of his shop by any means, even if you are not (directly) related. A quantum mechanic hitting the shopkeeper during conflict will result in the shopkeeper becoming angry at you.
- Polymorph the shopkeeper: For a weaker character, a properly identified wand of polymorph can be used to polymorph and then kill a shopkeeper. This allows the player to take all the items for free and carries no penalties (except for the 1-in-25 chance of system shock, which counts as murder).
- Dig out of the shop with unpaid items: If you move away from the shopkeeper, then use a fast method, like a wand of digging (not a pick-axe) then you can escape a shop before the shopkeeper can move adjacent and intervene. If you surround the shopkeeper with traps, pits, monsters, or boulders, then move away from the shopkeeper, the shopkeeper will be unable to reach you and you can slowly dig out. You can also surround yourself with boulders and dig your way out, or dig multiple pits between you and the shopkeeper. Finally, if the shop is large enough, even a slow implement like a pick-axe will allow you to escape. If you dig a hole downwards, the shopkeeper may follow you through your hole.
- Reading the source, it seems the shopkeeper will always grab your non-worn/wielded items and fall down with you unless:
- 1. there is no available square next to you where he could teleport to
- 2. you are not in a radius 5 square centered on the shopkeeper
- 3. he cannot move. 
- Jump out of the shop: This is done with a spell or with boots of jumping, or when playing as a knight. This only takes you a few squares away, however, so you'll want to get away quickly.
- Walk through the shop: If you're polymorphed into a xorn or some other creature that can walk through walls, just pick up the items and walk through the wall of the shop.
- Teleport out of the shop and/or steal one, get one free: You just need to have some method of teleport, such as intrinsic teleportitis, a wand of teleportation, a spell, or a scroll of teleportation, ready to take you and your unpaid items out of the shop. Wands or scrolls are easier to control as teleportitis might send you out of the shop before you're ready. A riskier method of teleportation for characters with low intelligence is to read a low-level spellbook and hope that it sends you out of the shop. However, the few turns of paralysis that follow make it potentially treacherous. A cursed scroll of teleportation (resulting in a level teleport) is a safer option, especially when paired with teleport control. If you can control teleporting, a good strategy to keep everyone happy is to take a cheap item and then teleport out as far away as possible. Fend off any Kops that come and when the shopkeeper nears, teleport back into the shop and steal everything. Then go back out and meet the shopkeeper and pay for the cheap item you stole originally. The shopkeeper will be happy again even though you've just taken the entire stock. Instead of paying, you can also tame him, provided you have several scrolls and can really afford to take a few hits, especially after his wands are empty. Also you can try to teleport the shopkeeper with a wand of teleportation and hide away with all non-paid items.
- Walk out of the shop: If you are fast or very fast, you can use your extra moves to walk out without the shopkeeper blocking the door. To do this, put the items you want to steal in a square next to the entrance-square, stand there and wait for the shopkeeper to move off the entrance square, then pick up the items. If you get an extra move, you can walk straight out; otherwise the shopkeeper will move to block, and you can drop the items and try again. You can also use a boulder to occupy the square the shopkeeper would use to block your exit, then leave while pushing the boulder out of the shop. Finally, you can break the door (and be prompted to pay 400zm) which will enable you to walk out diagonally. You can also levitate, go near the door and wait for the shopkeeper to not block the exit, and then throw something away from the door, causing you by Newton's third law to exit the shop without the shopkeeper blocking your way.
- Block the door with a trap: Set a landmine or bear trap just inside the doorway (where the shopkeeper would normally stand to keep you from leaving). The shopkeeper will avoid that square for 5 turns before removing the trap. You can either walk over the trap, or jump over it. If the trap is still present when the shopkeeper's alarm sounds, the trap will not be removed and the shopkeeper will be stuck in his shop until he is pacified (or another monster sets off the land mine).
Shopkeepers can't remove webs, and you can spin webs when polymorphed into a giant spider or cave spider. Spinning a web where the shopkeeper usually stands will prevent him from guarding the exit and chasing thieves until you or another monster destroys the web.
- It is possible to accidentally steal from a shop if you have uncontrolled teleportitis. This can be avoided by dropping gold in the shop to establish credit. Any items taken out of the shop without paying will be deducted from your credit.
- 200 rock steal: The maximum number of items you can be charged for in a shop is 200. Anything you pick up after your shopping bill reaches 200 item slots will be given to you for free ("You got that for free!"). See here for a comic-style walkthrough.
The simplest way to exploit this is to find 200 rocks, name them each a different thing so they don't stack, place them in a bag of holding to reduce weight, and throw the bag into a shop. Once you pick it back up everything else you pick up is free. You can then easily sell the expensive items back to the shopkeeper repeatedly [no pet-steal necessary] to bleed him dry of cash, and build up enough credit for the price of the bag and rocks. The naming portion of the setup can be automated by a paste script as follows: assuming inventory letters of B for BoH and S for stack of rocks, start by #name-ing with the (y)es option the stack of rocks "1", then paste the string (minus quotes): "
aBi*<CR>1S<CR>#n<CR>yS". That is, (a)pply the (B)ag, put (i)n (*)gems. (1) from (S)tack. and (#n)ame onl(y) the (S)tack ____. The game should be waiting for a new name for the stack, at which point you can type whatever number comes after the current stack name. Repeat with paste, name, enter, paste. The exact sequence will probably have to be adjusted as your burden level crosses boundaries, depending on your Term width, adjust as necessary. For the Healers or others with Stone-to-flesh as an option, you can get a very significant weight reduction by using meatballs instead. You can also use scrolls of mail, but mail is priced at zero, so you will actually need about 210. After giving you the first few scrolls for free, the shopkeeper will mark them up to about 7 zorkmids each.
This bug has been corrected in development versions of SLASH'EM 0.0.8. (based on #nethack's Rodney)
Consequences of theftEdit
Indirect theft carries no in game consequences. Tedium and the chance a gecko will kill you if you are holding down the '.' key are the chief dangers.
Direct theft, however, is dangerous. First of all, successfully stealing from a shop summons Keystone Kops - for higher level characters more of a nuisance, but numerous. The larger worry is the shopkeeper, who tends to be both high level and equipped with dangerous wands. One extremely helpful technique is to dig a series of pit traps outside of the entrance to the shop -- this will hinder the shopkeeper if he tries to leave the shop and pursue you. However, be careful when doing this in Minetown, as the watchmen will become hostile if they fall into your pit traps.
The Keystone Kops are only summoned if you leave the shop without paying with the shopkeeper present. Killing the shopkeeper, or teleporting him out of his store, does not generate Kops.
Theft carries a -1 alignment penalty for lawful characters and a +1 alignment bonus to chaotic non-rogue characters.
Source code references Edit
- ↑ eshk.h, line 8
- ↑ shk.c, line 3073
- ↑ Mon.c#max_mon_load
- ↑ Shk.c#shopdig, Apply.c#um_dist, Mon.c#mnexto
- ↑ eshk.h, line 10
- ↑ shk.c, line 2093
- ↑ shk.c, line 2210