# GURPS Grimoire A comprehensive spell browser and manager for the GURPS system in Foundry VTT. ## Features - **Complete Spell Browser**: Browse all spells available to your character in an organized, searchable table - **Advanced Search**: Quickly find spells by name with real-time filtering - **Favorite System**: Mark your most-used spells as favorites for quick access - **Detailed Spell Information**: View all spell details including class, college, cost, casting time, duration, and more - **PDF Integration**: Click on page references to open PDFs directly (requires GURPS module) - **Spell Casting**: Click on spell names to cast them directly from the grimoire - **Responsive Design**: Clean, modern interface that works well at any size ## Usage ### Opening the Grimoire There are several ways to open the GURPS Grimoire: 1. **Scene Controls**: Click the book icon (📖) in the token controls toolbar 2. **Macro**: Use the provided macro or create your own: ```javascript game.gurpsGrimoire.open(); ``` 3. **API Call**: From other modules or scripts: ```javascript window.gurpsGrimoire.open(actor); ``` ## API Reference The module exposes several APIs for integration with macros and other modules: ### Global API ```javascript // Open grimoire for currently selected actor game.gurpsGrimoire.open(); // Open grimoire for specific actor game.gurpsGrimoire.open(actor); // Get module instan