Difference between revisions of "Item Generation"
From DoomRL Wiki
Shark20061 (Talk | contribs) (Moved nano and onyx packs to exotic, updated weight values, and updated total calculations (0996)) |
Omega Tyrant (Talk | contribs) |
||
(4 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 17: | Line 17: | ||
|c2=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | |c2=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | ||
|c3=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | |c3=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | ||
− | |combat knife | + | |[[combat knife]] |
|1 | |1 | ||
|640 | |640 | ||
− | |pistol | + | |[[pistol]] |
|1 | |1 | ||
|70 | |70 | ||
− | |shotgun | + | |[[shotgun]] |
|2 | |2 | ||
− | | | + | |150 |
− | |combat shotgun | + | |[[combat shotgun]] |
− | | | + | |6 |
− | | | + | |200 |
− | |double shotgun | + | |[[double shotgun]] |
|4 | |4 | ||
|100 | |100 | ||
− | |chaingun | + | |[[chaingun]] |
|5 | |5 | ||
|200 | |200 | ||
− | |rocket launcher | + | |[[rocket launcher]] |
|7 | |7 | ||
|200 | |200 | ||
− | |plasma rifle | + | |[[plasma rifle]] |
|12 | |12 | ||
|70 | |70 | ||
− | |10mm ammo | + | |[[10mm ammo]] |
|1 | |1 | ||
|500 | |500 | ||
− | |shotgun shell | + | |[[shotgun shell]] |
|2 | |2 | ||
|700 | |700 | ||
− | |rocket | + | |[[rocket]] |
|5 | |5 | ||
|400 | |400 | ||
− | |power cell | + | |[[power cell]] |
|8 | |8 | ||
|200 | |200 | ||
− | |10mm ammo chain | + | |[[10mm ammo chain]] |
|3 | |3 | ||
|60 | |60 | ||
− | |shell box | + | |[[shell box]] |
|4 | |4 | ||
|60 | |60 | ||
− | |rocket box | + | |[[rocket box]] |
|7 | |7 | ||
|36 | |36 | ||
− | |power battery | + | |[[power battery]] |
|10 | |10 | ||
|18 | |18 | ||
− | |green armor | + | |[[green armor]] |
|1 | |1 | ||
|400 | |400 | ||
− | |blue armor | + | |[[blue armor]] |
|4 | |4 | ||
|240 | |240 | ||
− | |red armor | + | |[[red armor]] |
− | | | + | |9 |
|150 | |150 | ||
− | |steel boots | + | |[[steel boots]] |
|4 | |4 | ||
|240 | |240 | ||
− | + | |[[protective boots]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |protective boots | + | |
|7 | |7 | ||
|150 | |150 | ||
− | |plasteel boots | + | |[[plasteel boots]] |
|11 | |11 | ||
|80 | |80 | ||
− | |small med-pack | + | |[[small med-pack]] |
|1 | |1 | ||
|600 | |600 | ||
− | |large med-pack | + | |[[large med-pack]] |
|5 | |5 | ||
|400 | |400 | ||
− | |phase device | + | |[[phase device]] |
|5 | |5 | ||
|200 | |200 | ||
− | |homing phase device | + | |[[homing phase device]] |
|7 | |7 | ||
|100 | |100 | ||
− | |envirosuit pack | + | |[[envirosuit pack]] |
|5 | |5 | ||
|100 | |100 | ||
− | |thermonuclear bomb | + | |[[thermonuclear bomb]] |
|10 | |10 | ||
|40 | |40 | ||
− | |power mod pack | + | |[[power mod pack]] |
|7 | |7 | ||
|120 | |120 | ||
− | |agility mod pack | + | |[[technical mod pack]] |
+ | |5 | ||
+ | |120 | ||
+ | |[[agility mod pack]] | ||
|6 | |6 | ||
|120 | |120 | ||
− | |bulk mod pack | + | |[[bulk mod pack]] |
|6 | |6 | ||
|120 | |120 | ||
− | | | + | |[[Small Health Globe]] |
− | + | ||
− | + | ||
− | + | ||
|1 | |1 | ||
|900 | |900 | ||
− | |Large Health Globe | + | |[[Large Health Globe]] |
|6 | |6 | ||
|330 | |330 | ||
− | |Supercharge Globe | + | |[[Supercharge Globe]] |
|4 | |4 | ||
|150 | |150 | ||
− | |armor shard | + | |[[armor shard]] |
|5 | |5 | ||
|700 | |700 | ||
− | |Megasphere | + | |[[Megasphere]] |
|16 | |16 | ||
|60 | |60 | ||
− | |Berserk Pack | + | |[[Berserk Pack]] |
|1 | |1 | ||
|200 | |200 | ||
− | |Invulnerability Globe | + | |[[Invulnerability Globe]] |
|7 | |7 | ||
|200 | |200 | ||
− | |Computer Map | + | |[[Computer Map]] |
|1 | |1 | ||
|200 | |200 | ||
− | + | |[[Light-Amp Goggles]] | |
− | + | |1 | |
− | | | + | |80 |
− | + | |[[Tracking Map]] | |
− | | | + | |
− | | | + | |
− | |Tracking Map | + | |
|1 | |1 | ||
|80 | |80 | ||
Line 166: | Line 157: | ||
|c2=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | |c2=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | ||
|c3=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | |c3=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | ||
− | |acid-proof boots | + | |{{exotic link|acid-proof boots}} |
|8 | |8 | ||
|5 | |5 | ||
− | |assault shotgun | + | |{{exotic link|assault shotgun}} |
|6 | |6 | ||
|6 | |6 | ||
− | | | + | |{{exotic link|ballistic shield}} |
− | | | + | |6 |
+ | |3 | ||
+ | |{{exotic link|ballistic vest}} | ||
|2 | |2 | ||
− | | | + | |5 |
+ | |{{exotic link|BFG 9000}} | ||
+ | |20 | ||
|4 | |4 | ||
+ | |{{exotic link|blaster}} | ||
+ | |8 | ||
|2 | |2 | ||
− | |blood skull | + | |{{exotic link|blood skull}} |
|5 | |5 | ||
|8 | |8 | ||
− | | | + | |{{exotic link|bullet-proof vest}} |
− | + | ||
− | + | ||
− | + | ||
|2 | |2 | ||
− | | | + | |6 |
− | | | + | |{{exotic link|chainsaw}} |
− | + | ||
− | + | ||
− | + | ||
|12 | |12 | ||
− | | | + | |6 |
− | |combat translocator | + | |{{exotic link|combat pistol}} |
+ | |4 | ||
+ | |6 | ||
+ | |{{exotic link|combat translocator}} | ||
|14 | |14 | ||
|3 | |3 | ||
− | |duelist armor | + | |{{exotic link|duelist armor}} |
|5 | |5 | ||
|6 | |6 | ||
− | |energy shield | + | |{{exotic link|energy shield}} |
|8 | |8 | ||
|3 | |3 | ||
− | |energy-shielded vest | + | |{{exotic link|energy-shielded vest}} |
|5 | |5 | ||
|3 | |3 | ||
− | |fire skull | + | |{{exotic link|fire skull}} |
|7 | |7 | ||
|8 | |8 | ||
− | |firestorm weapon pack | + | |{{exotic link|firestorm weapon pack}} |
|10 | |10 | ||
|4 | |4 | ||
− | |gothic armor | + | |{{exotic link|gothic armor}} |
|15 | |15 | ||
|6 | |6 | ||
− | |gothic boots | + | |{{exotic link|gothic boots}} |
|10 | |10 | ||
|6 | |6 | ||
− | |hatred skull | + | |{{exotic link|hatred skull}} |
|9 | |9 | ||
|8 | |8 | ||
− | |laser rifle | + | |{{exotic link|laser rifle}} |
|12 | |12 | ||
|5 | |5 | ||
− | |medical armor | + | |{{exotic link|medical armor}} |
|5 | |5 | ||
|6 | |6 | ||
− | + | |{{exotic link|minigun}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|10 | |10 | ||
|6 | |6 | ||
− | |missile launcher | + | |{{exotic link|missile launcher}} |
|10 | |10 | ||
|6 | |6 | ||
− | | | + | |{{exotic link|Nano Pack}} |
|10 | |10 | ||
|4 | |4 | ||
− | |nuclear | + | |{{exotic link|napalm launcher}} |
+ | |10 | ||
+ | |6 | ||
+ | |{{exotic link|nuclear BFG 9000}} | ||
|22 | |22 | ||
|2 | |2 | ||
− | |nuclear plasma rifle | + | |{{exotic link|nuclear plasma rifle}} |
|15 | |15 | ||
|4 | |4 | ||
− | | | + | |{{exotic link|onyx armor}} |
− | + | ||
− | + | ||
− | + | ||
|7 | |7 | ||
|4 | |4 | ||
− | | | + | |{{exotic link|Onyx Armor Pack}} |
|10 | |10 | ||
|4 | |4 | ||
− | |phaseshift armor | + | |{{exotic link|phaseshift armor}} |
|10 | |10 | ||
|6 | |6 | ||
− | |phaseshift boots | + | |{{exotic link|phaseshift boots}} |
|8 | |8 | ||
|6 | |6 | ||
− | |plasma shield | + | |{{exotic link|plasma shield}} |
|10 | |10 | ||
|3 | |3 | ||
− | |plasma shotgun | + | |{{exotic link|plasma shotgun}} |
|12 | |12 | ||
|4 | |4 | ||
− | |sniper weapon pack | + | |{{exotic link|sniper weapon pack}} |
|10 | |10 | ||
|4 | |4 | ||
− | |super shotgun | + | |{{exotic link|super shotgun}} |
|10 | |10 | ||
|5 | |5 | ||
− | |shockwave pack | + | |{{exotic link|shockwave pack}} |
|5 | |5 | ||
|10 | |10 | ||
− | |tristar blaster | + | |{{exotic link|tristar blaster}} |
|12 | |12 | ||
|4 | |4 | ||
Line 294: | Line 282: | ||
|c2=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | |c2=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | ||
|c3=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | |c3=text-align:right; vertical-align:top; padding:0px 2px; padding-left: 1ex; | ||
− | |Acid Spitter | + | |{{unique link|Acid Spitter}} |
|12 | |12 | ||
|3 | |3 | ||
− | |Anti-Freak Jackal | + | |{{unique link|Anti-Freak Jackal}} |
|10 | |10 | ||
|2 | |2 | ||
− | |Berserker Armor | + | |{{unique link|Berserker Armor}} |
|10 | |10 | ||
|1 | |1 | ||
− | |BFG 10K | + | |{{unique link|BFG 10K}} |
|20 | |20 | ||
|1 | |1 | ||
− | |Butcher's Cleaver | + | |{{unique link|Butcher's Cleaver}} |
|1 | |1 | ||
|2 | |2 | ||
− | |Cybernetic Armor | + | |{{unique link|Charch's Null Pointer}} |
+ | |15 | ||
+ | |1 | ||
+ | |{{unique link|Cybernetic Armor}} | ||
|10 | |10 | ||
|2 | |2 | ||
− | |Dragonslayer | + | |{{unique link|Dragonslayer}} |
|16 | |16 | ||
|1 | |1 | ||
− | |Enviroboots | + | |{{unique link|Enviroboots}} |
|10 | |10 | ||
|2 | |2 | ||
− | |Grammaton Cleric Beretta | + | |{{unique link|Frag Shotgun}} |
+ | |15 | ||
+ | |1 | ||
+ | |{{unique link|Grammaton Cleric Beretta}} | ||
|6 | |6 | ||
|3 | |3 | ||
− | |Hell Staff | + | |{{unique link|Hell Staff}} |
|15 | |15 | ||
|4 | |4 | ||
− | |Hellwave Pack | + | |{{unique link|Hellwave Pack}} |
|10 | |10 | ||
|4 | |4 | ||
− | | | + | |{{unique link|Jackhammer}} |
|12 | |12 | ||
|2 | |2 | ||
− | | | + | |{{unique link|Lava Armor}} |
− | + | ||
− | + | ||
− | + | ||
|12 | |12 | ||
|2 | |2 | ||
− | | | + | |{{unique link|Malek's Armor}} |
− | + | ||
− | + | ||
− | + | ||
|15 | |15 | ||
|2 | |2 | ||
− | | | + | |{{unique link|Medical Powerarmor}} |
− | + | ||
− | + | ||
− | + | ||
|10 | |10 | ||
|2 | |2 | ||
− | |Necroarmor | + | |{{unique link|Mega Buster}} |
+ | |15 | ||
+ | |1 | ||
+ | |{{unique link|Mjollnir}} | ||
+ | |5 | ||
+ | |1 | ||
+ | |{{unique link|Necroarmor}} | ||
|10 | |10 | ||
|3 | |3 | ||
− | |Shielded Armor | + | |{{unique link|Nyarlaptotep's Boots}} |
+ | |15 | ||
+ | |2 | ||
+ | |{{unique link|Railgun}} | ||
+ | |15 | ||
+ | |2 | ||
+ | |{{unique link|Revenant's Launcher}} | ||
+ | |12 | ||
+ | |2 | ||
+ | |{{unique link|Shielded Armor}} | ||
|10 | |10 | ||
+ | |2 | ||
+ | |{{unique link|Subtle Knife}} | ||
+ | |15 | ||
+ | |1 | ||
+ | |{{unique link|Trigun}} | ||
+ | |8 | ||
|2 | |2 | ||
}} | }} | ||
Line 358: | 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 367: | 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.