Difference between revisions of "Item generation"

From CrawlWiki
Jump to: navigation, search
m (1 revision: crawl)
(Fixed some errors)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Base type==
+
{{version022}}
  
===Number of items per level===
+
==Base Type==
 
+
===Number of Items per Level===
Levels in [[Hell]], [[Slime Pits]], [[Ecumenical Temple]] and [[Hall of Blades]] are generated without any items on the floor. Other levels contain between 6 and 36 items lying on the floor, chosen as described below; after level 5, there's a very small chance (about 0.2%) to get a very rich level instead, which contains 11-100 items. In addition, each of the first 5 levels in the Dungeon has a 50% chance to generate a +0 uncursed knife.
+
Levels in [[Hell]], [[Slime Pits]], and the [[Ecumenical Temple]] are generated without any items on the floor. Other levels contain between 6 and 36 items lying on the floor, chosen as described below; after level 5, there's a very small chance (about 0.2%) to get a very rich level instead, which contains 11-100 items.
  
 
Some levels (fixed bottom branch, random mini-vaults...) may contain additional "fixed" items, defined in the vault layout.
 
Some levels (fixed bottom branch, random mini-vaults...) may contain additional "fixed" items, defined in the vault layout.
  
===Type of items generated===
+
===Type of Items Generated===
  
 
Items in the [[Orcish Mines]] are always piles of gold; other items are randomly generated with the following weights:
 
Items in the [[Orcish Mines]] are always piles of gold; other items are randomly generated with the following weights:
Line 19: Line 19:
 
|-
 
|-
 
| Weapon
 
| Weapon
| 10%
+
| 11%
 
|-
 
|-
| Ammunitions
+
| Ammunition
 
| 15%
 
| 15%
 
|-
 
|-
 
| Armour
 
| Armour
| 10%
+
| 11%
 
|-
 
|-
 
| Wand
 
| Wand
| 3.5%
+
| 3.6%
 
|-
 
|-
 
| Food
 
| Food
| 7%
+
| 7.1%
 
|-
 
|-
 
| Scroll
 
| Scroll
| 20%
+
| 16%
 
|-
 
|-
 
| Jewellery
 
| Jewellery
| 2.5%
+
| 2.6%
 
|-
 
|-
 
| Potion
 
| Potion
| 2.5%
+
| 9%
 
|-
 
|-
 
| Book
 
| Book
Line 46: Line 46:
 
|-
 
|-
 
| Magical staff
 
| Magical staff
| 0.5%
+
| 0.51%
 
|-
 
|-
 
| Gold
 
| Gold
| 20%
+
| 22%
 
|-
 
|-
 
|}
 
|}
  
These percentages are reduced by 1/7 for each level above level 7 for Books, Staffs and Wands (the lost percentage is added to Potions and Scrolls). Misc items (Decks, Discs of Storm, etc.) are only generated at level 8 and after with a probability of 0.8% + 0.03% per depth level after 8 (decreasing percentages for all other items accordingly).
+
Miscellaneous evocable items may replace the generation of any item at item levels greater than 7.
  
==Subtype==
+
If the item level is below 7 and the generator rolled a staff, a book or a wand, it may randomly change the item type to a potion or a scroll instead. Misc items ([[Evocable items#elementalevokers|elemental evoker]], [[Evocable items#summoningitems|summoning item]] or [[crystal ball]]) are only generated at item level 8 and after with a probability of 0.4% + 0.02% per item level.
  
===Weapon===
+
Potions are generated with the following frequencies:
  
* Weapon type
 
 
{| class="prettytable" cellpadding="2" border="1"
 
{| class="prettytable" cellpadding="2" border="1"
 
|- align="center"
 
|- align="center"
! '''Weapon type'''
+
! '''Item type'''
 
! '''Probability'''
 
! '''Probability'''
 
|-
 
|-
 
! colspan="11" align="center" |  
 
! colspan="11" align="center" |  
 
|-
 
|-
| Club
+
| Curing
| 4.8%
+
| 18.37%
 
|-
 
|-
| Dagger
+
| Heal Wounds
| 4.8%
+
| 10.05%
 
|-
 
|-
| Hand axe
+
| Lignification, Flight, Haste
| 4.3%
+
| 6.99%
 
|-
 
|-
| Mace
+
| Might, Degeneration, Agility
| 4.3%
+
| 6.32%
 
|-
 
|-
| Quarterstaff
+
| Brilliance
| 4.3%
+
| 6.32%
 
|-
 
|-
| Bow
+
| Mutation
| 3.9%
+
| 5.07%
 
|-
 
|-
| Flail
+
| Invisibility, Resistance, Magic, Berserk Rage, Cancellation, Ambrosia
| 3.9%
+
| 3.35%
 
|-
 
|-
| Hammer
+
| Experience
| 3.9%
+
| 0.002%
|-
 
| Sabre
 
| 3.9%
 
|-
 
| Short sword
 
| 3.9%
 
 
|-
 
|-
 +
 
|}
 
|}
 +
 
[[Category:Crawl]]
 
[[Category:Crawl]]

Latest revision as of 08:53, 23 August 2018

Version 0.22: This article may not be up to date for the latest stable release of Crawl.

Base Type

Number of Items per Level

Levels in Hell, Slime Pits, and the Ecumenical Temple are generated without any items on the floor. Other levels contain between 6 and 36 items lying on the floor, chosen as described below; after level 5, there's a very small chance (about 0.2%) to get a very rich level instead, which contains 11-100 items.

Some levels (fixed bottom branch, random mini-vaults...) may contain additional "fixed" items, defined in the vault layout.

Type of Items Generated

Items in the Orcish Mines are always piles of gold; other items are randomly generated with the following weights:

Item type Probability
Weapon 11%
Ammunition 15%
Armour 11%
Wand 3.6%
Food 7.1%
Scroll 16%
Jewellery 2.6%
Potion 9%
Book 1.5%
Magical staff 0.51%
Gold 22%

Miscellaneous evocable items may replace the generation of any item at item levels greater than 7.

If the item level is below 7 and the generator rolled a staff, a book or a wand, it may randomly change the item type to a potion or a scroll instead. Misc items (elemental evoker, summoning item or crystal ball) are only generated at item level 8 and after with a probability of 0.4% + 0.02% per item level.

Potions are generated with the following frequencies:

Item type Probability
Curing 18.37%
Heal Wounds 10.05%
Lignification, Flight, Haste 6.99%
Might, Degeneration, Agility 6.32%
Brilliance 6.32%
Mutation 5.07%
Invisibility, Resistance, Magic, Berserk Rage, Cancellation, Ambrosia 3.35%
Experience 0.002%