Difference between revisions of "Bag of tricks"

From NetHackWiki
Jump to navigation Jump to search
(fiqhack: monsters will use bags of tricks)
Line 3: Line 3:
 
A '''bag of tricks''' is a [[tool]] in ''[[Nethack]]'' that looks like an ordinary bag but acts very differently.
 
A '''bag of tricks''' is a [[tool]] in ''[[Nethack]]'' that looks like an ordinary bag but acts very differently.
  
==Effects==
 
 
Though they are defined with the `CONTAINER` macro, bags of tricks are not actually containers: they never hold any items, nor can any be placed in them. Instead, attempting to #[[loot]] a bag of tricks will cause it to bite you for d10 damage, which [[auto-identifies]] it; the death message associated with this is "killed by a carnivorous bag".
 
Though they are defined with the `CONTAINER` macro, bags of tricks are not actually containers: they never hold any items, nor can any be placed in them. Instead, attempting to #[[loot]] a bag of tricks will cause it to bite you for d10 damage, which [[auto-identifies]] it; the death message associated with this is "killed by a carnivorous bag".
  
Bags of tricks are generated with 1 to 20 charges. [[Apply]]ing a charged bag of tricks will use up one charge and either create one [[monster]] with 22/23 chance, or create 2 to 8 monsters with 1/23 chance; the bag is auto-identified in either case, and nothing happens when applying a bag with zero charges. If the bag has more than 10 charges, a blessed [[scroll of charging]] will add 6 to 10 charges, and if it has 10 or less, it will add 6 to 15 charges; an uncursed scroll will always add 1 to 5 charges. It cannot hold more than 50 charges, but can be recharged an unlimited number of times. Using #[[tip]] with a bag of tricks will expend all the charges at once, so beware!
+
==Generation==
 +
Bags of tricks are generated with 1 to 20 charges.
  
Placing a bag of tricks with nonzero charges into a [[bag of holding]] will cause a [[magical explosion]], destroying both bags as well as everything in the bag of holding.
+
==Description==
 +
[[Apply]]ing a charged bag of tricks will use up one charge and either create one [[monster]] with 22/23 chance, or create 2 to 8 monsters with 1/23 chance; the bag is auto-identified in either case, and nothing happens when applying a bag with zero charges. If the bag has more than 10 charges, a blessed [[scroll of charging]] will add 6 to 10 charges, and if it has 10 or less, it will add 6 to 15 charges; an uncursed scroll will always add 1 to 5 charges. It cannot hold more than 50 charges, but can be recharged an unlimited number of times.
 +
 
 +
Using #[[tip]] with a bag of tricks will expend all the charges at once; placing a bag of tricks with charges into a [[bag of holding]] will cause a [[magical explosion]], destroying both bags as well as everything in the bag of holding.  
  
 
{{upcoming|NetHack 3.7.0|Most contents of a destroyed bag of holding will be scattered as opposed to destroyed outright.}}
 
{{upcoming|NetHack 3.7.0|Most contents of a destroyed bag of holding will be scattered as opposed to destroyed outright.}}
  
 
==Strategy==
 
==Strategy==
If carrying a bag of holding, bags of tricks should be treated with the same caution as a [[wand of cancellation]]. Unless you need to create some monsters (for [[food]], [[sacrifice]] or [[experience]]), they are often best left alone - a magical explosion can be a game-ending mistake.
+
If carrying a bag of holding, bags of tricks should be treated with the same caution as a [[wand of cancellation]]. Unless you need to create some monsters (for [[food]], [[sacrifice]] or [[experience]]), they are often best left alone or stashed elsewhere - a magical explosion can be a game-ending mistake.
  
If you only want the bag to [[polypile]] with, apply it until it runs out of charges, and make sure you can deal with the generated monsters! An uncharged bag of tricks is "safe", and if it polymorphs into another charged tool, the new tool's charges will be independent of the number of charges the bag had.
+
If you only want the bag to [[polypile]] with, apply it until it runs out of charges, and make sure you can deal with the generated monsters; they will all spawn at once if you #tip the bag, so beware! An uncharged bag of tricks is "safe", and if it polymorphs into another charged tool, the new tool's charges will be independent of the number of charges the bag had.
  
 
==Variants==
 
==Variants==
 
 
===UnNetHack===
 
===UnNetHack===
 
In [[UnNetHack]], a charged bag of tricks has an equal chance of producing a creature as described above, or causing a random (mostly harmful) effect, such as briefly paralyzing the player, knocking a weapon from their hand, or spewing forth a [[scroll of stinking cloud|stinking cloud]].{{refsrc|src/makemon.c|1812|unnethack=251}}
 
In [[UnNetHack]], a charged bag of tricks has an equal chance of producing a creature as described above, or causing a random (mostly harmful) effect, such as briefly paralyzing the player, knocking a weapon from their hand, or spewing forth a [[scroll of stinking cloud|stinking cloud]].{{refsrc|src/makemon.c|1812|unnethack=251}}
Line 54: Line 56:
 
