Difference between revisions of "Item generation"

From CrawlWiki
Jump to: navigation, search
m
Line 1: Line 1:
{{version}}
+
{{version012}}
  
 
==Base Type==
 
==Base Type==
Line 5: Line 5:
 
===Number of Items per Level===
 
===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]], [[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.
  
 
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 42: Line 42:
 
|-
 
|-
 
| Potion
 
| Potion
| 2.5%
+
| 10%
 
|-
 
|-
 
| Book
 
| Book
Line 48: Line 48:
 
|-
 
|-
 
| Magical staff
 
| Magical staff
| 0.5%
+
| 0.45%
 +
|-
 +
| Rod
 +
| 0.05%
 
|-
 
|-
 
| Gold
 
| Gold
Line 55: Line 58:
 
|}
 
|}
  
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).
+
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.6% + 0.03% per depth level after 8 (decreasing percentages for all other items accordingly).
  
 
==Subtype==
 
==Subtype==
Line 61: Line 64:
 
===Weapon===
 
===Weapon===
  
* Weapon type
 
{| class="prettytable" cellpadding="2" border="1"
 
|- align="center"
 
! '''Weapon type'''
 
! '''Probability'''
 
|-
 
! colspan="11" align="center" |
 
|-
 
| Club
 
| 4.8%
 
|-
 
| Dagger
 
| 4.8%
 
|-
 
| Hand axe
 
| 4.3%
 
|-
 
| Mace
 
| 4.3%
 
|-
 
| Quarterstaff
 
| 4.3%
 
|-
 
| Bow
 
| 3.9%
 
|-
 
| Flail
 
| 3.9%
 
|-
 
| Hammer
 
| 3.9%
 
|-
 
| Sabre
 
| 3.9%
 
|-
 
| Short sword
 
| 3.9%
 
|-
 
|}
 
 
[[Category:Crawl]]
 
[[Category:Crawl]]

Revision as of 12:40, 19 September 2013

Version 0.12: 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, 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.

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 10%
Ammunitions 15%
Armour 10%
Wand 3.5%
Food 7%
Scroll 20%
Jewellery 2.5%
Potion 10%
Book 1.5%
Magical staff 0.45%
Rod 0.05%
Gold 20%

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.6% + 0.03% per depth level after 8 (decreasing percentages for all other items accordingly).

Subtype

Weapon