Elin
Not enough ratings
Tome of Memory Loss
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
492.613 KB
30 Aug @ 11:43pm
5 Sep @ 12:55am
9 Change Notes ( view )

Subscribe to download
Tome of Memory Loss

Description
Manage spells for yourself and your NPCs with the mystical Tome of Memory Loss.

can be spawn with: spawn tome_memory_loss

NOTE: This mod depends on CWL (Nightly or Stable, but not both) and YK Framework:
- https://gtm.steamproxy.vip/workshop/filedetails/?id=3400020855

How to Use:
- Read the tome: Manage your own spells
- Hold tome + middle-click NPC: Manage their spells

Note: Giving the book as a gift to NPC has no effect

- Buy tome from Nino's general store

UPDATE: new default configurations
- PreventEnemyRemoval = true - Blocks spell/ability removal from hostile NPCs
- PreventEnemyMenuAccess = true - Shows menu option but provides flavor text refusal for enemies

What You Can Do:
- Remove unwanted spells from anyone (including yourself)
- Add new spells (optional, disabled by default)

Settings (BepInEx config):
- EnableSpellAddition: Allow adding spells (default: off)
- EnableMiddleClickMenu: Always show middle-click option (default: off)
- AutoCloseAfterRemoval: Close UI after removing (default: on)
- TomeCharges: Number of spell operations per tome (default: 7, -1 = unlimited)
- RandomCharges: Whether tome charges are random (default: on)

Tome Charge Examples:
• TomeCharges=7, RandomCharges=on → Each tome has 1-7 random charges
• TomeCharges=10, RandomCharges=off → All tomes have exactly 10 charges
• TomeCharges=-1 → Unlimited spell operations, no charges consumed
• Higher values = more uses per tome before it crumbles to dust

Pairs great with my NPC Spell Learning mod:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3557997205

Requires CWL (Custom Whatever Loader) for the custom item.
35 Comments
grueshanker  [author] 15 hours ago 
@Shinshi

AWESOME,

as always, thank you for testing and helping the mod improve :)
Shinshi LolitaLover 23 hours ago 
Mod works collectry in my Elin, too! Thank you very much!!
grueshanker  [author] 5 Sep @ 12:56am 
Updated with 2 new default option:
- PreventEnemyRemoval = true - Blocks spell/ability removal from hostile NPCs
- PreventEnemyMenuAccess = true - Shows menu option but provides flavor text refusal for enemies

Increased cost by ~10k value (~9 gold bar in my game after all calculations). Can set this in the Excel sheet
grueshanker  [author] 4 Sep @ 11:42pm 
@Virban

AWESOME,

thanks so much for testing and confirming :))
Virban 4 Sep @ 11:39pm 
i have tried the new update on Melilith and everything worked like intended. I tried changing maps, reloading, sleeping , rebooting the game completely +all of that while hosting. The deleted spell didnt reappear. Thank you very much for your hard work!
grueshanker  [author] 4 Sep @ 6:35pm 
@Virban @Shinshi

I couldn't replicate the issue by moving areas or sleeping, but I could replicate it by:
1. Having NPCs read spellbooks, OR
2. Save and reload

Both triggered the same underlying problem where the game rebuilds ability lists from original character data.

To try to fix, I changed the mod to track removed abilities directly on each character using the game's save system instead of temporary memory. please test (might need to unsubscribe/resubscribe) and let me know if it works
grueshanker  [author] 4 Sep @ 5:29pm 
thanks for finding this bug guys! implementation is quite new, I will look into fixing this after determining behavior
Virban 4 Sep @ 12:37pm 
Hi. Awesome mod i was looking for something like this! Thank you for this!
And to add to Shinshi i had the same happen with Melilith.She remembers innate spells after a map change
Shinshi LolitaLover 4 Sep @ 6:39am 
OMG,when player sleep and wake or move map, GK remembers her forgotton spell...
Shinshi LolitaLover 4 Sep @ 1:56am 
Great!! 素晴らしい!!(in japanese,means wonderful)
Thank you for patiently test.
Now WE can edit spells and abilities completely at our disposal.
Your work will saves a lot of adventurers in North Tyris!!