Great mod! If there was a forced passage of time, fade-to-black, or even animation of reading it would be one of those things that seem small but just completely save the experience in a weird way.
When I had this in combination with Live Another Life and Vokriinator Plus... every time I opened up my items it kept adding copies of Lesser Ward... the script bloat got so bad that in 2 minutes the file was at 7MB, I couldn't use CACO alchemy tables, iHarvest wouldn't trigger, and NPCs disappeared randomly.
All fixed when I removed Immersive Spell Tomes.
Here is my modlist (I'll keep it like this for a few days before updating it) https://modwat.ch/u/Webmetz/plugins
In order to learn the spell the aspiring mages dedicated focus renders the tome consumed... might give the mod a go, not sure if it bothers me enough that it disintegrates upon invoking its powers, isn't that immersive?
I really like this, I'll be using it a substitute to Better Spell Learning, as it's riddled with incompatibility issues.
Is there any chance you could also add a reading animation that causes time to pass on top of this effect that is universal to all spell tomes? (So that a patch wouldn't be required for every mod that adds new spells)
Not sure if you are shooting for full compatability with all mods, but if you are, Arthurius Magic (may be misspelled) uses a lot of books that are titled Forbidden Tome. Just figured I'd pass that on in case you wanted to update that.
So I've changed the code slightly. The book name check has been removed, and has been replaced with book.getSpell. So now, when a book consumption event occurs, if that book teaches a spell, it'll be added back to the inventory. I've tested this with the teleport spell books from some player mods for example and it works great, so it should also work just fine for Forbidden Tomes.
Would you mind if I saw the source code for your script? I won't release my version now that I have yours, but mine would have needed a patch for every single spell mod, so I'd love to see how your script checks for spell tome in the name.
He uses the SKSe stringutil.getname function from SKSE to check if the item has the "Spell Tome" in the name or not. If a normal book has that string in the name (for example "Spell Tome Locations in Skyrim" a book about unique spell tomes in the game) being read then it will duplicate too.
Ahh, interesting. So it cuts both ways. I suppose you could make an exception list in that case? But then you'd once again need a patch for every mod that adds a book with Spell Tome in the title. While that list would be smaller than a list of every spell tome, the mods you'd potentially need patches for goes from Spell Mods to Every Mod that Adds Books.
Not necessarily, for one, the string his mod is looking for could actually be "Spell Tome:", with a colon at the end, which would further refine results since "Spell Tome: Locations of Skyrim" doesn't make sense with a colon in there, but spell tomes all have that in them. And even if there are a few books out there with the words "Spell Tome:" in them that are not spell tomes, you don't actually need a compatibility patch for them, you could simply add them in an exclusion list in the script itself, so it wouldn't do anything if you didn't have a mod with such a book, but if you did, then the name of the book would be in the exclusion list and wouldn't be duplicated. After all how many books like that could be out there? unless someone deliberately sets out to make a 'fake spell tome' mod :P
Finally, and this is a bit overkill, a dual check system could be implemented, where the script could check for a keyword like "VendorItemSpellTome" that all spell-books have (afaik), and if the book you're reading doesn't have both "Spell Tome:" and that keyword then it won't be re-added. But again, that's overkill and not necessary. An in-script list with exclusions would suffice, and wouldn't even need a compatibility patch.
Actually I plan on releasing it under the MIT license, just trying to help make skyrim a little better :p With that said, I'll upload the source this weekend or today, or you can decompile it(I think).
Thank you all for the compatability suggestions. Just for full clarity, it checks the name first and only adds the book to the inventory if the book was removed via a consumption event, so reading one that's already read or dropping,etc shouldn't duplicate.
I was just thinking if there's a mod that does just this, lo and behold, it's the first thing I see when I open up the nexus. Thanks for reading my mind ;).
It always bugged me that you threw these thousand septim tomes away or used them as TP to wipe your butt when you were done with them. Or that there's somehow a spell-tome conspiracy that makes tomes desintegrate uppon use so mages will always have to buy a full-priced new copy instead of a discount second-hand one. (what are they, college textbooks?)
Just one redunant question though, I assume any mod that ads spell-tomes will work with this, not just vanilla Skyrim right?
Not a problem! It's always gotten on my nerves as well, so I had to make it. It should work with any spell tomes yes. Actually, it's checking if the book name contains "Spell Tome", so all that have that in the name will work.
18 comments
All fixed when I removed Immersive Spell Tomes.
Here is my modlist (I'll keep it like this for a few days before updating it)
https://modwat.ch/u/Webmetz/plugins
Is there any chance you could also add a reading animation that causes time to pass on top of this effect that is universal to all spell tomes? (So that a patch wouldn't be required for every mod that adds new spells)
Would you mind if I saw the source code for your script? I won't release my version now that I have yours, but mine would have needed a patch for every single spell mod, so I'd love to see how your script checks for spell tome in the name.
Finally, and this is a bit overkill, a dual check system could be implemented, where the script could check for a keyword like "VendorItemSpellTome" that all spell-books have (afaik), and if the book you're reading doesn't have both "Spell Tome:" and that keyword then it won't be re-added. But again, that's overkill and not necessary. An in-script list with exclusions would suffice, and wouldn't even need a compatibility patch.
It always bugged me that you threw these thousand septim tomes away or used them as TP to wipe your butt when you were done with them. Or that there's somehow a spell-tome conspiracy that makes tomes desintegrate uppon use so mages will always have to buy a full-priced new copy instead of a discount second-hand one. (what are they, college textbooks?)
Just one redunant question though, I assume any mod that ads spell-tomes will work with this, not just vanilla Skyrim right?
Thanks!