PDA

View Full Version : Random Spellbook Generator 5E [Extension]



pr6i6e6st
January 13th, 2021, 18:46
Your party wanders into a mad wizard's library.

The labyrinthine stacks of books and tomes tower around them.

The wizard is at home here and delves into the piles in search of new spells.

Now you can provide that wizard more tomes than he could possibly carry!

With the Spellbook Generator 5E extension, you can quickly generate a tome with any number of spells, with any casting time, with any range, with any description!

Finally!

Rewards for the spell hungry wizard or the curious arcane trickster!

Watch it Here! (https://https://www.youtube.com/watch?v=SH1ov9mTG7k)

Get it on DMs Guild (https://www.dmsguild.com/product/343235/?affiliate_rem=878507)

Now on the Forge! (https://forge.fantasygrounds.com/shop/items/1593/view)

pr6i6e6st
January 27th, 2021, 17:52
Compatibility with the Random NPC Treasure Drops extension has been added. If you have both extensions, when you loot an NPC that has a "Spellcasting" trait that has "wizard" in its text, a spellbook item will be generated (or pulled from your library) filled with spells that NPC has.

Alanrockid
February 5th, 2021, 14:00
Great work! Your extensions are very useful and well done.

Here's some feedback:

- It would be cool to have a reset/clear button to spellbook generator.
- Spellbook generator filters are case sensitive, so "wizard" won't work, "Wizard" does.
- Spellbooks generated in loot have all spells repeated many times and are VERY expensive (11k+ GP)
- The automatic spell book loot generator works with the first npc only (or with the ones it worked on previous sessions).
- NPCs that are able to generate spellbooks, inherit the current spellbook description in the spellbook window (if any) forever. Even after you start a new session.

I've tested with FG Unity (4.0.10) with only this extension and "NPC Random Encounter Generator" enabled. Both updated to the last avaliable version (February 04, 2021).

pr6i6e6st
February 5th, 2021, 15:35
Great work! Your extensions are very useful and well done.

Here's some feedback:

- It would be cool to have a reset/clear button to spellbook generator.
- Spellbook generator filters are case sensitive, so "wizard" won't work, "Wizard" does.
- Spellbooks generated in loot have all spells repeated many times and are VERY expensive (11k+ GP)
- The automatic spell book loot generator works with the first npc only (or with the ones it worked on previous sessions).
- NPCs that are able to generate spellbooks, inherit the current spellbook description in the spellbook window (if any) forever. Even after you start a new session.

I've tested with FG Unity (4.0.10) with only this extension and "NPC Random Encounter Generator" enabled. Both updated to the last avaliable version (February 04, 2021).

Thank you.

So I can work on adding some clear/reset buttons.

I left case sensitivity so that custom made classes can be used without concern (say you wanted a spellbook of Paladin stuff but don’t want Anti-paladin spells in that list for example).

I’ll have to look into the issue of duplicate spell names in a list, I haven’t seen that yet but if I’m to make a wager, it’s from having duplicate spells in your library. Say from robs spell codings and the phb . If not, then it’s something in the code that’s missing.

I’ll alao have to look into it making only one spellbook. It will only make one for each similar named npc (Wizard 1 and Wizard 2 have the same spellbook) then it will reuse that spellbook from your library. But if it’s only making a spellbook for the Wizard while there’s an illusionist and an apprentice being looted too, that’s a problem I’ll have to fix.

I’ll also have to look into the description being added to the looted books, that wasn’t my intention, and I haven’t noticed that, but if it’s occurring, I’ll fix it.

Thanks for the feedback. Check for updates in the coming week.

Edit: I also noticed you said NPC Random Encounter Generator. There’s currently no compatibility with my Random Encounter Generator 5E extension, I’m assuming you mean the NPC Random Treasure Drops extension.

Alanrockid
February 5th, 2021, 16:40
What i mean with that is only the first compatible npc will generate a spellbook in that gaming session.

Ex.: If i launch FG and create an encounter with an Archmage, for example, it will generate a spellbook. However, any subsequent encounters with compatible NPCs in that session will not give you any spellbook.
If i quit FG and relaunch it, i can generate another encounter with a Drow Mage, for example, and it will generate a spellbook. Archmage also will work, because you have followed this rule in previous sessions, but any other compatible caster will not work, unless you restart again and repeat this steps for each one.

pr6i6e6st
February 5th, 2021, 16:56
What i mean with that is only the first compatible npc will generate a spellbook in that gaming session.

Ex.: If i launch FG and create an encounter with an Archmage, for example, it will generate a spellbook. However, any subsequent encounters with compatible NPCs in that session will not give you any spellbook.
If i quit FG and relaunch it, i can generate another encounter with a Drow Mage, for example, and it will generate a spellbook. Archmage also will work, because you have followed this rule in previous sessions, but any other compatible caster will not work, unless you restart again and repeat this steps for each one.

If it makes a NEW item, the new item pops open, but if it already exists, it should be just added to the list without it popping up. And only for spellcasters that have “wizard” in the traits description. Does the loot parcel not end up with all the spellbooks?

webdove
February 5th, 2021, 18:00
Another suggestion is to tag the spells with level and possibly class for those of us who can't remember all the spell titles, but want to understand the basic book contents. Also in my case I am running Dungeon of the Mad Mage and I had to generate 12 books with differing spans of level (e.g. 4x 1, 4x 1-3, 4x 1-6) and each level had to have 4 spells. I don't believe I could express that in the current parameter panel.

pr6i6e6st
February 5th, 2021, 18:40
Another suggestion is to tag the spells with level and possibly class for those of us who can't remember all the spell titles, but want to understand the basic book contents. Also in my case I am running Dungeon of the Mad Mage and I had to generate 12 books with differing spans of level (e.g. 4x 1, 4x 1-3, 4x 1-6) and each level had to have 4 spells. I don't believe I could express that in the current parameter panel.

That’s something I want to look into, making it so you can dictate number of spells per level to generate.

I’m not sure what you mean by the first part of your post or if that was directed to me or the other comment.

webdove
February 5th, 2021, 20:11
It would be nice in the preview window if it grouped the spells by level. I guess its unlikely that one would need to tag by class since multi class scrolls are unlikely to happen.

Alanrockid
February 5th, 2021, 23:07
If it makes a NEW item, the new item pops open, but if it already exists, it should be just added to the list without it popping up. And only for spellcasters that have “wizard” in the traits description. Does the loot parcel not end up with all the spellbooks?

No. It won't generate any spellbooks, neither in parcels or items. I'm aware of the pre requisites and i've made sure to select the right ones for testing (archmage, drow mage, conjurer...) It only work for the first npc entry looted in that session (and the ones from other sessions).
About the repeating spells, i believe you were right. It's repeating the spells because there are duplicates in different books. However, deactivate a module is not an option (invisibility, for example, is is phb, tasha's, srd and basic rules). Is that something else that could be done about it? (Also, the huge price tag was mainly due to the amount of repeated spells).

pr6i6e6st
February 5th, 2021, 23:56
No. It won't generate any spellbooks, neither in parcels or items. I'm aware of the pre requisites and i've made sure to select the right ones for testing (archmage, drow mage, conjurer...) It only work for the first npc entry looted in that session (and the ones from other sessions).
About the repeating spells, i believe you were right. It's repeating the spells because there are duplicates in different books. However, deactivate a module is not an option (invisibility, for example, is is phb, tasha's, srd and basic rules). Is that something else that could be done about it? (Also, the huge price tag was mainly due to the amount of repeated spells).

i just got home and tested this out, and you're right.

if interested in the technical details, there's a boolean value that starts blank. the code that makes the book will look to see if the book exists or not, if it does, it sets the spellbook node and says the boolean is true. Only if the boolean is blank will it make a new one but there was no code to clear that boolean. I'll have this fixed probably tonight or the next night. will look at the other things to make sure that's all right. This portion of the update will be in the NPC Random Treasure Drops extension when i push it out, as that's where this part of the code lies.

sorry for the inconvenience and the confusion, I'll get on this asap

pr6i6e6st
February 6th, 2021, 13:09
Random Spellbook Generator has been updated to fix the bugs discussed above. An update for the NPC Random Treasure Drops extension will be required for the functions that are compatible there.

Should be able to generate more than one spellbook per session.
Description shouldn’t take from the generator anymore.

Grey Mage
February 6th, 2021, 17:26
Any chance of getting a version of this that works with PF1e?

pr6i6e6st
February 6th, 2021, 17:28
Any chance of getting a version of this that works with PF1e?
If there was a place to sell it without problem, sure. As far as I’m aware though, drivethrurpg and dmsguild will not.

pr6i6e6st
February 12th, 2021, 05:01
Updated to include a selection for module to use for spells. Works with looting.

Adds an alternative option to generate spells for a random spellbook with a specific number of specific spell levels.

The name and the description of the random spellbook generator now function like story templates, where you can use formatted text, and [table names in square brackets].

An update for the npc Random Treasure Drops extension is available for this companion feature.