These codes are used in STOR files to indicate which types of items they will buy. They may also be used to determine which inventory slots the item is allowed to go into on the inventory screen.
Codes from Baldur's Gate, Planescape: Torment, and Icewind Dale
| Code | Item type |
|---|---|
| 0x0000 | Books/misc (this may be the default type, as several "monster items" are of this type. |
| 0x0001 | Amulets and necklaces |
| 0x0002 | Armor |
| 0x0003 | Belts and girdles |
| 0x0004 | Boots |
| 0x0005 | Arrows |
| 0x0006 | Bracers and gauntlets |
| 0x0007 | Helms, hats, and other head-wear |
| 0x0008 | Keys (not in Icewind Dale?) |
| 0x0009 | Potions |
| 0x000a | Rings |
| 0x000b | Scrolls |
| 0x000c | Shields (not in IWD) |
| 0x000d | ??? Unknown |
| 0x000e | Bullets (for a sling) |
| 0x000f | Bows |
| 0x0010 | Daggers |
| 0x0011 | Maces (in BG, this includes clubs) |
| 0x0012 | Slings |
| 0x0013 | Short swords |
| 0x0014 | Long swords (in BG, this includes 2-handed and bastard swords) |
| 0x0015 | Hammers |
| 0x0016 | Morning stars |
| 0x0017 | Flails |
| 0x0018 | Darts |
| 0x0019 | Axes (specifically, 1-handed axes -- halberds and 2-handed polearms not included) |
| 0x001a | Quarterstaff |
| 0x001b | Crossbow |
| 0x001c | Hand-to-hand weapons (fist, fist irons, punch daggers, etc) |
| 0x001d | Spears |
| 0x001e | Halberds (2-handed polearms) |
| 0x001f | Crossbow bolts |
| 0x0020 | Cloaks and robes |
| 0x0021 | Gold pieces (not an inventory item, but can appear as "monster dropped" treasure) |
| 0x0022 | Gems |
| 0x0023 | Wands |
| 0x0024 |
|
| 0x0025 |
|
| 0x0026 |
|
| 0x0027 | Torment: Tattoos |
| 0x0028 | Torment: Lenses |
| 0x0029 |
|
| 0x002a | Icewind Dale: "Candle" (i.e. only 1 item) |
| 0x002b | ??? Unknown or unused |
| 0x002c | Icewind Dale: Clubs |
| 0x002d | ??? Unknown or unused |
| 0x002e | ??? Unknown or unused |
| 0x002f | Icewind Dale: Shields (large) |
| 0x0030 | ??? Unknown or unused |
| 0x0031 | Icewind Dale: Shields (medium) |
| 0x0032 | ??? Unknown or unused |
| 0x0033 | ??? Unknown or unused |
| 0x0034 | ??? Unknown or unused |
| 0x0035 | Icewind Dale: Shields (small) |
| 0x0036 | ??? Unknown or unused |
| 0x0037 | Icewind Dale: "Telescope" (only 1 item) |
| 0x0038 | Icewind Dale: "Bottle of wine" and "Container of Razorvine Extract" (only 2 items) |
| 0x0039 | Icewind Dale: Great swords |
[ back to index ]