Skip to content

Items (DARKLAND.LST)

Item definitions, saint names, and alchemical formula names. The item code used everywhere in the game is an index into the item_definitions array here.

Extension
DARKLAND.LST
Location
Game root
Byte order
Little-endian (16-bit)
Size
Variable — 3-byte header + 200 × 46-byte item_definition + saint/formula name strings
Compression
None
Magic
None — num_item_slots (200), num_saints (136), num_formulae (66) at 0x00–0x02
Status
Partial
Source
Wendigo — darkland.lst.xml
Partial. flags_5 (rarity/category byte) semantics are unresolved — bit 0 (is_unknown_2) and bit 7 (is_unknown_3) appear across many item types without a clear pattern. flags_2 bits 0 and 1 are also not definitively named. item_definition fields at +0x28 and +0x2A are non-zero only for relics and one unused item.

Canonical source: darkland.lst.xml (Wendigo’s Darklands repo)

File Layout

Offset 0x00:  byte                 num_item_slots = 200
Offset 0x01:  byte                 num_saints     = 136
Offset 0x02:  byte                 num_formulae   = 66
Offset 0x03:  item_definition[200]
              string[] saint_full_names   (all start with "St.")
              string[] saint_short_names  (all start with "S.")
              string[] formula_full_names
              string[] formula_short_names

item_definition struct (46 bytes)

OffsetSizeFieldDescription
+0x0020nameFull item name
+0x1410short_nameShort item name
+0x1e2typeItem type code
+0x201flags_1Weapon/armor type bitmask
+0x211flags_2Item category bitmask
+0x221flags_3Projectile/misc bitmask
+0x231flags_4Additional type bitmask
+0x241flags_5Rarity/category bitmask
+0x251weightItem weight when wielded
+0x261qualityDefault/base quality
+0x271rarityRarity (0–12; relics=12, quest items=0, missiles=1)
+0x282(unknown)Non-zero only for relics; ranges from 0x06 to 0x50 in known data
+0x2a2(unknown)Non-zero for relics and the unused residency permit
+0x2c2valueItem value in pfenniges

flags_1 (weapon/armor types)

BitFlag
0is_edged
1is_impact
2is_polearm
3is_flail
4is_thrown
5is_bow
6is_metal_armor
7is_shield

flags_2 (item categories)

BitFlag
0(unknown)
1(unknown)
2is_component
3is_potion
4is_relic
5is_horse
6is_quest_1

Notes:

  • bits 0 and 1 seem to mark ordinary pawnshop-style non-equippable items
  • observed values include 0x03 for harp/flute, 0x02 for clock, grappling hook, and lockpicks, and 0x01 for other pawnshop items

flags_3 (projectile/misc)

BitFlag
0is_lockpicks
1is_light (torch, candle, lantern)
2is_arrow
3(constant 0)
4is_quarrel
5is_ball
6(constant 0)
7is_quest_2

Notes:

  • is_quest_2 appears on outdoor quest items, fortress/Baphomet/dragon items, and creature parts

flags_4 (additional types)

BitFlag
0is_throw_potion
1(constant 0)
2is_nonmetal_armor
3is_missile_weapon
4(constant 0)
5is_unknown_1
6is_music (harp, flute)
7(constant 0)

Notes:

  • is_unknown_1 is set on a small mixed group including certain hammers, leather armor, pure gold, and several mine-related materials
  • the KB’s best guess is that it may relate to mine chest contents, but that remains speculative

flags_5 (rarity/category)

This bitmask remains only partially understood in the KB:

BitFlag
0is_unknown_2
1(unknown)
2(constant 0)
3(constant 0)
4(constant 0)
5(constant 0)
6(constant 0)
7is_unknown_3

Notes:

  • is_unknown_2 / bit 1 are used across many ordinary weapons, armor, potions, and ingredients
  • is_unknown_3 appears on cloth armor, quest items, relics, and creature parts
  • The full semantics of this byte are still unresolved

Notes

  • num_item_slots is the number of definition slots, not the number of actually populated items
  • empty item-definition slots are all zero
  • saint and formula name order here is the definitive order used by other files

Confidence

Medium-high. Confirmed by darkland.lst.xml.