|}
 
|}
  
A bag of tricks with no charges can hold items like a regular sack;{{refsrc|src/makemon.c|1802|unnethack=251}} charging it again will destroy any items inside.{{refsrc|src/read.c|500|unnethack=251}} Since the bag of tricks is a "magical bag", it will also protect its contents from [[fragile|shattering]], like the [[bag of holding]]; this is possibly unintentional.
+
A bag of tricks with no charges can hold items like a regular sack;{{refsrc|src/makemon.c|1802|unnethack=251}} charging it again will destroy any items inside.{{refsrc|src/read.c|500|unnethack=251}} Since the bag of tricks is a "magical bag", it will also protect its [[fragile]] contents from shattering like a bag of holding; this is possibly unintentional.
  
 
===FIQHack===
 
===FIQHack===
Monsters in [[FIQHack]] can and will use bags of tricks!
+
Monsters in [[FIQHack]] are able to use bags of tricks against you, similar to a [[wand of create monster]].
 +
 
 +
===DynaHack===
 +
In [[DynaHack]], bags of holding function as they do in UnNetHack.
 +
 
 +
===EvilHack===
 +
In [[EvilHack]], monsters are also capable of using bags of tricks against player characters.
  
 
==References==
 
==References==
 
<references/>
 
<references/>
 
+
{{nethack-366}}
 
[[Category:Tools]]
 
[[Category:Tools]]

Revision as of 07:45, 23 February 2022

( Bag.png
Name bag of tricks
Appearance bag
Base price 100 zm
Weight 15
Material cloth
Monster use Will not be used by monsters.

A bag of tricks is a tool in Nethack that looks like an ordinary bag but acts very differently.

Though they are defined with the `CONTAINER` macro, bags of tricks are not actually containers: they never hold any items, nor can any be placed in them. Instead, attempting to #loot a bag of tricks will cause it to bite you for d10 damage, which auto-identifies it; the death message associated with this is "killed by a carnivorous bag".

Generation

Bags of tricks are generated with 1 to 20 charges.

Description

Applying a charged bag of tricks will use up one charge and either create one monster with 22/23 chance, or create 2 to 8 monsters with 1/23 chance; the bag is auto-identified in either case, and nothing happens when applying a bag with zero charges. If the bag has more than 10 charges, a blessed scroll of charging will add 6 to 10 charges, and if it has 10 or less, it will add 6 to 15 charges; an uncursed scroll will always add 1 to 5 charges. It cannot hold more than 50 charges, but can be recharged an unlimited number of times.

Using #tip with a bag of tricks will expend all the charges at once; placing a bag of tricks with charges into a bag of holding will cause a magical explosion, destroying both bags as well as everything in the bag of holding.

The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that it is still accurate, then update the page to incorporate this information.

Most contents of a destroyed bag of holding will be scattered as opposed to destroyed outright.

Strategy

If carrying a bag of holding, bags of tricks should be treated with the same caution as a wand of cancellation. Unless you need to create some monsters (for food, sacrifice or experience), they are often best left alone or stashed elsewhere - a magical explosion can be a game-ending mistake.

If you only want the bag to polypile with, apply it until it runs out of charges, and make sure you can deal with the generated monsters; they will all spawn at once if you #tip the bag, so beware! An uncharged bag of tricks is "safe", and if it polymorphs into another charged tool, the new tool's charges will be independent of the number of charges the bag had.

Variants

UnNetHack

In UnNetHack, a charged bag of tricks has an equal chance of producing a creature as described above, or causing a random (mostly harmful) effect, such as briefly paralyzing the player, knocking a weapon from their hand, or spewing forth a stinking cloud.[1]

Chance Effect
31/40 Creates a monster.
2/40 Spits out a random item of weight >= 100, or coughs nervously.
1/40 Bag "wriggles away from you", causing it to drop.
1/40 Tries to pull you in, paralyzing for d4 turns.
1/40 Spits out a stinking cloud.
1/40 Causes hallucination for 10+d35 turns.
1/40 Yells "Boo!", scaring nearby monsters and possibly the player for a few turns.
1/40 Grows teeth and bites, as if looted.
1/40 Licks your wielded weapon from your hand, causing it to drop.

A bag of tricks with no charges can hold items like a regular sack;[2] charging it again will destroy any items inside.[3] Since the bag of tricks is a "magical bag", it will also protect its fragile contents from shattering like a bag of holding; this is possibly unintentional.

FIQHack

Monsters in FIQHack are able to use bags of tricks against you, similar to a wand of create monster.

DynaHack

In DynaHack, bags of holding function as they do in UnNetHack.

EvilHack

In EvilHack, monsters are also capable of using bags of tricks against player characters.

References