Difference between revisions of "Horn of plenty"

From NetHackWiki
Jump to navigation Jump to search
(Fixed probabilities for potions, added overall probabilities, and added links to the source code. More detailed discussion is on the talk page.)
m (Capitalization)
Line 14: Line 14:
 
{|class="prettytable striped sortable"
 
{|class="prettytable striped sortable"
 
! scope="col" | Potion
 
! scope="col" | Potion
! scope="col" | Class Probability
+
! scope="col" | Class probability
! scope="col" | Overall Probability
+
! scope="col" | Overall probability
 
|-
 
|-
| [[potion of booze]] || 18.6% || 1.4%  
+
| [[potion of booze]] || 18.6% || 1.4%
 
|-
 
|-
 
| [[potion of sickness]] || 4.2% || 0.3%
 
| [[potion of sickness]] || 4.2% || 0.3%
Line 34: Line 34:
 
{|class="prettytable striped sortable"
 
{|class="prettytable striped sortable"
 
! scope="col" | Item
 
! scope="col" | Item
! scope="col" | Class Probability
+
! scope="col" | Class probability
! scope="col" | Overall Probability
+
! scope="col" | Overall probability
 
|-
 
|-
 
| [[tripe ration]] || 14% || 12.9%
 
| [[tripe ration]] || 14% || 12.9%
Line 82: Line 82:
 
In the tables above class probability is chance within class (potion or food), and overall probability is the chance relative to all possible items.
 
In the tables above class probability is chance within class (potion or food), and overall probability is the chance relative to all possible items.
  
==For [[Tourist]]s==
+
==For [[tourist]]s==
 
A blessed horn of plenty is a great item for a [[tourist]] since it can be recharged indefinitely with [[The Platinum Yendorian Express Card]].  While in a normal game one doesn't generally need the extra food, the ability to produce an indefinite amount of potions and food has several non-trivial uses:
 
A blessed horn of plenty is a great item for a [[tourist]] since it can be recharged indefinitely with [[The Platinum Yendorian Express Card]].  While in a normal game one doesn't generally need the extra food, the ability to produce an indefinite amount of potions and food has several non-trivial uses:
 
* The unlimited food and potion source can be essential in multi-conduct games.  In particular, it makes the tourist a viable candidate for a liquid diet: a [[foodless]] [[atheist]] true [[polyselfless]] [[survivor]] (see the link below).
 
* The unlimited food and potion source can be essential in multi-conduct games.  In particular, it makes the tourist a viable candidate for a liquid diet: a [[foodless]] [[atheist]] true [[polyselfless]] [[survivor]] (see the link below).
Line 89: Line 89:
 
* If [[smoky potion]]s are one of sickness, fruit juice, or booze, acid, or oil, the horn can be used as a (slow) [[wish]] engine.
 
* If [[smoky potion]]s are one of sickness, fruit juice, or booze, acid, or oil, the horn can be used as a (slow) [[wish]] engine.
  
==External Links==
+
==External links==
 
* [http://groups.google.com/group/rec.games.roguelike.nethack/browse_thread/thread/999ebb59ef609239/a987da11a8df6d6b?lnk=gst&q=ciompi+horn+of+plenty#a987da11a8df6d6b Liquid diet tourist] using a horn of plenty
 
* [http://groups.google.com/group/rec.games.roguelike.nethack/browse_thread/thread/999ebb59ef609239/a987da11a8df6d6b?lnk=gst&q=ciompi+horn+of+plenty#a987da11a8df6d6b Liquid diet tourist] using a horn of plenty
  

Revision as of 17:25, 7 October 2012

( Horn.png
Name horn of plenty
Appearance horn
Base price 50 zm
Weight 18
Material [[{{{material}}}]]
Monster use Will not be used by monsters.

A horn of plenty is one of the magical horns, but unlike the other horns, it cannot be used as a musical instrument.[1] It is created with 1 to 20 charges and it may contain up to 50 charges. When applied, it produces food (including royal jelly) or a potion of water, fruit juice, booze, acid, sickness or oil.[2][3][4][5] The BUC of the item produced is the same as the blessed/uncursed/cursed status of the horn.

1 in 13 applications (7.7%) will produce a potion, in the following ratios:

Potion Class probability Overall probability
potion of booze 18.6% 1.4%
potion of sickness 4.2% 0.3%
potion of fruit juice 18.6% 1.4%
potion of acid 4.4% 0.3%
potion of oil 13.3% 1%
potion of water 40.8% 3.1%

The remaining 92% of applications will produce food, in the following ratios (multiples may be created if the food code permits):

Item Class probability Overall probability
tripe ration 14% 12.9%
random egg 8.5% 7.8%
eucalyptus leaf 0.3% 0.3%
apple 1.5% 1.4%
orange 1% 0.9%
pear 1% 0.9%
melon 1% 0.9%
banana 1% 0.9%
carrot 1.5% 1.4%
sprig of wolfsbane 0.7% 0.6%
clove of garlic 0.7% 0.6%
slime mold 7.5% 6.9%
lump of royal jelly 5.4% 5%
cream pie 2.5% 2.3%
candy bar 1.3% 1.2%
fortune cookie 5.5% 5.1%
pancake 2.5% 2.3%
lembas wafer 2% 1.8%
cram ration 2% 1.8%
food ration 32.6% 30.1%
random tin, including spinach 7.5% 6.9%

In the tables above class probability is chance within class (potion or food), and overall probability is the chance relative to all possible items.

For tourists

A blessed horn of plenty is a great item for a tourist since it can be recharged indefinitely with The Platinum Yendorian Express Card. While in a normal game one doesn't generally need the extra food, the ability to produce an indefinite amount of potions and food has several non-trivial uses:

  • The unlimited food and potion source can be essential in multi-conduct games. In particular, it makes the tourist a viable candidate for a liquid diet: a foodless atheist true polyselfless survivor (see the link below).
  • The potions can be used to provide an indefinite supply of holy water, or can be used for polypiling or alchemy.
  • Those attempting stupid ascension tricks such as death farming might prefer a horn of plenty to prayer as a food source, though prayer is easier to automate.
  • If smoky potions are one of sickness, fruit juice, or booze, acid, or oil, the horn can be used as a (slow) wish engine.

External links

References

  1. apply.c in NetHack 3.4.3, line 2958: case for HORN_OF_PLENTY in doapply
  2. mkobj.c in NetHack 3.4.3, line 106: make the object
  3. objects.c in NetHack 3.4.3, line 722: potion probabilities
  4. objects.c in NetHack 3.4.3, line 668: food probabilities
  5. objnam.c in NetHack 3.4.3, line 2721: rnd_class renames object using base probabilities