Leakoo
SimsonianLibrary from patreon
SimsonianLibrary patreon

Spellbook Injector V2 (Public Release)

🕑 Added 2021-09-03 17:00:11 +0000 UTC

Comments

Simsonian Library

it seems to be working for me! It needed an update after the July 1 patch, but seemed fine after the Aug 19 patch.

Simsspeler 175

Is this mod still working with the 19 august 2025 patch? I heard that patch broke a lot of mods, including xml injectors. I really want to keep this mod when I update my game.

Simsonian Library

The Tomes that come with custom spells don't get automatically added to libraries (yet...I have been looking for a way...). You can find them in Build Buy if you use the 'bb.showhiddenobjects` cheat. They should also be findable in the bookshelves in the Magic Realm (search for tomes), but that's pretty hit and miss. I use the Classic RPG Spells mod along with this, and I can verify that it works. I still need to manually set up libraries with Tomes, but usually learn most of the spells through practicing or from Sages.

Armins Gize

It doesn't work for me i downloaded everything and also I cant find the book that I can turn others into vampires the book isn't in the library

Simsonian Library

The original author, r3m, started to add support for custom potions but never completed it. I've looked it over, and it's possible, but it's a bit more work than spells. There are more places to inject the new potion and loot. I plan to open source this mod, since it's sort of a community project, and then maybe someone will helpfully submit a pull request with the implementation. :) I just need to get some time to reorganize my gitlab projects to set up an open source group in gitlab. I include the python source code in all of my mods that use scripts, so if anyone wants to take a look at it, all of the code (both compiled and uncompiled) is within the .ts4script zip archive (you can open it with 'unzip').

plzsaysike

does this work for custom potions? i've tried asking around and havent been able to find any answers

Simsonian Library

Could you double check that you've updated the spellbook injector to the latest version (2.1) above that I released last week? That error mentioning 'HasTunableReference' is the one that the latest patch caused, and the latest 2.1 injector update fixes.

meitho2

Hi. I've got an BE by the BetterExceptions Mod (TMEX) about this injector. I know that it doesn't mean this mod is broken or unusable per se but I thought it might be good to know for you if it's an error you should look into it. I don't know much about modding/coding and such things but I hope this is informative for you. :) The listed script mod failed to load and should be removed or updated. Failure: 'spellbook_injector/__init__' (spellbook_injector) cannot import name 'HasTunableReference' from 'sims4.tuning.tunable' (C:\Program Files\EA Games\The Sims 4\Data\Simulation\Gameplay\core.zip\sims4\tuning\tunable.pyc) (ImportError: cannot import name 'HasTunableReference' from 'sims4.tuning.tunable' (C:\Program Files\EA Games\The Sims 4\Data\Simulation\Gameplay\core.zip\sims4\tuning\tunable.pyc))

Simsonian Library

Hmm, it's not likely to have anything to do with this mod, since the tomes and all of the tuning for them are done by each spell author (or are built into the game). That's also not a function commonly overridden for a tome, so even custom tomes are probably using the stock 'put away' tuning code. That being said, I looked over the codepath that the game uses to put a book away, and I bet that the picker_interaction you mentioned is probably this one? "autonomous_ObjectPicker_PutAway_Books" it's used by the game to find a bookcase to put the books in. It's also the same interaction for both regular books and tomes. Totally wild guess, but I think it's possible that it could happen if it chose a bookcase to put a book in based on it having the 'BuyCatSS_Bookshelf' tag, but didn't have the required 'Put_Away_Books' interaction, I guess I could see this sort of error? If you have more details, in particular a python stack trace (like from MC Command's exception page, or the Better Exceptions 'more details' view), I could probably pinpoint this a little further. Are you using a custom bookcase? Does it happen in rooms even where you have a stock bookcase instead? That's about my only guess without a stack trace. Thanks for the feedback! If you can get a stack trace, I might be able to diagnose further.

zee

Hii, I have been having a problem for a while now where whenever a Sim needs to "put away" a magic tome they've been reading, it causes an animation error and resets the sim - leaving the tome on the floor. The exception I receive says there's a problem with "picker_interaction", with reason "", when I searched online for this problem, it suggested your fix would resolve an issue similar, but I've realised that I've had your file in my mods folder for a long time already. Sorry if this is out of your scope - but would you know why this is happening, and if I can fix it somehow? Thank youuu

Simsonian Library

Yes, this version is working. :) If you ever run into errors, let me know and I'll fix it. I use this mod myself all the time, but sometimes others catch things first.

UyTheo

Thank you for updating this! Is this the most recent one/working for current patch?


More Creators