Difference between revisions of "Item Generation"

From DoomRL Wiki

Jump to: navigation, search
(Moved nano and onyx packs to exotic, updated weight values, and updated total calculations (0996))
 
(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 special level features (e.g. [[Room Generation#Vaults|vaults]]) can cause additional items to drop beyond what is described here.
+
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
   |180
+
   |150
   |combat shotgun
+
   |[[combat shotgun]]
   |2
+
   |6
   |160
+
   |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]]
   |7
+
   |9
 
   |150
 
   |150
   |steel boots
+
   |[[steel boots]]
 
   |4
 
   |4
 
   |240
 
   |240
}}
+
   |[[protective boots]]
{{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;
+
   |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
   |technical mod pack
+
   |[[Small Health Globe]]
  |5
+
  |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]]
{{Table3Col
+
   |1
   |os=background: #333;  padding:0px 2px;
+
   |80
  |c1=text-align:left; vertical-align:top; padding:0px 2px;
+
   |[[Tracking Map]]
   |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;
+
   |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
   |bfg 9000
+
   |{{exotic link|ballistic shield}}
   |20
+
   |6
 +
  |3
 +
  |{{exotic link|ballistic vest}}
 
   |2
 
   |2
   |blaster
+
   |5
 +
  |{{exotic link|BFG 9000}}
 +
  |20
 
   |4
 
   |4
 +
  |{{exotic link|blaster}}
 +
  |8
 
   |2
 
   |2
   |blood skull
+
   |{{exotic link|blood skull}}
 
   |5
 
   |5
 
   |8
 
   |8
   |ballistic shield
+
   |{{exotic link|bullet-proof vest}}
  |6
+
  |3
+
  |ballistic vest
+
 
   |2
 
   |2
   |5
+
   |6
   |bullet-proof vest
+
   |{{exotic link|chainsaw}}
  |2
+
  |4
+
  |chainsaw
+
 
   |12
 
   |12
   |3
+
   |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}}
{{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;
+
  |minigun
+
 
   |10
 
   |10
 
   |6
 
   |6
   |missile launcher
+
   |{{exotic link|missile launcher}}
 
   |10
 
   |10
 
   |6
 
   |6
   |nano pack
+
   |{{exotic link|Nano Pack}}
 
   |10
 
   |10
 
   |4
 
   |4
   |nuclear bfg 9000
+
   |{{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
   |napalm launcher
+
   |{{exotic link|onyx armor}}
  |10
+
  |6
+
  |onyx armor
+
 
   |7
 
   |7
 
   |4
 
   |4
   |onyx armor pack
+
   |{{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
   |Lava Armor
+
   |{{unique link|Jackhammer}}
 
   |12
 
   |12
 
   |2
 
   |2
   |Trigun
+
   |{{unique link|Lava Armor}}
  |8
+
  |2
+
  |Jackhammer
+
 
   |12
 
   |12
 
   |2
 
   |2
   |Revenant's Launcher
+
   |{{unique link|Malek's Armor}}
  |12
+
  |2
+
  |Railgun
+
 
   |15
 
   |15
 
   |2
 
   |2
   |Malek's Armor
+
   |{{unique link|Medical Powerarmor}}
  |15
+
  |3
+
  |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 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.
+
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
|3592
+
|3672
 
|-
 
|-
 
|2
 
|2
|4641
+
|4531
 
|-
 
|-
 
|3
 
|3
|4701
+
|4591
 
|-
 
|-
 
|4
 
|4
|5493
+
|5387
 
|-
 
|-
 
|5
 
|5
|7646
+
|7540
 
|-
 
|-
 
|6
 
|6
|8228
+
|8322
 
|-
 
|-
 
|7
 
|7
|9196
+
|9140
 
|-
 
|-
 
|8
 
|8
|9412
+
|9358
 
|-
 
|-
 
|9
 
|9
|9420
+
|9516
 
|-
 
|-
 
|10
 
|10
|9550
+
|9646
 
|-
 
|-
 
|11
 
|11
|9632
+
|9726
 
|-
 
|-
 
|12-13
 
|12-13
|9725
+
|9821
 
|-
 
|-
 
|14
 
|14
|9728
+
|9824
 
|-
 
|-
 
|15
 
|15
|9747
+
|9851
 
|-
 
|-
 
|16-19
 
|16-19
|9808
+
|9912
 
|-
 
|-
 
|20-21
 
|20-21
|9811
+
|9915
 
|-
 
|-
 
|22+
 
|22+
|9813
+
|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:

Common Items
Item Level Weight
combat knife 1 640
pistol 1 70
shotgun 2 150
combat shotgun 6 200
double shotgun 4 100
chaingun 5 200
rocket launcher 7 200
plasma rifle 12 70
10mm ammo 1 500
shotgun shell 2 700
rocket 5 400
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
steel boots 4 240
protective boots 7 150
plasteel boots 11 80
small med-pack 1 600
large med-pack 5 400
phase device 5 200
homing phase device 7 100
envirosuit pack 5 100
thermonuclear bomb 10 40
power mod pack 7 120
technical mod pack 5 120
agility mod pack 6 120
bulk mod pack 6 120
Small Health Globe 1 900
Large Health Globe 6 330
Supercharge Globe 4 150
armor shard 5 700
Megasphere 16 60
Berserk Pack 1 200
Invulnerability Globe 7 200
Computer Map 1 200
Light-Amp Goggles 1 80
Tracking Map 1 80
Exotic Items
Item Level Weight
acid-proof boots 8 5
assault shotgun 6 6
ballistic shield 6 3
ballistic vest 2 5
BFG 9000 20 4
blaster 8 2
blood skull 5 8
bullet-proof vest 2 6
chainsaw 12 6
combat pistol 4 6
combat translocator 14 3
duelist armor 5 6
energy shield 8 3
energy-shielded vest 5 3
fire skull 7 8
firestorm weapon pack 10 4
gothic armor 15 6
gothic boots 10 6
hatred skull 9 8
laser rifle 12 5
medical armor 5 6
minigun 10 6
missile launcher 10 6
Nano Pack 10 4
napalm launcher 10 6
nuclear BFG 9000 22 2
nuclear plasma rifle 15 4
onyx armor 7 4
Onyx Armor Pack 10 4
phaseshift armor 10 6
phaseshift boots 8 6
plasma shield 10 3
plasma shotgun 12 4
sniper weapon pack 10 4
super shotgun 10 5
shockwave pack 5 10
tristar blaster 12 4
Unique Items
Item Level Weight
Acid Spitter 12 3
Anti-Freak Jackal 10 2
Berserker Armor 10 1
BFG 10K 20 1
Butcher's Cleaver 1 2
Charch's Null Pointer 15 1
Cybernetic Armor 10 2
Dragonslayer 16 1
Enviroboots 10 2
Frag Shotgun 15 1
Grammaton Cleric Beretta 6 3
Hell Staff 15 4
Hellwave Pack 10 4
Jackhammer 12 2
Lava Armor 12 2
Malek's Armor 15 2
Medical Powerarmor 10 2
Mega Buster 15 1
Mjollnir 5 1
Necroarmor 10 3
Nyarlaptotep's Boots 15 2
Railgun 15 2
Revenant's Launcher 12 2
Shielded Armor 10 2
Subtle Knife 15 1
Trigun 8 2

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.

Personal tools