Skip to content

Items

Warriors of Legend’s 131 item types come from restart.dat, the game’s canned initial/restart save — not wofl.exe itself, which has no symbol table and no readable strings to trace (see the Home page). Each is a fixed 29-byte record — the 131-record table itself is confirmed (it starts at a fixed file offset and ends exactly where the last record’s name stops being printable ASCII), but most field semantics are structural hypotheses, not disassembly-confirmed — see src/assets/formats/legend-restart-save.ts’s doc comment in the main repo (not part of this site) for the byte-level derivation.

There’s no confirmed icon art for these — the record’s unknownRef field (a u16 that looked like it might point at art) doesn’t match any GAMI or LMRF resource id anywhere in the corpus, so this page is a plain data table rather than an icon gallery.

What each column means (and how sure we are)

Section titled “What each column means (and how sure we are)”
Column Confidence Notes
Name confirmed Nul-terminated ASCII, zero-padded to 16 bytes
Value (gold) hypothesis, well-supported Ascending with material quality across every armor tier checked: leather 10 < steel 20 < bronze 30 < dragon 75 < mithril 100
Combat stat hypothesis, well-supported Damage for weapons, defense for armor — the same clean material-quality progression (leather 2 < steel 4 < bronze 6 < dragon 8 < mithril 10)
Sub-type code hypothesis Constant per broad category — armor pieces are uniformly 5; among weapons, 1 = bow, 2 = axe, 3 = mace, by inspection, but the code isn’t decoded as a general enum
Sequential ID hypothesis Strictly increasing with record order from 3004, with occasional 1–2 gaps (plausibly ids reserved for items absent from this particular table); the final record (Dragon's Blood) breaks the pattern entirely, reading 0xFFFF
#NameValue (gold)Combat statSub-typeSequential ID
0Bow50413004
1Battle Axe301023005
2Mace30633006
3Steel Helm20453007
4Dragon Helm75853008
5Leather Helm10253009
6Mithril Helm1001053010
7Bronze Helm30653011
8Steel Mail501053012
9Dragon Mail5002053013
10Leather Mail40553014
11Mithril Mail7502553015
12Bronze Mail2751553016
13Steel Shield30653017
14Dragon Shield1601253018
15Leather Shield20353019
16Mithril Shield2801553020
17Bronze Shield100953021
18Sword50603022
19+1 Sword75703023
20+2 Sword100803024
21+3 Sword725903025
22+4 Sword8501003026
23Dragon Sword100803027
24Knife5443030
25Iron Cap100113031
26Backpack00153033
27Rock1443034
28Fluffy Pillow50113035
29Flask20113036
30Boots20153037
31Heart Of Stone3000073038
32+5 Sword1751103039
33+6 Sword2001203040
34+1 Mace55733041
35+2 Mace80833042
36+3 Mace105933043
37+4 Mace1301033044
38+5 Mace1551133045
39+6 Mace1801233046
40+2 Battle Axe1751223047
41+4 Battle Axe2501423048
42+6 Battle Axe4001623049
43+1 Bow60713050
44+2 Bow150813051
45+3 Bow200913052
46+4 Bow2501013300
47Gamorrah's Key500103301
48Brass Key500103302
49Dead Man's Key500103303
50Bronze Key500103304
51White Key500103305
52Mummy Key500103306
53Silver Key500103307
54Vapor Key500103310
55Black Key500103311
56Blue Key500103312
57Bright Key500103313
58Brown Key500103314
59Copper Key500103315
60Gold Key500103316
61Green Key500103317
62Iridium Key500103318
63Ivory Key500103319
64Platinum Key500103320
65Purple Key500103321
66Red Key500103322
67Skeleton Key500103323
68Tiny Key500103324
69Yellow Key500103325
70Jagged Key500103326
71Double Key500103327
72Trident Key500103328
73Spiked Key500103329
74Flat Key500103330
75Lock Pick2000103400
76Armageddon1200083401
77Fireball1000083402
78Flaming Death800083403
79Freeze800083404
80Invisibility400083405
81Magic Fire800083406
82Paralyze800083408
83Cure Poison400083409
84Detect300083410
85Plank300083411
86Unlock200083412
87Heal400083413
88Resurrect1000083414
89Stone Speak800083500
90Ankh1000073501
91Book of Sorcery1000073502
92Demon Amulet2000073503
93Armor Amulet20005053505
94Undead Amulet2000073506
95Clerical Mana1000133508
96Sorcery Mana1000133510
97Resurrection1000133512
98Healing Potion1000133513
99Cure Poison1000133518
100Holy Water5000133520
101Mana Ring500073522
102Mana Ring500073524
103Regen Ring500073527
104Crystal Ball100073529
105Thor's Hammer5003023530
106Staff of Might1000073531
107Chaos Key0043532
108Chaos Key0043533
109Chaos Key0043534
110Chaos Key0043535
111Chaos Key0043536
112Chaos Key0043537
113True Sight1000133700
114Quiver100163800
115Grain50123801
116Mandrake50123802
117Clover50123803
118Berries50123804
119Powder50123805
120Herbs50123806
121Garlic50123807
122Mushroom50123808
123Carrot50123809
124Ox Heart50123810
125Serpent Eye50123811
126Bone50123812
127Lion's Mane50123813
128Bat's Wing50123814
129Rat's Tail50123815
130Dragon's Blood50120xFFFF (breaks pattern)

restart.dat also holds an item-placement region right after this table (0x172A onward, 41,138 bytes). The leading part of it is a run of empty-slot records sharing the item table’s own 29-byte stride (every slot holds two 0xFFFF sentinels, consistent with an all-empty canned restart state) — beyond that leading run the gap pattern between markers becomes heterogeneous, meaning it holds several different sub-structures rather than one uniform array. Left uncharacterised beyond this; see docs/legend/TODO.md’s legend-exe-data entry in the main repo for the current state.