Overview
This file controls functionalities of book items (also called Tomes). This includes how they interact with their related scroll items.
Any column field name starting with “*” is considered a comment field and is not used by the game
Data Fields
Name – This is a reference field to define the book
ScrollSpellCode – Uses an item’s code to define as the scroll item for the book
BookSpellCode – Uses an item’s code to define as the book item
pSpell – Defines the item spell function to use when using the book
| Code | Description | 
| 0 | None | 
| 1 | Identify | 
| 2 | Town Portal | 
| 3 | Health Potion (Flat Amount with special bonus for class and Vitality attribute) | 
| 4 | Health Potion 2 (Flat Amount with no special bonus) | 
| 5 | Health Potion 3 (Percentage) | 
| 6 | Antidote Potion (Apply a state that can override other states) | 
| 7 | Transmogrify (Used to open the Horadric Cube’s UI for transmogrification) | 
| 8 | Elixir (Modify a stat) | 
| 9 | Herb (Apply a state using item stats) | 
| 10 | Skill (Cast the Fireball skill to a target unit) | 
| 11 | Skill XY (Cast the Fireball skill to a location using X and Y coordinates) | 
SpellIcon – Controls which DC6 file to display for the mouse cursor when using the scroll or book (Uses numeric indices to pick the DC6 file. Example: When using Identify, use icon 1 or buysell.DC6)
ScrollSkill – Defines which Skill to use for the scroll item (uses the “skill” field from skills.txt)
BookSkill – Defines which Skill to use for the book item (uses the “skill” field from skills.txt)
BaseCost – The starting gold cost to buy the book from an NPC
CostPerCharge – The additional gold cost added with the book’s “BaseCost” value, based on how many charges the book has
