Difference between revisions of "Item Generation"
From DoomRL Wiki
Game Hunter (Talk | contribs) m (moved Generated Items to Item Generation: better name) |
Omega Tyrant (Talk | contribs) |
||
(9 intermediate revisions by 4 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: | ||
{| | {| | ||
− | |style="vertical-align:text-top;"| | + | |style="vertical-align: text-top;"| |
− | {|style=" | + | {|class="wikitable" style="border: 2px solid darkred; border-spacing: 0; font-size: 90%; margin: 0.25em 0.5em;" |
− | + | ! colspan="3" style="background: darkred; color: yellow; font-size: 120%; text-align: center"|'''Common Items''' | |
− | |- | + | |- |
− | |style="text-align:left"|'''Item''' | + | |style="text-align: left; padding-right: 1ex;"|'''Item''' |
− | |style="text-align:left"|'''Level''' | + | |style="text-align: left;"|'''Level''' |
− | |style="text-align:left; padding-left:1ex"|'''Weight''' | + | |style="text-align: left; padding-left: 1ex;"|'''Weight''' |
− | | | + | {{Table3Col |
− | | | + | |os=background: #333; padding:0px 2px; |
− | + | |c1=text-align:left; vertical-align:top; padding:0px 2px; | |
− | + | |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; | |
− | | | + | |[[combat knife]] |
− | + | |1 | |
− | + | |640 | |
− | + | |[[pistol]] | |
− | | | + | |1 |
− | | | + | |70 |
− | | | + | |[[shotgun]] |
− | | | + | |2 |
− | | | + | |150 |
− | |2 | + | |[[combat shotgun]] |
− | |150 | + | |6 |
− | | | + | |200 |
− | | | + | |[[double shotgun]] |
− | |4 | + | |4 |
− | | | + | |100 |
− | | | + | |[[chaingun]] |
− | + | |5 | |
− | |5 | + | |200 |
− | | | + | |[[rocket launcher]] |
− | | | + | |7 |
− | + | |200 | |
− | |7 | + | |[[plasma rifle]] |
− | | | + | |12 |
− | | | + | |70 |
− | + | |[[10mm ammo]] | |
− | |12 | + | |1 |
− | | | + | |500 |
− | | | + | |[[shotgun shell]] |
− | + | |2 | |
− | |1 | + | |700 |
− | | | + | |[[rocket]] |
− | | | + | |5 |
− | + | |400 | |
− | |2 | + | |[[power cell]] |
− | | | + | |8 |
− | | | + | |200 |
− | | | + | |[[10mm ammo chain]] |
− | | | + | |3 |
− | | | + | |60 |
− | | | + | |[[shell box]] |
− | | | + | |4 |
− | | | + | |60 |
− | | | + | |[[rocket box]] |
− | | | + | |7 |
− | | | + | |36 |
− | | | + | |[[power battery]] |
− | | | + | |10 |
− | | | + | |18 |
− | | | + | |[[green armor]] |
− | | | + | |1 |
− | | | + | |400 |
− | | | + | |[[blue armor]] |
− | | | + | |4 |
− | | | + | |240 |
− | | | + | |[[red armor]] |
− | | | + | |9 |
− | + | |150 | |
− | |4 | + | |[[steel boots]] |
− | | | + | |4 |
− | | | + | |240 |
− | + | |[[protective boots]] | |
− | |7 | + | |7 |
− | | | + | |150 |
− | | | + | |[[plasteel boots]] |
− | + | |11 | |
− | |11 | + | |80 |
− | | | + | |[[small med-pack]] |
− | | | + | |1 |
− | + | |600 | |
− | |1 | + | |[[large med-pack]] |
− | | | + | |5 |
− | | | + | |400 |
− | + | |[[phase device]] | |
− | |5 | + | |5 |
− | | | + | |200 |
− | | | + | |[[homing phase device]] |
− | + | |7 | |
− | |5 | + | |100 |
− | | | + | |[[envirosuit pack]] |
− | | | + | |5 |
− | + | |100 | |
− | |7 | + | |[[thermonuclear bomb]] |
− | | | + | |10 |
− | | | + | |40 |
− | + | |[[power mod pack]] | |
− | |5 | + | |7 |
− | | | + | |120 |
− | | | + | |[[technical mod pack]] |
− | + | |5 | |
− | |10 | + | |120 |
− | | | + | |[[agility mod pack]] |
− | | | + | |6 |
− | + | |120 | |
− | |7 | + | |[[bulk mod pack]] |
− | | | + | |6 |
− | | | + | |120 |
− | | | + | |[[Small Health Globe]] |
− | |6 | + | |1 |
− | | | + | |900 |
− | | | + | |[[Large Health Globe]] |
− | + | |6 | |
− | |6 | + | |330 |
− | | | + | |[[Supercharge Globe]] |
− | | | + | |4 |
− | + | |150 | |
− | |1 | + | |[[armor shard]] |
− | | | + | |5 |
− | | | + | |700 |
− | + | |[[Megasphere]] | |
− | |6 | + | |16 |
− | | | + | |60 |
− | | | + | |[[Berserk Pack]] |
− | + | |1 | |
− | |4 | + | |200 |
− | | | + | |[[Invulnerability Globe]] |
− | | | + | |7 |
− | + | |200 | |
− | |5 | + | |[[Computer Map]] |
− | | | + | |1 |
− | | | + | |200 |
− | + | |[[Light-Amp Goggles]] | |
− | |16 | + | |1 |
− | | | + | |80 |
− | | | + | |[[Tracking Map]] |
− | | | + | |1 |
− | | | + | |80 |
− | | | + | }} |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | |1 | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
|} | |} | ||
− | |style="vertical-align:text-top;"| | + | |style="vertical-align: text-top;"| |
− | {|style=" | + | {|class="wikitable" style="border: 2px solid darkred; border-spacing: 0; font-size: 90%; margin: 0.25em 0.5em;" |
− | + | ! colspan="3" style="background: darkred; color: yellow; font-size: 120%; text-align: center"|'''Exotic Items''' | |
− | |- | + | |- |
− | |style="text-align:left"|'''Item''' | + | |style="text-align: left; padding-right: 1ex;"|'''Item''' |
− | |style="text-align:left"|'''Level''' | + | |style="text-align: left;"|'''Level''' |
− | |style="text-align:left; padding-left:1ex"|'''Weight''' | + | |style="text-align: left; padding-left: 1ex;"|'''Weight''' |
− | | | + | {{Table3Col |
− | | | + | |os=background: #333; padding:0px 2px; |
− | |6 | + | |c1=text-align:left; vertical-align:top; padding:0px 2px; |
− | |6 | + | |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; |
− | | | + | |{{exotic link|acid-proof boots}} |
− | | | + | |8 |
− | |2 | + | |5 |
− | | | + | |{{exotic link|assault shotgun}} |
− | | | + | |6 |
− | |4 | + | |6 |
− | | | + | |{{exotic link|ballistic shield}} |
− | | | + | |6 |
− | | | + | |3 |
− | |5 | + | |{{exotic link|ballistic vest}} |
− | |8 | + | |2 |
− | |- | + | |5 |
− | | | + | |{{exotic link|BFG 9000}} |
− | |12 | + | |20 |
− | | | + | |4 |
− | | | + | |{{exotic link|blaster}} |
− | | | + | |8 |
− | |14 | + | |2 |
− | |3 | + | |{{exotic link|blood skull}} |
− | | | + | |5 |
− | | | + | |8 |
− | |7 | + | |{{exotic link|bullet-proof vest}} |
− | |8 | + | |2 |
− | | | + | |6 |
− | + | |{{exotic link|chainsaw}} | |
− | |10 | + | |12 |
− | |4 | + | |6 |
− | | | + | |{{exotic link|combat pistol}} |
− | + | |4 | |
− | |15 | + | |6 |
− | |6 | + | |{{exotic link|combat translocator}} |
− | | | + | |14 |
− | + | |3 | |
− | |10 | + | |{{exotic link|duelist armor}} |
− | |6 | + | |5 |
− | | | + | |6 |
− | + | |{{exotic link|energy shield}} | |
− | |9 | + | |8 |
− | |8 | + | |3 |
− | | | + | |{{exotic link|energy-shielded vest}} |
− | + | |5 | |
− | |12 | + | |3 |
− | |5 | + | |{{exotic link|fire skull}} |
− | | | + | |7 |
− | + | |8 | |
− | |5 | + | |{{exotic link|firestorm weapon pack}} |
− | |6 | + | |10 |
− | | | + | |4 |
− | + | |{{exotic link|gothic armor}} | |
− | |10 | + | |15 |
− | |6 | + | |6 |
− | | | + | |{{exotic link|gothic boots}} |
− | + | |10 | |
− | |10 | + | |6 |
− | |6 | + | |{{exotic link|hatred skull}} |
− | | | + | |9 |
− | | | + | |8 |
− | |10 | + | |{{exotic link|laser rifle}} |
− | |6 | + | |12 |
− | | | + | |5 |
− | + | |{{exotic link|medical armor}} | |
− | |22 | + | |5 |
− | |2 | + | |6 |
− | | | + | |{{exotic link|minigun}} |
− | + | |10 | |
− | |15 | + | |6 |
− | |4 | + | |{{exotic link|missile launcher}} |
− | | | + | |10 |
− | + | |6 | |
− | |7 | + | |{{exotic link|Nano Pack}} |
− | |4 | + | |10 |
− | | | + | |4 |
− | | | + | |{{exotic link|napalm launcher}} |
− | |10 | + | |10 |
− | |6 | + | |6 |
− | | | + | |{{exotic link|nuclear BFG 9000}} |
− | + | |22 | |
− | |8 | + | |2 |
− | |6 | + | |{{exotic link|nuclear plasma rifle}} |
− | | | + | |15 |
− | + | |4 | |
− | | | + | |{{exotic link|onyx armor}} |
− | | | + | |7 |
− | | | + | |4 |
− | | | + | |{{exotic link|Onyx Armor Pack}} |
− | | | + | |10 |
− | | | + | |4 |
− | | | + | |{{exotic link|phaseshift armor}} |
− | + | |10 | |
− | |10 | + | |6 |
− | | | + | |{{exotic link|phaseshift boots}} |
− | | | + | |8 |
− | + | |6 | |
− | |10 | + | |{{exotic link|plasma shield}} |
− | |5 | + | |10 |
− | | | + | |3 |
− | | | + | |{{exotic link|plasma shotgun}} |
− | |12 | + | |12 |
− | |4 | + | |4 |
+ | |{{exotic link|sniper weapon pack}} | ||
+ | |10 | ||
+ | |4 | ||
+ | |{{exotic link|super shotgun}} | ||
+ | |10 | ||
+ | |5 | ||
+ | |{{exotic link|shockwave pack}} | ||
+ | |5 | ||
+ | |10 | ||
+ | |{{exotic link|tristar blaster}} | ||
+ | |12 | ||
+ | |4 | ||
+ | }} | ||
|} | |} | ||
− | |style="vertical-align:text-top;"| | + | |style="vertical-align: text-top;"| |
− | {|style=" | + | {|class="wikitable" style="border: 2px solid darkred; border-spacing: 0; font-size: 90%; margin: 0.25em 0.5em;" |
− | + | ! colspan="3" style="background: darkred; color: yellow; font-size: 120%; text-align: center"|'''Unique Items''' | |
− | |- | + | |- |
− | |style="text-align:left"|'''Item''' | + | |style="text-align: left; padding-right: 1ex;"|'''Item''' |
− | |style="text-align:left"|'''Level''' | + | |style="text-align: left;"|'''Level''' |
− | |style="text-align:left; padding-left:1ex"|'''Weight''' | + | |style="text-align: left; padding-left: 1ex;"|'''Weight''' |
− | | | + | {{Table3Col |
− | | | + | |os=background: #333; padding:0px 2px; |
− | + | |c1=text-align:left; vertical-align:top; padding:0px 2px; | |
− | + | |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; | |
− | | | + | |{{unique link|Acid Spitter}} |
− | + | |12 | |
− | + | |3 | |
− | + | |{{unique link|Anti-Freak Jackal}} | |
− | | | + | |10 |
− | | | + | |2 |
− | | | + | |{{unique link|Berserker Armor}} |
− | |- | + | |10 |
− | | | + | |1 |
− | | | + | |{{unique link|BFG 10K}} |
− | |1 | + | |20 |
− | | | + | |1 |
− | | | + | |{{unique link|Butcher's Cleaver}} |
− | |1 | + | |1 |
− | |2 | + | |2 |
− | | | + | |{{unique link|Charch's Null Pointer}} |
− | | | + | |15 |
− | |10 | + | |1 |
− | |2 | + | |{{unique link|Cybernetic Armor}} |
− | | | + | |10 |
− | + | |2 | |
− | |16 | + | |{{unique link|Dragonslayer}} |
− | |1 | + | |16 |
− | | | + | |1 |
− | | | + | |{{unique link|Enviroboots}} |
− | | | + | |10 |
− | | | + | |2 |
− | | | + | |{{unique link|Frag Shotgun}} |
− | | | + | |15 |
− | | | + | |1 |
− | | | + | |{{unique link|Grammaton Cleric Beretta}} |
− | | | + | |6 |
− | | | + | |3 |
− | |10 | + | |{{unique link|Hell Staff}} |
− | |4 | + | |15 |
− | | | + | |4 |
− | + | |{{unique link|Hellwave Pack}} | |
− | |12 | + | |10 |
− | |2 | + | |4 |
− | | | + | |{{unique link|Jackhammer}} |
− | | | + | |12 |
− | | | + | |2 |
− | | | + | |{{unique link|Lava Armor}} |
− | | | + | |12 |
− | | | + | |2 |
− | | | + | |{{unique link|Malek's Armor}} |
− | |2 | + | |15 |
− | | | + | |2 |
− | | | + | |{{unique link|Medical Powerarmor}} |
− | |15 | + | |10 |
− | | | + | |2 |
− | | | + | |{{unique link|Mega Buster}} |
− | | | + | |15 |
− | | | + | |1 |
− | | | + | |{{unique link|Mjollnir}} |
− | | | + | |5 |
− | | | + | |1 |
− | |15 | + | |{{unique link|Necroarmor}} |
− | | | + | |10 |
− | | | + | |3 |
− | | | + | |{{unique link|Nyarlaptotep's Boots}} |
− | | | + | |15 |
− | | | + | |2 |
− | | | + | |{{unique link|Railgun}} |
− | | | + | |15 |
− | |10 | + | |2 |
− | | | + | |{{unique link|Revenant's Launcher}} |
− | | | + | |12 |
− | | | + | |2 |
− | | | + | |{{unique link|Shielded Armor}} |
− | | | + | |10 |
− | | | + | |2 |
− | | | + | |{{unique link|Subtle Knife}} |
− | | | + | |15 |
− | + | |1 | |
+ | |{{unique link|Trigun}} | ||
+ | |8 | ||
+ | |2 | ||
+ | }} | ||
|} | |} | ||
|} | |} | ||
− | 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. | ||
{| | {| | ||
+ | |- | ||
|'''dlevel''' | |'''dlevel''' | ||
|'''Total Weight''' | |'''Total Weight''' | ||
|- | |- | ||
|1 | |1 | ||
− | | | + | |3672 |
|- | |- | ||
− | |2-3 | + | |2 |
− | | | + | |4531 |
+ | |- | ||
+ | |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.