Skip to main content

The item types

Items · Kinds, slots and records · ItemType · Item types (ITEMTYPE.DAT)

In brief​

The game has 64 item types. Each row below gives what all the items of one type share: their kind, the slots they fit, the hands and classes they need, their damage or defense, whether a monster can take them, and how many lie in the levels at the start of the game, with their names.

The 334 items lying in the levels at the start of the game, by kind: thrown 62, melee 47, worn 42, mage scroll 37, potion 26, food 25, key 25, cleric scroll 11, gem 11, misc 10, text 9, ring 5, launcher 4, horn 4, bones 4, wand 4, life death amulet 3, spellbook 2, stone 2, holy symbol 1.
Thrown weapons, melee weapons and worn items are the most common items in the levels.

One row per type​

One row per record of ITEMTYPE.DAT, with the items of ITEM.DAT that use it:1

  • Kind is the ItemKind, which decides what using the item does.
  • Slot mask gives the bits of its InventorySlotMask, without the INVENTORY_SLOT_ prefix. A type with any bit also fits the backpack and belt slot 22.
  • Hands is what the item needs: any hand, the first or both. "First" limits weapons only.
  • Classes are the base classes that may use it, from its CharacterClassMask; a combined class may when one of its base classes may.
  • Damage gives the dice against other monsters, then against those with MONSTER_CAP_LARGE, as the game rolls them: the first bonus applies to both (weapon damage).
  • Defense is the adjustment of a worn item. The helmets' adjustment is never read; −30 marks a free conjured-weapon type.
  • Taken says whether a monster can take the item from a character. There are 23 such types.
  • In levels counts the records lying on a level at the start of the game.
  • Items lists the names, without repeats. "A → B" is a first name and the second name shown once identified; a single name is the first name. † marks a name found on templates only.
