Spellbooks - Spark Plugin v1.0 introduces a comprehensive system for managing spellbooks and abilities within your game. The plugin allows you to create unlimited spellbooks, each containing any number of abilities that characters can learn and use. Each ability slot supports selecting any ability from your database and an "Auto Add to Bar" flag.
Abilities marked with "Auto Add to Bar" are automatically placed into the player's ability bar the first time they enter the game. This one-time process respects individual ability requirements, skipping any ability that hasn't met its prerequisites.
Each ability within a spellbook is evaluated against Spark's requirement system. Abilities that fail to meet requirements are visually locked in the UI—displayed with a configurable background color and reduced opacity—cannot be dragged to the ability bar, and will not be auto-added until their requirements are satisfied.
The plugin integrates seamlessly with Spark Triggers, enabling dynamic control over spellbooks, such as adding or removing them from a character. A ready-to-use UI displays all unlocked spellbooks as a browsable list, showing spellbook icons with visual selection indicators. When the panel opens, the first spellbook is automatically selected. The UI lists all abilities in the selected spellbook with their icons and names, visually locks non-compliant abilities using configurable colors and opacity, supports drag-and-drop from ability slots (disabled for locked abilities), and shows tooltips on hover.
When used with the Classes plugin, each class gains a "Starting Spellbooks" section in the Spark Editor. Any listed spellbooks are automatically granted to players when a character of that class is created.
Fully integrated with the Quests plugin, the system supports quest rewards that unlock spellbooks. All unlocked spellbooks, auto-add history, and initial processing states are saved and automatically restored in future game sessions.
Available at: https://assetstore.unity.com/packages/tools/game-toolkits/spellbooks-spark-plugin-363886