Difference between revisions of "Item Generation"
From DoomRL Wiki
Game Hunter (Talk | contribs) (Created page with "{{Technical}} Note that this section only describes items that are dropped explicitly; in addition many monsters also carry items (usually guns and ammo). Also, some special lev...") |
Game Hunter (Talk | contribs) m (moved Generated Items to Item Generation: better name) |
Revision as of 04:24, 15 July 2011
Technical | |
This article discusses technical aspects of DoomRL and will be of limited interest to most players. |
Note that this section only describes items that are dropped explicitly; in addition many monsters also carry items (usually guns and ammo). Also, some special level features (e.g. vaults) can cause additional items to drop beyond what is described here.
Item placement is similar to monster placement. Every item has a minimum dlevel and a weight. Here are the levels and weights for all the items:
|
|
|
Ignoring minimum dlevel, the total weight for exotic items is 132. Unique items a total weight (again ignoring minimum dlevel) of 43. Any particular unique item will never drop more than once in each game. Minimum dlevels for items are NOT modified by difficulty level.
For convenience, here are the total weights for each dlevel. These allow easier calculation of the probabilities.
dlevel | Total Weight |
1 | 3042 |
2-3 | 3972 |
4 | 4584 |
5 | 6378 |
6 | 6857 |
7 | 7639 |
8 | 7827 |
9 | 7835 |
10 | 7922 |
11 | 7982 |
12-13 | 8067 |
14 | 8070 |
15 | 8089 |
16-19 | 8140 |
20-21 | 8143 |
22+ | 8145 |
The number of items that appear on a level is usually ceil(21 - max(25-dlevel,0)/3). The items are chosen at random using the weights as relative probabilities. At most 1 unique item can drop per level.