TypeKindSlot maskHandsClassesDamageDefenseTakenIn levelsItems
0ITEM_KIND_MELEEHANDfirstall but mage, cleric1d8 / 1d10——3Axe, axe "the bait", Vial†; Mouse Pointer†, entry 0, the empty hand; NULL†, entries 11 to 15, the free conjured-weapon entries
1ITEM_KIND_MELEEHANDfirstall but mage, cleric1d8 / 1d12—yes7Long Sword, long sword "hath kull", talon, long sword "hunger"; a template with no name
2ITEM_KIND_MELEEHANDanyall but mage, cleric1d6 / 1d8—yes4Short sword, short sword "sting"
3ITEM_KIND_MISCHANDanyall———0No item
4ITEM_KIND_THROWNHAND BELTanyall but cleric1d3+5 / 1d3+5—yes0No item
5ITEM_KIND_THROWNHAND BELTanyall but cleric1d4 / 1d3—yes10Dagger, dagger "yargon", dagger "sa shull", rusty dagger
6ITEM_KIND_THROWNHAND BELTanyall1d3 / 1d3——13Skull
7ITEM_KIND_LAUNCHERHANDbothall but mage, cleric1d6 / 1d6——2Bow → Long Bow, Bow → Composite Bow
8ITEM_KIND_MELEEHANDanyall1d3 / 1d3——22Femur
9ITEM_KIND_THROWNHANDfirstall but mage, cleric1d6 / 1d8—yes0Spear†
10ITEM_KIND_MELEEHANDbothall but mage, cleric1d10 / 2d6—yes3Polearm, polearm "leech", halberd; a template with no name
11ITEM_KIND_MELEEHANDfirstall but mage1d6+1 / 1d6+1—yes3Mace, Sceptre of Kingly Might†, mace "thumper"
12ITEM_KIND_MELEEHANDfirstall but mage1d6+1 / 2d4+1—yes0Flail†
13ITEM_KIND_MELEEHANDbothall1d6 / 1d6——2Staff
14ITEM_KIND_LAUNCHERHANDbothall but mage1d4 / 1d4——2Sling
15ITEM_KIND_THROWNHAND BELTanyall but cleric1d3 / 1d2—yes3Dart
16ITEM_KIND_THROWNHAND BELT QUIVERanyall but mage, cleric1d1 / 1d1——17Arrow
17ITEM_KIND_HORNHAND BELT RINGanyall———4Horn†, north wind, east wind, west wind, south wind
18ITEM_KIND_THROWNHAND BELTanyall1d2 / 1d2——19Rock
19ITEM_KIND_WORNHAND BODY_ARMOURfirstall but mage, thief—−6yes1Banded Armor
20ITEM_KIND_WORNHAND BODY_ARMOURfirstall but mage, thief—−5yes2Chainmail
21ITEM_KIND_WORNHAND HELMETanyall but mage—−1yes5Helmet
22ITEM_KIND_WORNHAND BODY_ARMOURfirstall but mage—−2—2Leather armor, dragon skin armor
23ITEM_KIND_MELEEHANDbothall but mage, cleric1d6+1 / 3d4+1——0Trident†
24ITEM_KIND_WORNHAND BODY_ARMOURfirstall but mage, thief—−7yes5Plate Mail
25ITEM_KIND_WORNHAND BODY_ARMOURfirstall but mage, thief—−4yes0Scale Mail†
26ITEM_KIND_MAGE_SCROLLHAND BELTanyall———12Glass Sphere → Fire Sphere, magic dust
27ITEM_KIND_WORNHANDanyall but mage—−1yes6Shield
28ITEM_KIND_MISCHAND BELTanythief——yes1Lock picks
29ITEM_KIND_SPELLBOOKHAND BELTanymage———2Spellbook
30ITEM_KIND_HOLY_SYMBOLHAND BELTanycleric, paladin———1Cleric Holy symbol†, Paladin's Holy Symbol
31ITEM_KIND_FOODHAND BELTanyall———25Iron Rations, Rations, rotten food, rotten rations
32ITEM_KIND_WORNHAND BOOTSanyall—0—6Leather boots, brahma's boots
33ITEM_KIND_BONESHANDfirstall———4Set of bones, a complete set of elf bones, a complete set of dwarf bones
34ITEM_KIND_MAGE_SCROLLHAND BELTanymage———25Scroll
35ITEM_KIND_CLERIC_SCROLLHAND BELTanycleric———11Scroll
36ITEM_KIND_TEXTHAND BELTanyall———9Parchment, Tome†
37ITEM_KIND_STONEHAND BELTanyall———2Stone Gem, Stone Dagger, Stone Sphere†, Stone Cross†, Stone Necklace†
38ITEM_KIND_KEYHAND BELTanyall———25Grey Key, Copper Key, Skull Key, Dark Moon Key, Spider Key, Bone Key, Tuning Fork†, Mantis Key, Crystal Key, Shell Key, Tooth, Crimson Key
39ITEM_KIND_POTIONHAND BELTanyall———26Potion, potion of cure poison
40ITEM_KIND_GEMHAND BELTanyall———11Red Gem, Green Gem, Blue Gem, Purple Gem†, tropelet seed, soul gem, heart gem, body gem
41ITEM_KIND_WORNHAND BODY_ARMOURfirstall—0—5Robe, Cloak†, cloak "moonshade"; a template with no name
42ITEM_KIND_WORNHAND RINGanyall—0yes0Ring of Protection†
43ITEM_KIND_WORNHAND BRACERSanyall—0yes3Bracers of Protection
44ITEM_KIND_MISCHAND BELT NECKanyall———3Amulet, Necklace → Necklace of Adornment†, amulet of resurrection → bauble
45ITEM_KIND_MELEEHANDbothall but mage, cleric1d10 / 3d6——2Two Handed Sword
46ITEM_KIND_MISCHAND BELT NECKanyall———5Mantis Idol, Eye of Talon, Talon's Tongue†, Hilt of Talon, Khelben's Coin†, Coin†, mapaj, the shall rejoice
47ITEM_KIND_RINGHAND RINGanyall——yes5Ring, Crimson Ring
48ITEM_KIND_WANDHAND BELTanymage——yes2Wand
49ITEM_KIND_MISCHAND BELTanyall———0No item
50ITEM_KIND_WANDHAND BELTanyall1d4 / 1d4——1Two records with no name; see wands
51ITEM_KIND_WORNnoneanynone—−30—0No item: reserved for conjured weapons
52ITEM_KIND_WORNnoneanynone—−30—0No item: reserved for conjured weapons
53ITEM_KIND_WORNnoneanynone—−30—0No item: reserved for conjured weapons
54ITEM_KIND_WORNnoneanynone—−30—0No item: reserved for conjured weapons
55ITEM_KIND_WORNnoneanynone—−30—0No item: reserved for conjured weapons
56ITEM_KIND_WORNnoneanynone—−30—0No item: reserved for conjured weapons
57ITEM_KIND_WORNHANDfirstall but mage—−1yes6Polished Shield → Medusa Shield
58ITEM_KIND_CLERIC_SCROLLHAND NECKanyall——yes0Amulet†
59ITEM_KIND_WORNHAND BODY_ARMOURanyall—0—1Jhonas' Cloak
60ITEM_KIND_MELEEHANDanyall but mage1d4+1 / 1d4+1——1Crystal Hammer
61ITEM_KIND_LIFE_DEATH_AMULETHAND BELT NECKanyall———3Amulet of Life, Amulet of Death
62ITEM_KIND_WANDHANDanyall——yes1Wand
63ITEM_KIND_MISCHANDanyall———1Sticky Paper

Nine types have no item: 3, 4, 49 and 51 to 56. Six have only a template: 9, 12, 23, 25, 42 and 58.

Sources​

Locations refer to the game executable reference, and the reference files are identified in the file inventory.

Footnotes​

  1. Records of the reference ITEM.DAT and ITEMTYPE.DAT, read by the ITEM.DAT loader and the ITEMTYPE.DAT loader into the item-type records. Names built from a value come from the item name parts; the wand spells from the wand spell table; the horns from the horn messages and horn sounds. ↩