Difference between revisions of "Item Generation"

From DoomRL Wiki

Jump to: navigation, search
(994 item level/weight table update)
(994 updated total weight table)
Line 368: Line 368:
 
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
|3042
+
|3592
 +
|-
 +
|2
 +
|4641
 
|-
 
|-
|2-3
+
|3
|3972
+
|4701
 
|-
 
|-
 
|4
 
|4
|4584
+
|5493
 
|-
 
|-
 
|5
 
|5
|6378
+
|7646
 
|-
 
|-
 
|6
 
|6
|6857
+
|8228
 
|-
 
|-
 
|7
 
|7
|7639
+
|9196
 
|-
 
|-
 
|8
 
|8
|7827
+
|9412
 
|-
 
|-
 
|9
 
|9
|7835
+
|9420
 
|-
 
|-
 
|10
 
|10
|7922
+
|9542
 
|-
 
|-
 
|11
 
|11
|7982
+
|9622
 
|-
 
|-
 
|12-13
 
|12-13
|8067
+
|9717
 
|-
 
|-
 
|14
 
|14
|8070
+
|9720
 
|-
 
|-
 
|15
 
|15
|8089
+
|9739
 
|-
 
|-
 
|16-19
 
|16-19
|8140
+
|9800
 
|-
 
|-
 
|20-21
 
|20-21
|8143
+
|9803
 
|-
 
|-
 
|22+
 
|22+
|8145
+
|9805
 
|}
 
|}
  
 
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 21:03, 15 September 2011

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:

Common Items
Item Level Weight
combat knife 1 640
pistol 1 70
shotgun 2 180
combat shotgun 2 160
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 7 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
agility mod pack 6 120
bulk mod pack 6 120
technical mod pack 5 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
Tracking Map 1 80
Exotic Items
Item Level Weight
acid-proof boots 8 5
assault shotgun 6 6
bfg 9000 20 2
blaster 4 2
blood skull 5 8
ballistic shield 6 3
ballistic vest 2 5
bullet-proof vest 2 4
chainsaw 12 3
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
nuclear bfg 9000 22 2
nuclear plasma rifle 15 4
napalm launcher 10 6
onyx armor 7 4
phaseshift armor 10 6
phaseshift boots 8 6
plasma shield 10 3
plasma shotgun 12 4
sniper weapon pack 10 2
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
Cybernetic Armor 10 2
Dragonslayer 16 1
Enviroboots 10 2
Grammaton Cleric Beretta 6 3
Hell Staff 15 4
Hellwave Pack 10 4
Lava Armor 12 2
Trigun 8 2
Jackhammer 12 2
Revenant's Launcher 12 2
Railgun 15 2
Malek's Armor 15 3
Medical Powerarmor 10 2
Necroarmor 10 3
Nano Pack 10 1
Onyx Armor Pack 10 1
Shielded Armor 10 2

Ignoring minimum dlevel, the total weight for exotic items is 132. Unique items a total weight (again ignoring minimum dlevel) of 43. 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 9542
11 9622
12-13 9717
14 9720
15 9739
16-19 9800
20-21 9803
22+ 9805

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