Item Generation

From DoomRL Wiki

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 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