Difference between revisions of "Item Generation"
From DoomRL Wiki
Rabinowitz (Talk | contribs) (cross-links) |
Omega Tyrant (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Technical}} | {{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 | + | Note that this section only describes items that are dropped explicitly; in addition many monsters also carry items (usually guns and ammo). Also, some level features (e.g. [[Room Generation#Vaults|vaults]]) can cause additional items to drop beyond what is described here, as well as cause items to spawn below their usual minimum spawning depth (for example, a [[Red armor]] can spawn as early as on floor 2 in a vault). |
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: | 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: | ||
Line 103: | Line 103: | ||
|[[power mod pack]] | |[[power mod pack]] | ||
|7 | |7 | ||
+ | |120 | ||
+ | |[[technical mod pack]] | ||
+ | |5 | ||
|120 | |120 | ||
|[[agility mod pack]] | |[[agility mod pack]] | ||
Line 109: | Line 112: | ||
|[[bulk mod pack]] | |[[bulk mod pack]] | ||
|6 | |6 | ||
− | |||
− | |||
− | |||
|120 | |120 | ||
|[[Small Health Globe]] | |[[Small Health Globe]] | ||
Line 163: | Line 163: | ||
|6 | |6 | ||
|6 | |6 | ||
+ | |{{exotic link|ballistic shield}} | ||
+ | |6 | ||
+ | |3 | ||
+ | |{{exotic link|ballistic vest}} | ||
+ | |2 | ||
+ | |5 | ||
|{{exotic link|BFG 9000}} | |{{exotic link|BFG 9000}} | ||
|20 | |20 | ||
− | | | + | |4 |
|{{exotic link|blaster}} | |{{exotic link|blaster}} | ||
|8 | |8 | ||
Line 172: | Line 178: | ||
|5 | |5 | ||
|8 | |8 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|{{exotic link|bullet-proof vest}} | |{{exotic link|bullet-proof vest}} | ||
|2 | |2 | ||
− | | | + | |6 |
|{{exotic link|chainsaw}} | |{{exotic link|chainsaw}} | ||
|12 | |12 | ||
− | | | + | |6 |
|{{exotic link|combat pistol}} | |{{exotic link|combat pistol}} | ||
|4 | |4 | ||
Line 229: | Line 229: | ||
|10 | |10 | ||
|4 | |4 | ||
+ | |{{exotic link|napalm launcher}} | ||
+ | |10 | ||
+ | |6 | ||
|{{exotic link|nuclear BFG 9000}} | |{{exotic link|nuclear BFG 9000}} | ||
|22 | |22 | ||
Line 235: | Line 238: | ||
|15 | |15 | ||
|4 | |4 | ||
− | |||
− | |||
− | |||
|{{exotic link|onyx armor}} | |{{exotic link|onyx armor}} | ||
|7 | |7 | ||
Line 329: | Line 329: | ||
|{{unique link|Malek's Armor}} | |{{unique link|Malek's Armor}} | ||
|15 | |15 | ||
− | | | + | |2 |
|{{unique link|Medical Powerarmor}} | |{{unique link|Medical Powerarmor}} | ||
|10 | |10 | ||
Line 337: | Line 337: | ||
|1 | |1 | ||
|{{unique link|Mjollnir}} | |{{unique link|Mjollnir}} | ||
− | | | + | |5 |
|1 | |1 | ||
|{{unique link|Necroarmor}} | |{{unique link|Necroarmor}} | ||
Line 344: | Line 344: | ||
|{{unique link|Nyarlaptotep's Boots}} | |{{unique link|Nyarlaptotep's Boots}} | ||
|15 | |15 | ||
− | | | + | |2 |
|{{unique link|Railgun}} | |{{unique link|Railgun}} | ||
|15 | |15 | ||
Line 364: | Line 364: | ||
|} | |} | ||
− | Ignoring minimum dlevel, the total weight for exotic items is | + | Ignoring minimum dlevel, the total weight for exotic items is 180. Unique items have a total weight (again ignoring minimum dlevel) of 53. Any particular unique item that is picked up by the player will never drop more than once in each game, but if it isn't picked up by the player, it may spawn again on a later floor. 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 373: | Line 373: | ||
|- | |- | ||
|1 | |1 | ||
− | | | + | |3672 |
|- | |- | ||
|2 | |2 | ||
− | | | + | |4531 |
|- | |- | ||
|3 | |3 | ||
− | | | + | |4591 |
|- | |- | ||
|4 | |4 | ||
− | | | + | |5387 |
|- | |- | ||
|5 | |5 | ||
− | | | + | |7540 |
|- | |- | ||
|6 | |6 | ||
− | | | + | |8322 |
|- | |- | ||
|7 | |7 | ||
− | | | + | |9140 |
|- | |- | ||
|8 | |8 | ||
− | | | + | |9358 |
|- | |- | ||
|9 | |9 | ||
− | | | + | |9516 |
|- | |- | ||
|10 | |10 | ||
− | | | + | |9646 |
|- | |- | ||
|11 | |11 | ||
− | | | + | |9726 |
|- | |- | ||
|12-13 | |12-13 | ||
− | | | + | |9821 |
|- | |- | ||
|14 | |14 | ||
− | | | + | |9824 |
|- | |- | ||
|15 | |15 | ||
− | | | + | |9851 |
|- | |- | ||
|16-19 | |16-19 | ||
− | | | + | |9912 |
|- | |- | ||
|20-21 | |20-21 | ||
− | | | + | |9915 |
|- | |- | ||
|22+ | |22+ | ||
− | | | + | |9917 |
|} | |} | ||
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. |
Latest revision as of 20:05, 7 August 2024
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 level features (e.g. vaults) can cause additional items to drop beyond what is described here, as well as cause items to spawn below their usual minimum spawning depth (for example, a Red armor can spawn as early as on floor 2 in a vault).
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 180. Unique items have a total weight (again ignoring minimum dlevel) of 53. Any particular unique item that is picked up by the player will never drop more than once in each game, but if it isn't picked up by the player, it may spawn again on a later floor. 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 | 3672 |
2 | 4531 |
3 | 4591 |
4 | 5387 |
5 | 7540 |
6 | 8322 |
7 | 9140 |
8 | 9358 |
9 | 9516 |
10 | 9646 |
11 | 9726 |
12-13 | 9821 |
14 | 9824 |
15 | 9851 |
16-19 | 9912 |
20-21 | 9915 |
22+ | 9917 |
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.