Thread: 5E - Random Spellbook Generator
-
August 20th, 2021, 15:10 #1
5E - Random Spellbook Generator
Random Spellbook Generator
Extension for the 5E ruleset that adds the option of creating random spellbooks. The main use case is generating random loot for wizard PCs.
How
The "Items" window now has a "Spellbooks" button next to the Forge button.
The Random Spellbook window allows the DM to specify:
- a name for the spellbook;
- a way of generating a random spellbook name;
- spell selection preferences and weights;
- the number of spells per spell levels to select.
The theme used in this screenshot is SirMotte's Hearth: https://github.com/SirMotte/FGU-Theme-Hearth/releases
Ranked Spell Selection
When selecting spells, the generator will first shuffle the list of spells. It will then rank each spell according to the set of chosen preferences. If a spell matches the preference, the associated weight is added to the spell's rank. Ranked spells are then reverse sorted by rank and the target number of spells per spell level are added to the new spellbook.
Links
- Forge: https://forge.fantasygrounds.com/shop/items/189/view
- Ext releases: https://github.com/fxg42/random-spellbook/releases
- Source code: https://github.com/fxg42/random-spellbook
- SirMotte's Hearth theme: https://github.com/SirMotte/FGU-Theme-Hearth/releases
Why
For my second extension, I primarily wanted to learn how GUI programming works in FGU (windows, templates, anchors, etc) and starting a new campaign with a wizard PC gave me an excuse
Known Issues
- Conflicts with SilentRuin's excellent Equipped Effects Extension
Last edited by fxg42; August 22nd, 2021 at 14:33.
-
August 20th, 2021, 15:25 #2
-
August 20th, 2021, 15:32 #3
-
August 20th, 2021, 21:54 #4
Ooooh, very nice indeed!
My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
My GitHub: https://github.com/MeAndUnique
Buy me a coffee: https://ko-fi.com/meandunique
Discord: MeAndUnique#6805
-
August 20th, 2021, 22:01 #5
-
August 20th, 2021, 22:36 #6
Jolly Good
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
August 20th, 2021, 22:39 #7
-
August 21st, 2021, 12:03 #8
- Join Date
- Jan 2012
- Posts
- 189
Should this show up in extensions once added from FG Forge since I'm not seeing it after doing check for update?
Graphil
There are two secrets to life: 1) Don't tell everything you know...
-
August 21st, 2021, 13:07 #9
Thanks for the info! I changed some settings in the Forge regarding the extension type. Go ahead and try again. If it still doesn't show up, you might try the old-fashioned way and copy the ext file directly in the extensions folder.
-
August 21st, 2021, 13:18 #10
- Join Date
- Jan 2012
- Posts
- 189
The extension is downloading OK into the extensions folder. However under load campaign in the extensions area it is not showing up.
Graphil
There are two secrets to life: 1) Don't tell everything you know...
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks