NPC Spell Learning (Stable)

If you liked this item, please rate it up on Steam Workshop page.

Author: catalystwyrm

Last revision: 1 Jan at 05:19 UTC (3)

File size: 134.33 KB

On Steam Workshop

Description:
NPC Spell Learning (Stable)

NOTE: This version is confirmed to work on Stable.

A breakthrough in magical pedagogy is sweeping across North Tyris — and now,
the knowledge sealed within spellbooks is no longer beyond the grasp of your companions.

This mod overhauls NPC spellcasting, allowing them to learn, cast, and manage spells just like you do.
From a single gifted tome, even a humble companion can grow into a formidable archmage.

Related Mod:
"Tome of Memory Loss" — an organic way to remove learned spells.

🧩 Requirements
  • Stable Elin EA 23.229

🤝 Misc Companion Mods

✨ Features
  • NPC Spell Learning: NPCs can now learn spells from spellbooks.
  • Active Combat Use: Learned spells are added to the NPC’s combat pool and used intelligently in battle.
  • Spell Charges: NPCs consume spell charges like the player. When charges run out, the spell remains at its current level until recharged.
  • Controlled Learning: NPCs only learn from spellbooks you gift them — giving you total control (configurable).
  • Bulk Learning: NPCs can consume all charges from a book at once for rapid mastery (configurable).
  • Autonomous Reading: Gifted NPCs may read spellbooks on their own during idle time, learning organically (configurable).

📘 How It Works

Simply give a spellbook to an ally as a gift.
They will read it and learn the spell.
If autonomous reading is enabled in the config, they’ll occasionally read gifted spellbooks from their inventory during idle moments.
Once learned, the spell becomes a permanent part of their arsenal.
Provide them with more spellbooks to recharge or expand their magic repertoire.

⚙️ Configuration
EnableSpellCharges = true // If false, NPCs have unlimited casts PlayerOnlyLearning = true // If false, NPCs can learn from any found spellbook AutonomousSpellbookReading = false // If true, NPCs may read during idle time (5% chance per turn) BulkLearning = true // If false, NPCs consume one charge per read AllowCursedSpellbooks = true // If true, NPCs can read cursed books

⚠️ Warning

This mod alters game balance — NPCs were never originally intended to learn spells this freely.

If you like the work I do, please support me with a small tip on https://ko-fi.com/catalystwyrm

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.