Difference between revisions of "Item Generation"
From DoomRL Wiki
m (link fix) |
Shark20061 (Talk | contribs) (Moved nano and onyx packs to exotic, updated weight values, and updated total calculations (0996)) |
||
Line 238: | Line 238: | ||
|10 | |10 | ||
|6 | |6 | ||
+ | |nano pack | ||
+ | |10 | ||
+ | |4 | ||
|nuclear bfg 9000 | |nuclear bfg 9000 | ||
|22 | |22 | ||
Line 249: | Line 252: | ||
|onyx armor | |onyx armor | ||
|7 | |7 | ||
+ | |4 | ||
+ | |onyx armor pack | ||
+ | |10 | ||
|4 | |4 | ||
|phaseshift armor | |phaseshift armor | ||
Line 264: | Line 270: | ||
|sniper weapon pack | |sniper weapon pack | ||
|10 | |10 | ||
− | | | + | |4 |
|super shotgun | |super shotgun | ||
|10 | |10 | ||
Line 345: | Line 351: | ||
|10 | |10 | ||
|3 | |3 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Shielded Armor | |Shielded Armor | ||
|10 | |10 | ||
Line 364: | Line 358: | ||
|} | |} | ||
− | Ignoring minimum dlevel, the total weight for exotic items is | + | Ignoring minimum dlevel, the total weight for exotic items is 174. Unique items have a total weight (again ignoring minimum dlevel) of 45. 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. | For convenience, here are the total weights for each dlevel. These allow easier calculation of the probabilities. | ||
Line 400: | Line 394: | ||
|- | |- | ||
|10 | |10 | ||
− | | | + | |9550 |
|- | |- | ||
|11 | |11 | ||
− | | | + | |9632 |
|- | |- | ||
|12-13 | |12-13 | ||
− | | | + | |9725 |
|- | |- | ||
|14 | |14 | ||
− | | | + | |9728 |
|- | |- | ||
|15 | |15 | ||
− | | | + | |9747 |
|- | |- | ||
|16-19 | |16-19 | ||
− | | | + | |9808 |
|- | |- | ||
|20-21 | |20-21 | ||
− | | | + | |9811 |
|- | |- | ||
|22+ | |22+ | ||
− | | | + | |9813 |
|} | |} | ||
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. | 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. |
Revision as of 08:23, 6 March 2012
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 174. Unique items have a total weight (again ignoring minimum dlevel) of 45. 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 | 3592 |
2 | 4641 |
3 | 4701 |
4 | 5493 |
5 | 7646 |
6 | 8228 |
7 | 9196 |
8 | 9412 |
9 | 9420 |
10 | 9550 |
11 | 9632 |
12-13 | 9725 |
14 | 9728 |
15 | 9747 |
16-19 | 9808 |
20-21 | 9811 |
22+ | 9813 |
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.