Difference between revisions of "Item generation"
(Remove unfinished section headers. *This article needs to be saved, and should be top priority now.*) |
(Updated precentages) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{version021}} |
==Base Type== | ==Base Type== | ||
Line 5: | Line 5: | ||
===Number of Items per Level=== | ===Number of Items per Level=== | ||
− | Levels in [[Hell]], [[Slime Pits]] | + | Levels in [[Hell]], [[Slime Pits]] and [[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. | ||
Line 21: | Line 21: | ||
|- | |- | ||
| Weapon | | Weapon | ||
− | | | + | | 11% |
|- | |- | ||
| Ammunitions | | Ammunitions | ||
Line 27: | Line 27: | ||
|- | |- | ||
| Armour | | Armour | ||
− | | | + | | 11% |
|- | |- | ||
| Wand | | Wand | ||
− | | 3. | + | | 3.6% |
|- | |- | ||
| Food | | Food | ||
− | | 7% | + | | 7.1% |
|- | |- | ||
| Scroll | | Scroll | ||
− | | | + | | 16% |
|- | |- | ||
| Jewellery | | Jewellery | ||
− | | 2. | + | | 2.6% |
|- | |- | ||
| Potion | | Potion | ||
− | | | + | | 9% |
|- | |- | ||
| Book | | Book | ||
Line 48: | Line 48: | ||
|- | |- | ||
| Magical staff | | Magical staff | ||
− | | 0. | + | | 0.51% |
− | |||
− | |||
− | |||
|- | |- | ||
| Gold | | Gold | ||
− | | | + | | 22% |
|- | |- | ||
|} | |} | ||
− | + | 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. | |
− | |||
[[Category:Crawl]] | [[Category:Crawl]] |
Revision as of 03:11, 2 June 2018
Base Type
Number of Items per Level
Levels in Hell, Slime Pits and 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% | |||||||||
Ammunitions | 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% |
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.