Difference between revisions of "Alchemy"

From NetHackWiki
Jump to navigation Jump to search
(Color alchemy: Colors are different in unnethack. Source: https://github.com/UnNetHack/UnNetHack/blob/master/src/potion.c)
(Alchemic blasts: some follow-up)
 
(43 intermediate revisions by 21 users not shown)
Line 1: Line 1:
[[File:NH-Alchemy-chain-heal.svg|thumb|320px|By [[#Multiple step recipes|combining different potions]] appropriately, common potions of [[potion of speed|speed]], [[potion of healing|healing]] and [[potion of extra healing|extra healing]] can be converted to the much more useful [[potion of full healing|full healing]] and/or [[potion of gain ability|gain ability]].]]
+
[[File:NH-Alchemy-chain-heal.svg|thumb|320px|By [[#Multiple step recipes|combining different potions]] appropriately, common potions of [[potion of speed|speed]], [[potion of healing|healing]] and [[potion of extra healing|extra healing]] can be converted to the much more useful [[potion of full healing|full healing]] and [[potion of gain ability|gain ability]].]]
If [[you]] #[[dip]] one [[potion]] into another potion, and the potion you are dipping into is not a [[potion of water]], and neither of the potions involved is a potion of polymorph, then you are performing '''alchemy'''. If it goes well, the two potions will mix into one new uncursed, diluted potion. For those who are not spoiled, alchemy is difficult to learn.
+
In ''NetHack'', '''alchemy''' is the process of [[dip]]ping one [[potion]] into another potion to mix the two into a new uncursed, diluted potion. For those who are not spoiled, alchemy is difficult to learn - there is no in-game indication of which potions are meant to be compatible with each other. While mixing potions at random is [[#Alchemic blasts|generally dangerous and unwise]], there are a set of recipes that can be used to produce fairly consistent results.
  
Though most of the effects of alchemy are dangerous or unpredictable, a few specific recipes are worth it: you can use [[potion of gain energy|potions of gain energy]] to upgrade your potions of healing and extra healing. You can also use [[potion of gain level|potions of gain level]] for these upgrades, if you don't need to gain levels.
+
Despite its name, the [[alchemy smock]] has no effect on alchemy.
  
== Warning ==
+
==Description==
* Do not involve any [[potion of acid]] in alchemy.
+
The <tt>[[potion.c#mixtype|mixtype]]</tt> function describes the alchemy recipes and governs which mixtures of potions produce certain results, as well as how often. Any potion made via alchemy will always be diluted, regardless of whether the input potions were; for recipes, the order of the potions involved does not matter.
* Do not dip a cursed potion into anything; it will cause an alchemic blast!
 
** Dipping ''into'' a cursed potion, however, is no different from dipping into an uncursed potion, and in fact is a good way to use up a cursed potion.
 
** Note that in SLASH'EM, dipping into a cursed potion ''will'' cause an explosion.
 
* Do not involve any unidentified potions in alchemy; you need to know the identity of both potions to use the recipes. Identifying input potions through alchemy is not feasible because of the high chance of random effects.
 
** Identifying output potions, on the other hand, is quite common and often useful.
 
  
== Danger of alchemic blasts ==
+
The following actions do not constitute alchemy:
Even if you are following the recipes, there is a 1/10 chance of an alchemic blast ("BOOM! They explode!"). Furthermore, if you dip a [[potion of acid]] or any [[cursed]] potion into another potion, you will always cause an alchemic blast. The mixture will explode, the blast will take 1 to 10 HP from you, and it will generate [[vapors]] from the potion being dipped. The blast will also [[abuse]] your [[strength]].{{refsrc|potion.c|1668}} Note: wearing an [[alchemy smock]] has no effect on alchemy!
+
* Dipping any potion(s) into an uncursed [[potion of water]] will simply dilute it; dipping into blessed or cursed water will bless or curse the potion.
 +
* Using a [[potion of polymorph]] will polymorph the other potion, breaking [[polypileless]] [[conduct]].
  
== Benefit of stacking ==
+
===Alchemic blasts===
[[Stackable|Stacking]] potions before performing alchemy is often beneficial. Dipping a stack of any number of potions into a stack of one or more other potions will alchemize all potions in the former stack, while consuming only one potion of the latter stack.
+
Performing alchemy has a {{frac|10}} chance of causing an '''alchemic blast''' instead: the potions used are destroyed, and the explosion causes d10 damage, [[abuse]]s [[strength]] and generates [[vapors]] from the potion that was being dipped.{{refsrc|src/potion.c|1887|version=NetHack 3.6.0}} Dipping a [[potion of acid]] or any cursed potion into another potion guarantees an alchemic blast; dipping ''into'' a cursed potion only has the normal chance of an alchemic blast, while dipping into a potion of acid performs random alchemy. If the alchemy would mix only a subset of a stack of dipped potions, only that subset is destroyed.
  
For example, dipping one potion of speed into a stack of three potions of healing will leave you one potion of extra healing and two potions of healing, consuming only one potion of healing in the process. However, dipping a stack of three potions of healing into one potion of speed will give you three potions of extra healing (the one and only potion of speed in the latter stack being consumed).
+
===Random alchemy results===
 +
Mixing a pair of non-acidic potions that does not have a recipe (all of which are [[#List of recipes|helpfully listed below]]) will give a random result:
  
In summary, always dip the larger stack of potions of one type into the smaller stack of potions of the other to get the most out of alchemy. Additionally, you may wish to consolidate stacks of potions of the same type by ensuring they have the same [[beatitude]] and [[dilution]]. If the stacks of both types of potion are large, you may choose to hold a few potions back from the larger stack so that you can perform alchemy on the remains of the smaller stack.
+
* Your stack may turn into [[potion of water|potions of water]]. ({{frac|8}} chance, or always if dipping a diluted potion into another potion)
 +
* Your stack may turn into [[potion of sickness|potions of sickness]]. ({{frac|4}} chance)
 +
* Your stack may turn into a random potion type, with the usual probabilities that apply to random potions found in the dungeon. ({{frac|8}} chance)
 +
* All of your potions may evaporate; the one potion dipped into will also be used up. ({{frac|2}} chance)
  
If an alchemy attempt results in an explosion, only one potion of each type will be used up.
+
==Stacking==
 +
Dipping one set of [[stackable]] potions into another will alchemize multiple potions in the stack being dipped, while consuming only one potion of the one being dipped into:
 +
* If the resulting potion (or, for random alchemy, any of the two ingredients) is [[magic item|magical]], 3&ndash;8 of dipped potions will be alchemized (but no more than the size of the stack).{{refsrc|src/potion.c|1963|nethack=3.6.1}}
 +
* If the resulting potion is non-magical, or you are performing random alchemy with non-magic potions, at least 7 potions (up to the entire stack) will be alchemized.
 +
* Dipping potions into water is not considered alchemy. If you dip a stack of potions into water, all of them will be affected.
  
== Recipes ==
+
{{upcoming|NetHack 3.7.0|As of {{commit|e8ca614e5c8febcec8dc0ed89f84e69b363346ee}}, when the stack of potions being dipped is diluted, only 2 potions will be alchemized.}}
The <tt>[[potion.c#mixtype|mixtype]]</tt> function decrees the alchemy recipes in this game. Each recipe requires you to mix two potions. The order of potions does not matter: whether you dip a potion of healing into a potion of speed, or dip a potion of speed into a potion of healing, you will make a potion of extra healing (with the 1/10 chance of an alchemic blast instead). The outcome will always be diluted, regardless if the input potions were.
 
  
In the below tables, the result is on the left and the ingredients are on the right; sometimes there is a numbered list of multiple recipes. Try skimming the left column for the potion that you want to make. All potions in the tables do link to their articles.
+
As such, some players tend to wait until they have a stack of at least eight potions to dip before performing alchemy, to get the greatest return out of the dipped-into potion; this includes identifying their [[beatitude]] and accounting for any diluted potions. Make sure to examine your potions between each dip, to avoid accidentally turning a diluted potion into water; splitting stacks to avoid accidents is unnecessary due to how dipped stacks of potions are treated (as described above).
  
=== Simple recipes ===
+
There are multiple methods to dilute potions: You can dip them into a [[fountain]], or simply dip them in a [[moat]] while [[flying]] or wearing [[water walking boots]]. If neither are available, you can also drop your iron items, scrolls, spellbooks, and other potions, then walk into water - make sure your [[encumbrance]] is less than Stressed and that your [[Luck]] is not too high, as this reduces the chances of potions diluting.
These recipes have the greatest likelihood of succeeding. Potions of extra healing and full healing are useful to have throughout the game, because quaffing them while fully healed is a common way to increase max [[hit points]]. Potions of gain ability are a good way to increase [[attribute]]s early in the game, but are of little use late in the game when your attributes are already at [[maximum_attribute|maximum]].
 
  
It is not usually necessary to manufacture potions of see invisible via alchemy, because potions of see invisible are relatively common anyway, and a single blessed potion of see invisible will convey the intrinsic permanently.
+
An [[altar]] will identify the beatitude of your potions. If following the [[atheist]] [[conduct]], you can bless the potions with [[holy water]]; seeing the glow will identify the beatitude. If nothing happens when you dip into holy water, the potions are already blessed; use unholy water to unbless them instead.
 +
 
 +
==List of recipes==
 +
Below is a set of tables with a listed pair of ingredient potions and the result that mixing them produces; multiple recipes can yield the same result. Knowing the identity of the potions you are mixing is necessary regardless of which recipes you are attempting; it is also common to informally identify potions by using the output from these recipes.
 +
 
 +
===Simple recipes===
 +
These recipes have the greatest likelihood of succeeding ({{frac|9|10}}, with a {{frac|1|10}} chance of explosion):
  
 
{|class="prettytable striped"
 
{|class="prettytable striped"
!To make
+
!Ingredients
!Use these ingredients
+
!Result
 
|-
 
|-
 +
|
 +
* [[potion of healing]] + [[potion of speed]] ''or''
 +
* [[potion of healing]] + [[potion of gain level]] ''or''
 +
* [[potion of healing]] + [[potion of gain energy]]
 
|[[potion of extra healing]]
 
|[[potion of extra healing]]
 +
|-
 +
|
 +
* [[potion of extra healing]] + [[potion of gain level]] ''or''
 +
* [[potion of extra healing]] + [[potion of gain energy]]
 +
|[[potion of full healing]]
 +
|-
 
|
 
|
# [[potion of healing]] + [[potion of speed]] ''or''
+
* [[potion of full healing]] + [[potion of gain level]] ''or''
# [[potion of healing]] + [[potion of gain level]] ''or''
+
* [[potion of full healing]] + [[potion of gain energy]]
# [[potion of healing]] + [[potion of gain energy]]
+
|[[potion of gain ability]]
 
|-
 
|-
|[[potion of full healing]]
 
 
|
 
|
# [[potion of extra healing]] + [[potion of gain level]] ''or''
+
* [[potion of fruit juice]] + [[potion of gain level]] ''or''
# [[potion of extra healing]] + [[potion of gain energy]]
+
* [[potion of fruit juice]] + [[potion of gain energy]]
 +
|[[potion of see invisible]]
 
|-
 
|-
|[[potion of gain ability]]
 
 
|
 
|
# [[potion of full healing]] + [[potion of gain level]] ''or''
+
* [[potion of fruit juice]] + [[potion of enlightenment]] ''or''
# [[potion of full healing]] + [[potion of gain energy]]
+
* [[potion of fruit juice]] + [[potion of speed]]
 +
|[[potion of booze]]
 
|-
 
|-
|[[potion of see invisible]]
 
 
|
 
|
# [[potion of fruit juice]] + [[potion of gain level]] ''or''
+
: [[potion of booze]] + [[potion of enlightenment]]
# [[potion of fruit juice]] + [[potion of gain energy]]
+
|[[potion of confusion]]
|}
 
 
 
=== Difficult recipes ===
 
Some recipes do not always produce the same result. The potion of enlightenment formula is almost never worth attempting because the probability of success is so low. Potions of gain level, however, are often worth obtaining via alchemy, because they are more useful than the potions used to make them, and the chance of success is higher than with enlightenment.
 
 
 
{|class="prettytable striped"
 
!To make
 
!Use these ingredients
 
 
|-
 
|-
 
|
 
|
* [[potion of booze]] (6/10 chance)
+
* [[potion of booze]] + [[potion of gain level]] ''or''
* [[potion of enlightenment]] (3/10 chance)
+
* [[potion of booze]] + [[potion of gain energy]]
* alchemical blast (1/10 chance)
+
|[[potion of hallucination]]
 +
|-
 
|
 
|
# [[potion of confusion]] + [[potion of gain level]] ''or''
+
: [[potion of fruit juice]] + [[potion of sickness]]
# [[potion of confusion]] + [[potion of gain energy]]
+
|[[potion of sickness]]
 
|-
 
|-
 
|
 
|
* [[potion of gain level]] (6/10 chance)
+
: (potion of {{! of|healing|extra healing|or=1|full healing}}) + <br/>[[potion of hallucination]], [[potion of blindness|blindness]], ''or'' [[potion of confusion|confusion]]
* [[#Random alchemy results|random alchemy result]] (3/10 chance)
+
| [[potion of water]]
* alchemical blast (1/10 chance)
+
|-
 
|
 
|
# [[potion of enlightenment]] + [[potion of levitation]]
+
: (potion of {{! of|healing|extra healing|or=1|full healing}}) + <br/>[[potion of sickness]]
 +
| [[potion of fruit juice]]
 
|}
 
|}
  
=== Mostly-useless recipes ===
+
Potions of extra healing and full healing are useful to have throughout the game, because quaffing them while fully healed is a common way to increase max [[hit points]]. Potions of gain ability are a good way to increase [[attribute]]s early in the game, but are of little use late in the game when most or all your attributes are already at [[Maximum attribute|maximum]].
Only in rare cases would you ever use these recipes, since you're using up some good potions to make bad ones. For example, maybe you really need a potion of booze to [[confusion|confuse]] yourself, or perhaps potions of hallucination are [[smoky potion]]s in your game. Most players, however, would find these recipes useless:
+
 
 +
The other recipes are usually not as useful to produce via alchemy, though they may have some use cases:
 +
 
 +
* It is not usually necessary to manufacture potions of see invisible via alchemy; in addition to using gain level or gain energy potions that better serve the previously-mentioned recipes, potions of see invisible are relatively common, and a single blessed potion will convey the [[see invisible]] intrinsic permanently.
 +
 
 +
* Potions of sickness can be manufactured without using up other potions that are usually considered more valuable: Fruit juice can be made from [[amethyst]]-dipping into booze and cancelling potions of see invisible (typically once you have permanently gained the intrinsic from a blessed potion), and non-[[lawful]] players may want a stack of potions for keeping their projectiles [[Poison#Poisoning weapons|poisoned]]. However, poison resistance on monsters becomes much more common in the late game, although it still has its uses (e.g. against non-resistant [[summon nasties|nasties]] such as most of the [[dragon]]s).
 +
 
 +
* [[Foodless]] [[conduct]] players in particular can gain a lot from alchemizing diluted fruit juice into booze; both potions give the same nutrition when not diluted (dependent on their [[beatitude]]), but a diluted potion of fruit juice only gives half that nutrition.
 +
 
 +
=== Difficult recipes ===
 +
These recipes do not always produce the same result:
  
 
{|class="prettytable striped"
 
{|class="prettytable striped"
!To make
+
!Ingredients
!Use these ingredients
+
!Results
 
|-
 
|-
|[[potion of booze]]
 
 
|
 
|
# [[potion of fruit juice]] + [[potion of enlightenment]] ''or''
+
* [[potion of confusion]] + [[potion of gain level]] ''or''
# [[potion of fruit juice]] + [[potion of speed]]
+
* [[potion of confusion]] + [[potion of gain energy]]
|-
 
|[[potion of confusion]]
 
 
|
 
|
# [[potion of booze]] + [[potion of enlightenment]]
+
* [[potion of booze]] ({{frac|6|10}} chance)
 +
* [[potion of enlightenment]] ({{frac|3|10}} chance)
 +
* alchemical blast ({{frac|10}} chance)
 
|-
 
|-
|[[potion of hallucination]]
 
 
|
 
|
# [[potion of booze]] + [[potion of gain level]] ''or''
+
: [[potion of enlightenment]] + [[potion of levitation]]
# [[potion of booze]] + [[potion of gain energy]]
 
|-
 
|[[potion of sickness]]
 
 
|
 
|
# [[potion of fruit juice]] + [[potion of sickness]]
+
* [[potion of gain level]] ({{frac|6|10}} chance)
 +
* [[#Random alchemy results|random alchemy result]] ({{frac|3|10}} chance)
 +
* alchemical blast ({{frac|10}} chance)
 
|}
 
|}
  
== Random alchemy results ==
+
The potion of enlightenment formula is almost never worth attempting because the probability of success is so low. Potions of gain level are much more worthwhile in comparison due to their multitude of uses, including making full healing potions, and the chance of success is higher than with enlightenment.
If you perform alchemy on two potions that do not have an otherwise defined result, and you did not dip into a [[potion of acid]], then NetHack will give you some random result:
+
 
 +
===Multiple-step recipes===
 +
It is possible to use the above recipes in tandem with each other, provided you are careful about the use of diluted potions.
 +
 
 +
One example is making blessed potions of full healing and gain ability from all those healing and extra healing potions you've collected. You will need to re-stack your potions at all intermediate stages: bless stacks so all will have the same identified BUC status, and dilute concentrated potions so they will stack with the newly-alchemized ones. Follow the route:
 +
: '''healing → extra healing → full healing → gain ability'''
 +
Only the first step can be done using a potion of speed; the rest need gain energy or gain level (see image at the [[#content|beginning of the page]]). Leave over enough full healing, and bless all the end results.
 +
 
 +
==History==
 +
In [[NetHack 3.4.3]] and earlier versions, including some variants derived from these versions, alchemy always acts on the entire stack.
  
* Your stack may turn into [[potion of water|potions of water]]. (1/8 chance, but 1/1 chance if dipping a diluted potion into another potion)
+
Starting in [[NetHack 3.6.0]], alchemizing a stack works differently from 3.4.3 and from later versions of vanilla ''NetHack'':
* Your stack may turn into [[potion of sickness|potions of sickness]]. (1/4 chance)
 
* Your stack may turn into a random potion type, with the usual probabilities that apply to random potions found in the dungeon. (1/8 chance)
 
* One of your potions may evaporate, the one potion dipped into will also be used up. (1/2 chance)
 
  
==Multiple step recipes==
+
* If you dip 10 or more potions, 2&ndash;9 of them will be alchemized.
It is possible to use the result of alchemy for further alchemy, as long as you follow the normal recipes. Diluted potions work fine.
+
* If you dip 2&ndash;9 potions into a non-magical potion, all of them will be alchemized. The following potions are nonmagic: water, oil, acid, fruit juice, booze, and potion of sickness.
 +
* If you dip 2&ndash;9 potions into a magical potion, at least 2 will be alchemized, up to the number of potions dipped.
  
One example is making blessed [[potion of full healing|potions of full healing]] and [[potion of gain ability|gain ability]] from all those healing and extra healing potions you've collected. You will need to re-stack your potions at all intermediate stages: bless stacks so all will have the same identified BUC status, and dilute concentrated potions so they will stack with the newly-alchemized ones. Along the route:
+
In versions prior to [[NetHack 3.6.3]], the case for dipping healing potions fell through to the unicorn horn case due to a missing <code>break</code> statement, causing the combination of healing and sickness to alchemize to fruit juice, and the combination of healing and hallucination, blindness, or confusion to alchemize to water.{{refsrc|src/potion.c|1766|version=NetHack 3.6.2|comment=Note the lack of breaks in the cases down to the unicorn horn case}}{{refsrc|src/potion.c|1795|version=NetHack 3.6.3|comment=Newly added fall-throughs are marked via comments}} This behavior was made explicit and intentional in NetHack 3.6.3 via {{commit|c6b7540712edfde8495bd3a41b018aa0d8a1eecc}}.
: '''healing → extra healing → full healing → gain ability''' ,
+
 
only the first step can be done using a potion of speed, the rest need gain energy/gain level (see image at the [[#content|beginning of the page]]). Leave over enough full healing, and bless all the end results.
+
===Gain level recipe===
 +
A very complicated recipe is used in 3.4.3 for making lots of potions of gain level:
  
A much more complicated recipe is for making lots of potions of gain level:
 
 
[[File:NH-Alchemy-chain-water2gl.svg|thumb|center|800px|'''Stack of water → sickness → fruit juice → booze → confusion → enlightenment → gain level''']]
 
[[File:NH-Alchemy-chain-water2gl.svg|thumb|center|800px|'''Stack of water → sickness → fruit juice → booze → confusion → enlightenment → gain level''']]
Gather lots of potions, turn them into water, dip the stack of water (blessed or uncursed) into some potion, this counts as random alchemy (see below), 25% of the time you will get [[potion of sickness|potions of sickness]], the other times you may lose one potion of water, or get some other random result, in those cases, just dip again unless you get something good from the random result. [[Cancellation|Cancel]] the sickness or dip a [[unicorn horn]] to turn it into juice. Dip into speed for booze. Dip into enlightenment for confusion. Dip into gain level or gain energy for a 1 in 3 chance of enlightenment (the other 2/3 they become booze, which moves you back a bit). Dip into levitation for a 2 in 3 chance of gain level, the rest of the time it counts as a random result, and probably means you have to start the whole thing over again, although if the stack is big enough, you don't need to turn them into water.
+
* Gather lots of potions, turn them into water, and dip the stack of water (blessed or uncursed) into some potion.
This recipe uses up expected 23.67 potion, including all the trackbacks and alchemic explosions. To conserve resources, you can dip the water into otherwise useless [[potion of acid]], and use a unicorn horn or cancellation spell to convert sickness to juice rather than a wand of cancellation.
+
** This counts as [[#Random alchemy results|random alchemy]]; 25% of the time you will get [[potion of sickness|potions of sickness]]. The other times you may lose one potion of water, or get some other random result. In those cases, just dip again unless you get something good from the random result.
 +
* [[Cancellation|Cancel]] the sickness or dip a [[unicorn horn]] to turn it into juice, then dip juice into speed for booze.
 +
* Dip booze into enlightenment for confusion, and dip that into gain level or gain energy for a {{frac|3}} chance of enlightenment (the other {{frac|2|3}} they become booze, which moves you back a bit.
 +
* Dip into levitation for a {{frac|2|3}} chance of gain level; the other {{frac|3}} gives a random result, and probably means you have to start the whole thing over again.
 +
 
 +
In 3.4.3, this recipe uses up an expected 23.67 potions, including all the trackbacks and alchemic explosions; to conserve resources, you can dip the water into otherwise useless [[potion of acid]], and use a unicorn horn or cancellation spell to convert sickness to juice rather than a wand of cancellation; 3.6.1 makes this recipe much less profitable. Firstly, producing sickness through random alchemy incurs a 50% chance per dip of the ''entire'' water stack disappearing, which makes it significantly more risky (and costly on average). Secondly, both confusion and enlightenment are magical potions, so making them in decent amounts under the new stacking rules is significantly harder. Assuming a large potion supply (at least 8 for each dip) and accounting both for dipped-in enlightenment and byproduct booze, each potion of enlightenment on average requires 5.1<!-- 5+10/97 --> potions of booze and 1.9<!-- 1+83/97 --> potions of gain level or gain energy to make, which actually makes using gain level counterproductive. In a more realistic scenario of limited potion supply, you have a very real possibility of using up all of your gain energy potions and ending up with fewer enlightenment potions than your initial supply.
 +
 
 +
 
 +
==Variants==
 +
===SLASH'EM===
 +
In [[SLASH'EM]], dipping into a cursed potion will cause an explosion.
  
In SLASH'EM, dipping a potion of water into another potion is the same as dipping that potion into water; thus it is not possible to use potions of water in random alchemy as it will always dilute the other potion rather than creating a random alchemic result. This can be circumvented by taking the potions of water and dipping them into the [[castle]] moat, turning them into potions of amnesia. These potions can then be used for random alchemy, however the vapors caused by an explosion will cause you to forget spells, items and levels, unless you are both polymorphed into a form that is eyeless and have magical breathing.
+
Dipping a potion of water into another potion is the same as dipping that potion into water; thus it is not possible to use potions of water in random alchemy, as it will always dilute the other potion rather than creating a random alchemic result. This can be circumvented by taking the potions of water and dipping them into the [[castle]] moat, turning them into [[Potion of amnesia|potions of amnesia]]. These potions can then be used for random alchemy, but the vapors caused by an explosion will cause you to forget spells, items and levels, unless you are polymorphed into a form that is [[eyeless]] and have [[breathless|breathlessness]] from any source, including your polymorphed form.
  
== Color alchemy ==
+
=== Color alchemy ===
  
The Color Alchemy Patch, notably incorporated in[[UnNetHack| UnNetHack]] 3.5.2, changes the rules of alchemy to be based on artistic color mapping. It makes use of the primary colors red, blue and yellow, the secondary colors orange, green and purple, and the tertiary color brown, as well as black and white. All primary, secondary, and tertiary colors have a light and dark variant:
+
The Color Alchemy Patch, notably incorporated in [[UnNetHack]] 3.5.2, changes the rules of alchemy to be based on artistic color mapping. It makes use of the primary colors red, blue and yellow, the secondary colors orange, green and purple, and the tertiary color brown, as well as black and white. All primary, secondary, and tertiary colors have a light and dark variant:
 
{| class="prettytable striped"
 
{| class="prettytable striped"
!Color
+
!Color !! Light !! Dark
!Light
 
!Dark
 
 
|-
 
|-
|Red
+
|Red || pink potion || ruby potion
|Pink Potion
 
|Ruby Potion
 
 
|-
 
|-
|Blue
+
|Blue || sky blue potion || indigo potion
|Sky Blue Potion
 
|Indigo Potion
 
 
|-
 
|-
|Yellow
+
|Yellow || yellow potion || golden potion
|Yellow Potion
 
|Golden Potion
 
 
|-
 
|-
|Orange
+
|Orange || orange potion || amber potion
|Orange Potion
 
|Amber Potion
 
 
|-
 
|-
|Green
+
|Green || emerald potion || dark green potion
|Emerald Potion
 
|Dark Green Potion
 
 
|-
 
|-
|Purple
+
|Purple || puce potion || magenta potion
|Puce Potion
 
|Magenta Potion
 
 
|-
 
|-
|Brown
+
|Brown || ochre potion || brown potion
|Ochre Potion
 
|Brown Potion
 
 
|}
 
|}
 +
 
Mixing potions together gets the following results:
 
Mixing potions together gets the following results:
 
{| class="prettytable striped"
 
{| class="prettytable striped"
!Mix These
+
!Ingredients !! Result
!To Get This
 
 
|-
 
|-
|Red + Yellow
+
|red + yellow || orange
|Orange
 
 
|-
 
|-
|Red + Blue
+
|red + blue || purple
|Purple
 
 
|-
 
|-
|Yellow + Blue
+
|yellow + blue || green
|Green
 
 
|-
 
|-
|Any two secondaries
+
|''any two secondaries'' || brown
|Brown
 
 
|-
 
|-
|Any dark + White
+
|''any dark potion'' + white || ''corresponding light potion''
|Corresponding light
 
 
|-
 
|-
|Any light + Black
+
|''any light potion'' + black || ''corresponding dark portion''
|Corresponding dark
 
 
|-
 
|-
|Black + White
+
|black + white || gray
|Gray
 
 
|-
 
|-
|Any Other Combination
+
|''any other combination'' || random alchemy result
|Random Alchemy Result, as above
 
 
|}
 
|}
Mixing two light primaries will create the light version of the secondary, and the same goes with dark. Mixing a light and a dark primary will create either result at random unless one of the primaries is diluted, in which case the secondary will have the same light/dark level as the undiluted potion.
+
 
 +
Mixing two light potions will create the light version of the result, and the same goes with dark. Mixing a light and a dark potion will create either result at random unless one of the original potions is diluted, in which case the result will have the same light/dark level as the undiluted potion.
  
 
These potions are considered colorless:<br />
 
These potions are considered colorless:<br />
Murky, Milky, Dark, Smoky, Swirly, Bubbly, Effervescent, Fizzy and Viscous.
+
bubbly        icy          smoky
 +
cloudy        luminescent  soapy
 +
dark          milky        sparkling
 +
effervescent  muddy        squishy
 +
gooey        murky        steamy
 +
greasy        silver        swirly
 +
fizzy        slimy        viscous
  
The patch also changes two potion names: Purple-Red becomes Amber, and Cyan becomes Viscous.
+
The patch also changes three potion names: purple-red, brilliant blue, and cyan are replaced with amber, indigo, and viscous.
  
Finally, a Potion of Polymorph, regardless of its color, will simply polymorph anything it is mixed with.
+
Because there are 12 more possible potion colors than types of potions in the game, some colors will probably not exist, rendering some formulas unavailable for certain games.
  
== Gem Alchemy (SLASH'EM and dNethack) ==
+
If the desired color is not a color used in the game, both potions will be wasted. For example, if you mix an orange potion with an emerald potion, but brown potions are not used in your game, then you will both potions disappear, leaving you with nothing: "The mixture glows brightly and evaporates."
  
In [[SLASH'EM]] and [[dNethack]], dipping a valuable gem into a [[potion of acid]] will generate another type of potion. The potion you get is defined by its randomized description, not by its identified description. For example, if you dip a ruby into acid, you will always get a ruby potion whether ruby potions are full healing or hallucination in your game. Note there are no gems that give out milky, smoky, muddy, fizzy, luminescent, puce, bubbly, icy, blood-red or clear potions. There seems to be a chance that any dipping can result in an explosion, as in any alchemy. If the potion of acid is cursed, it always explode, like with normal alchemy. Finally, note that you will need one potion of acid per potion produced; Stacks of gems will be melted one gem at a time.
+
Finally, a potion of polymorph, regardless of its color, will simply polymorph anything it is mixed with.
 +
 
 +
=== Blood potions ===
 +
 
 +
Potions of [[potion of blood|blood]] and vampire blood, introduced in [[SLASH'EM]] and [[UnNetHack]], are also subject to alchemy:
  
 
{|class="prettytable striped"
 
{|class="prettytable striped"
!Gem to dip into acid
+
!Ingredients
!Resulting potion color/appearance
+
!Result
 
|-
 
|-
|[[Dilithium crystal]]
+
|[[potion of fruit juice]] + [[potion of blood]]
|None - Always explodes
+
|[[potion of blood]]
 +
|-
 +
|[[potion of fruit juice]] + [[potion of vampire blood]]
 +
|[[potion of vampire blood]]
 +
|}
 +
 
 +
In UnNetHack, these are the only potion-mixing recipes outside of the color alchemy system.
 +
 
 +
=== Gem alchemy ===
 +
 
 +
In [[SLASH'EM]] and [[dNetHack]], dipping a valuable [[gem]] into a [[potion of acid]] will generate another type of potion. The potion you get is defined by its randomized description, not by its identified description. For example, if you dip a ruby into acid, you will always get a ruby potion whether ruby potions are full healing or hallucination in your game.
 +
 
 +
There's a chance that dipping will cause an explosion, using up the potion and gem and dealing some damage. If the potion of acid is cursed, it always explodes, like with normal alchemy. You will need one potion of acid per potion produced; stacks of gems will be melted one gem at a time.
 +
 
 +
{|class="prettytable striped sortable"
 +
!Dipped gem
 +
!Resulting potion appearance
 
|-
 
|-
|[[Opal]]
+
|[[dilithium crystal]]
|Cloudy potion
+
|''(always explodes)''
 
|-
 
|-
|[[Ruby]]
+
|[[opal]]
|Ruby potion
+
|cloudy potion
 
|-
 
|-
|[[Garnet]]
+
|[[ruby]]
|Pink potion
+
|ruby potion
 
|-
 
|-
|[[Jasper]]
+
|[[garnet]]
|Purple-red potion
+
|pink potion
 
|-
 
|-
|[[Jacinth]]
+
|[[jasper]]
|Orange potion
+
|purple-red potion
 
|-
 
|-
|[[Agate]]
+
|[[jacinth]]
|Swirly potion
+
|orange potion
 
|-
 
|-
|[[Citrine]]
+
|[[agate]]
|Yellow potion
+
|swirly potion
 
|-
 
|-
|[[Chrysoberyl]]
+
|[[citrine]]
|Golden potion
+
|yellow potion
 
|-
 
|-
|[[Amber]]
+
|[[chrysoberyl]]
|Brown potion
+
|golden potion
 
|-
 
|-
|[[Topaz]]
+
|[[amber]]
|Murky potion
+
|brown potion
 
|-
 
|-
|[[Emerald]]
+
|[[topaz]]
|Emerald potion
+
|murky potion
 
|-
 
|-
|[[Turquoise]]
+
|[[emerald]]
|Sky blue potion
+
|emerald potion
 
|-
 
|-
|[[Aquamarine]]
+
|[[turquoise]]
|Cyan potion
+
|sky blue potion
 
|-
 
|-
|[[Jade]]
+
|[[aquamarine]]
|Dark green potion
+
|cyan potion
 
|-
 
|-
|[[Sapphire]]
+
|[[jade]]
|Brilliant blue potion
+
|dark green potion
 
|-
 
|-
|[[Amethyst]]
+
|[[sapphire]]
|Magenta potion
+
|brilliant blue potion
 
|-
 
|-
|[[Fluorite]]
+
|[[amethyst]]
|White potion
+
|magenta potion
 
|-
 
|-
|[[Black opal]]
+
|[[fluorite]]
|Black potion
+
|white potion
 
|-
 
|-
|[[Jet]]
+
|[[black opal]]
|Dark potion
+
|black potion
 
|-
 
|-
|[[Obsidian ]]
+
|[[jet]]
|Effervescent potion
+
|dark potion
 
|-
 
|-
|[[Worthless glass]]
+
|[[obsidian ]]
|No effect
+
|effervescent potion
 
|-
 
|-
|'''No gem'''
+
|[[worthless glass]]
|milky, smoky, muddy, fizzy, luminescent, puce, bubbly, icy, blood-red and clear potions
+
|''(no effect)''
 
|}
 
|}
  
As in vanilla Nethack, dipping an amethyst into a potion of booze turns it into a potion of fruit juice.
+
There are no gems that produce milky, smoky, muddy, fizzy, luminescent, puce, bubbly, icy, blood-red, or clear potions.
  
== References ==
+
As in vanilla NetHack, dipping an amethyst into a potion of booze turns it into a potion of fruit juice.
<references />
 
  
{{nethack-343|offset=1}}
+
==References ==
 +
<references/>
 +
{{nethack-361|offset=1}}
 
{{featured}}
 
{{featured}}
 
[[Category:Strategy]]
 
[[Category:Strategy]]
 
[[Category:Potions]]
 
[[Category:Potions]]

Latest revision as of 18:42, 8 January 2024

By combining different potions appropriately, common potions of speed, healing and extra healing can be converted to the much more useful full healing and gain ability.

In NetHack, alchemy is the process of dipping one potion into another potion to mix the two into a new uncursed, diluted potion. For those who are not spoiled, alchemy is difficult to learn - there is no in-game indication of which potions are meant to be compatible with each other. While mixing potions at random is generally dangerous and unwise, there are a set of recipes that can be used to produce fairly consistent results.

Despite its name, the alchemy smock has no effect on alchemy.

Description

The mixtype function describes the alchemy recipes and governs which mixtures of potions produce certain results, as well as how often. Any potion made via alchemy will always be diluted, regardless of whether the input potions were; for recipes, the order of the potions involved does not matter.

The following actions do not constitute alchemy:

Alchemic blasts

Performing alchemy has a 110 chance of causing an alchemic blast instead: the potions used are destroyed, and the explosion causes d10 damage, abuses strength and generates vapors from the potion that was being dipped.[1] Dipping a potion of acid or any cursed potion into another potion guarantees an alchemic blast; dipping into a cursed potion only has the normal chance of an alchemic blast, while dipping into a potion of acid performs random alchemy. If the alchemy would mix only a subset of a stack of dipped potions, only that subset is destroyed.

Random alchemy results

Mixing a pair of non-acidic potions that does not have a recipe (all of which are helpfully listed below) will give a random result:

  • Your stack may turn into potions of water. (18 chance, or always if dipping a diluted potion into another potion)
  • Your stack may turn into potions of sickness. (14 chance)
  • Your stack may turn into a random potion type, with the usual probabilities that apply to random potions found in the dungeon. (18 chance)
  • All of your potions may evaporate; the one potion dipped into will also be used up. (12 chance)

Stacking

Dipping one set of stackable potions into another will alchemize multiple potions in the stack being dipped, while consuming only one potion of the one being dipped into:

  • If the resulting potion (or, for random alchemy, any of the two ingredients) is magical, 3–8 of dipped potions will be alchemized (but no more than the size of the stack).[2]
  • If the resulting potion is non-magical, or you are performing random alchemy with non-magic potions, at least 7 potions (up to the entire stack) will be alchemized.
  • Dipping potions into water is not considered alchemy. If you dip a stack of potions into water, all of them will be affected.

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.

As of commit e8ca614e, when the stack of potions being dipped is diluted, only 2 potions will be alchemized.

As such, some players tend to wait until they have a stack of at least eight potions to dip before performing alchemy, to get the greatest return out of the dipped-into potion; this includes identifying their beatitude and accounting for any diluted potions. Make sure to examine your potions between each dip, to avoid accidentally turning a diluted potion into water; splitting stacks to avoid accidents is unnecessary due to how dipped stacks of potions are treated (as described above).

There are multiple methods to dilute potions: You can dip them into a fountain, or simply dip them in a moat while flying or wearing water walking boots. If neither are available, you can also drop your iron items, scrolls, spellbooks, and other potions, then walk into water - make sure your encumbrance is less than Stressed and that your Luck is not too high, as this reduces the chances of potions diluting.

An altar will identify the beatitude of your potions. If following the atheist conduct, you can bless the potions with holy water; seeing the glow will identify the beatitude. If nothing happens when you dip into holy water, the potions are already blessed; use unholy water to unbless them instead.

List of recipes

Below is a set of tables with a listed pair of ingredient potions and the result that mixing them produces; multiple recipes can yield the same result. Knowing the identity of the potions you are mixing is necessary regardless of which recipes you are attempting; it is also common to informally identify potions by using the output from these recipes.

Simple recipes

These recipes have the greatest likelihood of succeeding (910, with a 110 chance of explosion):

Ingredients Result
potion of extra healing
potion of full healing
potion of gain ability
potion of see invisible
potion of booze
potion of booze + potion of enlightenment
potion of confusion
potion of hallucination
potion of fruit juice + potion of sickness
potion of sickness
(potion of healing, extra healing, or full healing) +
potion of hallucination, blindness, or confusion
potion of water
(potion of healing, extra healing, or full healing) +
potion of sickness
potion of fruit juice

Potions of extra healing and full healing are useful to have throughout the game, because quaffing them while fully healed is a common way to increase max hit points. Potions of gain ability are a good way to increase attributes early in the game, but are of little use late in the game when most or all your attributes are already at maximum.

The other recipes are usually not as useful to produce via alchemy, though they may have some use cases:

  • It is not usually necessary to manufacture potions of see invisible via alchemy; in addition to using gain level or gain energy potions that better serve the previously-mentioned recipes, potions of see invisible are relatively common, and a single blessed potion will convey the see invisible intrinsic permanently.
  • Potions of sickness can be manufactured without using up other potions that are usually considered more valuable: Fruit juice can be made from amethyst-dipping into booze and cancelling potions of see invisible (typically once you have permanently gained the intrinsic from a blessed potion), and non-lawful players may want a stack of potions for keeping their projectiles poisoned. However, poison resistance on monsters becomes much more common in the late game, although it still has its uses (e.g. against non-resistant nasties such as most of the dragons).
  • Foodless conduct players in particular can gain a lot from alchemizing diluted fruit juice into booze; both potions give the same nutrition when not diluted (dependent on their beatitude), but a diluted potion of fruit juice only gives half that nutrition.

Difficult recipes

These recipes do not always produce the same result:

Ingredients Results
potion of enlightenment + potion of levitation

The potion of enlightenment formula is almost never worth attempting because the probability of success is so low. Potions of gain level are much more worthwhile in comparison due to their multitude of uses, including making full healing potions, and the chance of success is higher than with enlightenment.

Multiple-step recipes

It is possible to use the above recipes in tandem with each other, provided you are careful about the use of diluted potions.

One example is making blessed potions of full healing and gain ability from all those healing and extra healing potions you've collected. You will need to re-stack your potions at all intermediate stages: bless stacks so all will have the same identified BUC status, and dilute concentrated potions so they will stack with the newly-alchemized ones. Follow the route:

healing → extra healing → full healing → gain ability

Only the first step can be done using a potion of speed; the rest need gain energy or gain level (see image at the beginning of the page). Leave over enough full healing, and bless all the end results.

History

In NetHack 3.4.3 and earlier versions, including some variants derived from these versions, alchemy always acts on the entire stack.

Starting in NetHack 3.6.0, alchemizing a stack works differently from 3.4.3 and from later versions of vanilla NetHack:

  • If you dip 10 or more potions, 2–9 of them will be alchemized.
  • If you dip 2–9 potions into a non-magical potion, all of them will be alchemized. The following potions are nonmagic: water, oil, acid, fruit juice, booze, and potion of sickness.
  • If you dip 2–9 potions into a magical potion, at least 2 will be alchemized, up to the number of potions dipped.

In versions prior to NetHack 3.6.3, the case for dipping healing potions fell through to the unicorn horn case due to a missing break statement, causing the combination of healing and sickness to alchemize to fruit juice, and the combination of healing and hallucination, blindness, or confusion to alchemize to water.[3][4] This behavior was made explicit and intentional in NetHack 3.6.3 via commit c6b75407.

Gain level recipe

A very complicated recipe is used in 3.4.3 for making lots of potions of gain level:

Stack of water → sickness → fruit juice → booze → confusion → enlightenment → gain level
  • Gather lots of potions, turn them into water, and dip the stack of water (blessed or uncursed) into some potion.
    • This counts as random alchemy; 25% of the time you will get potions of sickness. The other times you may lose one potion of water, or get some other random result. In those cases, just dip again unless you get something good from the random result.
  • Cancel the sickness or dip a unicorn horn to turn it into juice, then dip juice into speed for booze.
  • Dip booze into enlightenment for confusion, and dip that into gain level or gain energy for a 13 chance of enlightenment (the other 23 they become booze, which moves you back a bit.
  • Dip into levitation for a 23 chance of gain level; the other 13 gives a random result, and probably means you have to start the whole thing over again.

In 3.4.3, this recipe uses up an expected 23.67 potions, including all the trackbacks and alchemic explosions; to conserve resources, you can dip the water into otherwise useless potion of acid, and use a unicorn horn or cancellation spell to convert sickness to juice rather than a wand of cancellation; 3.6.1 makes this recipe much less profitable. Firstly, producing sickness through random alchemy incurs a 50% chance per dip of the entire water stack disappearing, which makes it significantly more risky (and costly on average). Secondly, both confusion and enlightenment are magical potions, so making them in decent amounts under the new stacking rules is significantly harder. Assuming a large potion supply (at least 8 for each dip) and accounting both for dipped-in enlightenment and byproduct booze, each potion of enlightenment on average requires 5.1 potions of booze and 1.9 potions of gain level or gain energy to make, which actually makes using gain level counterproductive. In a more realistic scenario of limited potion supply, you have a very real possibility of using up all of your gain energy potions and ending up with fewer enlightenment potions than your initial supply.


Variants

SLASH'EM

In SLASH'EM, dipping into a cursed potion will cause an explosion.

Dipping a potion of water into another potion is the same as dipping that potion into water; thus it is not possible to use potions of water in random alchemy, as it will always dilute the other potion rather than creating a random alchemic result. This can be circumvented by taking the potions of water and dipping them into the castle moat, turning them into potions of amnesia. These potions can then be used for random alchemy, but the vapors caused by an explosion will cause you to forget spells, items and levels, unless you are polymorphed into a form that is eyeless and have breathlessness from any source, including your polymorphed form.

Color alchemy

The Color Alchemy Patch, notably incorporated in UnNetHack 3.5.2, changes the rules of alchemy to be based on artistic color mapping. It makes use of the primary colors red, blue and yellow, the secondary colors orange, green and purple, and the tertiary color brown, as well as black and white. All primary, secondary, and tertiary colors have a light and dark variant:

Color Light Dark
Red pink potion ruby potion
Blue sky blue potion indigo potion
Yellow yellow potion golden potion
Orange orange potion amber potion
Green emerald potion dark green potion
Purple puce potion magenta potion
Brown ochre potion brown potion

Mixing potions together gets the following results:

Ingredients Result
red + yellow orange
red + blue purple
yellow + blue green
any two secondaries brown
any dark potion + white corresponding light potion
any light potion + black corresponding dark portion
black + white gray
any other combination random alchemy result

Mixing two light potions will create the light version of the result, and the same goes with dark. Mixing a light and a dark potion will create either result at random unless one of the original potions is diluted, in which case the result will have the same light/dark level as the undiluted potion.

These potions are considered colorless:

bubbly        icy           smoky
cloudy        luminescent   soapy
dark          milky         sparkling
effervescent  muddy         squishy
gooey         murky         steamy
greasy        silver        swirly
fizzy         slimy         viscous

The patch also changes three potion names: purple-red, brilliant blue, and cyan are replaced with amber, indigo, and viscous.

Because there are 12 more possible potion colors than types of potions in the game, some colors will probably not exist, rendering some formulas unavailable for certain games.

If the desired color is not a color used in the game, both potions will be wasted. For example, if you mix an orange potion with an emerald potion, but brown potions are not used in your game, then you will both potions disappear, leaving you with nothing: "The mixture glows brightly and evaporates."

Finally, a potion of polymorph, regardless of its color, will simply polymorph anything it is mixed with.

Blood potions

Potions of blood and vampire blood, introduced in SLASH'EM and UnNetHack, are also subject to alchemy:

Ingredients Result
potion of fruit juice + potion of blood potion of blood
potion of fruit juice + potion of vampire blood potion of vampire blood

In UnNetHack, these are the only potion-mixing recipes outside of the color alchemy system.

Gem alchemy

In SLASH'EM and dNetHack, dipping a valuable gem into a potion of acid will generate another type of potion. The potion you get is defined by its randomized description, not by its identified description. For example, if you dip a ruby into acid, you will always get a ruby potion whether ruby potions are full healing or hallucination in your game.

There's a chance that dipping will cause an explosion, using up the potion and gem and dealing some damage. If the potion of acid is cursed, it always explodes, like with normal alchemy. You will need one potion of acid per potion produced; stacks of gems will be melted one gem at a time.

Dipped gem Resulting potion appearance
dilithium crystal (always explodes)
opal cloudy potion
ruby ruby potion
garnet pink potion
jasper purple-red potion
jacinth orange potion
agate swirly potion
citrine yellow potion
chrysoberyl golden potion
amber brown potion
topaz murky potion
emerald emerald potion
turquoise sky blue potion
aquamarine cyan potion
jade dark green potion
sapphire brilliant blue potion
amethyst magenta potion
fluorite white potion
black opal black potion
jet dark potion
obsidian effervescent potion
worthless glass (no effect)

There are no gems that produce milky, smoky, muddy, fizzy, luminescent, puce, bubbly, icy, blood-red, or clear potions.

As in vanilla NetHack, dipping an amethyst into a potion of booze turns it into a potion of fruit juice.

References

  1. src/potion.c in NetHack 3.6.0, line 1887
  2. src/potion.c in NetHack 3.6.1, line 1963
  3. src/potion.c in NetHack 3.6.2, line 1766: Note the lack of breaks in the cases down to the unicorn horn case
  4. src/potion.c in NetHack 3.6.3, line 1795: Newly added fall-throughs are marked via comments

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.1. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-361}} tag to the current version's tag or {{noversion}} as appropriate.