Item Generation

From DoomRL Wiki

Revision as of 04:19, 15 July 2011 by Game Hunter (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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:

Basic Items
Item Level Weight
combat knife 1 540
pistol 1 60
shotgun 2 180
combat shotgun 2 150
double shotgun 4 90
chaingun 5 180
rocket launcher 7 180
plasma rifle 12 60
10mm ammo 1 420
shotgun shell 2 600
rocket 5 360
power cell 8 180
green armor 1 360
blue armor 4 200
red armor 7 120
steel boots 4 200
protective boots 7 120
plasteel boots 11 60
small med-pack 1 480
large med-pack 5 360
phase device 5 180
homing phase device 7 70
envirosuit pack 5 90
thermonuclear bomb 10 30
power mod pack 7 100
agility mod pack 6 100
bulk mod pack 6 100
small health globe 1 750
large health globe 6 270
supercharge globe 4 120
armor shard 5 600
megasphere 16 50
berserk pack 1 180
invulnerability globe 7 180
computer map 1 180
tracking map 1 70
Exotic Items
Item Level Weight
assault shotgun 6 6
bfg 9000 20 2
blaster 4 2
blood skull 5 8
chainsaw 12 3
combat translocator 14 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
napalm launcher 10 6
nuclear bfg 9000 22 2
nuclear plasma rifle 15 4
onyx armor 7 4
phaseshift armor 10 6
phaseshift boots 8 6
plasma shotgun 12 4
shockwave pack 5 10
sniper weapon pack 10 2
super shotgun 10 5
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
grammaton cleric beretta 6 3
hell staff 15 4
hellwave pack 10 4
lava armor 12 2
trigun 8 2
jackhammer 12 2
railgun 15 2
revenant's launcher 12 2
malek's armor 15 3
medical powerarmor 10 2
nano pack 10 1
necroarmor 10 3
onyx armor pack 10 1

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 3042
2-3 3972
4 4584
5 6378
6 6857
7 7639
8 7827
9 7835
10 7922
11 7982
12-13 8067
14 8070
15 8089
16-19 8140
20-21 8143
22+ 8145

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