Inventory (INVT) Section - Troodon80/Summoner-Save-File-Editor GitHub Wiki
Inventory (INVT) Section
Contains inventory items and gold:
| Field | Offset | Size | Description |
|---|---|---|---|
| Signature | 0x000150E9 | 4 bytes | "INVT" ASCII string |
| Gold | +0x04 | 4 bytes | Player's gold amount |
| Item Count | +0x08 | 4 bytes | Number of inventory items |
| Items | +0x0C | Variable (Item Count * Inventory Item Structure) |
Series of item entries (hash, quantity, charge) |
Inventory Item Structure
Each item consists of:
| Field | Offset | Size | Description |
|---|---|---|---|
| Hash | +0x00 | 4 bytes | Item identifier hash |
| Quantity | +0x04 | 4 bytes | Number of items |
| Charge | +0x08 | 4 bytes | Number of charges (i.e. scrolls) |