Contains item definitions, saint names, and formula names. Number of item definition slots. This is the number of slots, not the actual number of items that are defined. Number of saints defined. Saint information is also stored in other file(s) like ; changing this value would probably be a bad idea. Number of alchemical formulae defined. Alchemical formula information is also stored in other file(s) like ; changing this value would probably be a bad idea. Item definitions. The index of an item in this array is called the item's "code", and is used very frequently in other files. Unfortunately, the code is not stored anywhere in the item's definition. A comprehensive list of codes (and corresponding types) can be found in the UGE module, available from the files section of darklands.net. "Empty" slots contain all 0x00. Full names of saints. All start with "St.". The longest one is 23 letters: "St.Christina, Astonish.". The order of these is the "definitive" order, since the full name is the best unique identifier. Short names of saints. All start with "S.". The longest ones are 13 letters. The order of saints here matches the order in . Full names of alchemical formulae. The longest ones are 26 letters. The order of these is the "definitive" order, since the full name is the best unique identifier. Short names of alchemical formulae. All start with two initials, then a space, then five to seven letters: 8 to 10 letters total. The order of formulae here matches the order in . A definition of an item. Name. Full name. Item type. TODO: add ext-reference to the UGE file for the enum data. TODO: instead, make this an empty enum pointing there... Item is an edged weapon. Item is an impact weapon. Item is an polearm. Item is a flail. Item is a thrown weapon. Item is a bow. Item is metal armor. Item is a shield. This and the next bit seem to indicate items that could be found in a pawnshop (all unequippable "normal" items). 0x03 for harp and flute, 0x02 for clock, grappling hook, and lockpicks, 0x01 for all other pawnshop items. Item is an alchemical component. Item is a potion. Item is a relic. Item is a horse. These seem to be the types of quest items that would be found in offices (love letters), or unused ones (treason note). Item is lockpicks. Item gives light. Torch, candle, and lantern. Note that lights are not a factor in game play. Item is an arrow. Item is a quarrel. Item is a ball. These seem to be outdoors quest items (prayerbook), fortress/baphomet/dragon items (sword of war, bone, gold cup), and creature parts (tusk and wolfskin). This is the only one of the five bitmasks where more than one bit is on for a given item: leather armor is 0x14. Item is a throwable potion. Item is a non-metal armor. Item is a missile weapon. Set only for: great hammer, maul, military hammer, leather armor, pure gold, manganes, zincblende, antimoni, orpiment, white cinnibar, nikel, pitchblende, zinken, and brimstone. Best guess is "items found in chests in the mines", but it's a wild guess. Item is a musical instrument. Harp and flute. This and the next bit are set for anything that does not have the high bit set, except for: cloth armor, superb horse, and fast horse. Set for cloth armor, all types of quest items, relics, and creature parts. This is always set if any of these three bits was set: , , . Item weight (when wielded). Default quality of the item. Based on the values, this is probably used as a sort of "base" or "default" item quality. Values are: 25 for most everyday items. 35 for composite bow. 70/40/25/15/5 for horses (superb, fast, average, pack, and mule). 99 for quest items and non-weapon relics. High (40-70) for weapon relics. Non-zero only for relics. Ranges from 0x06 (St. Edward's Ring) to 0x50 (St. Gabriel's Horn). Non-zero only for relics, and for the "residency permit" (which is unused by the game). Ranges from 0x05 to 0x27 (residency permit). This value is high for expensive things (transformation potion is 0x4e0=1248) and low for cheap things (arrows are 2). Quest items are either low values or off-the-scale high values (0x270f). Relics vary but are lower than many potions.