Thread: 5E Random Treasure Generator
-
January 1st, 2020, 21:13 #31If 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
-
April 4th, 2020, 18:14 #32
In FGU, even though, I removed that sample table it keeps generating a new table by default each time I log in.
The random treasure generator also doesn't use the tables that I put in after deleting the sample table.
At log in there is an empty table that I have to click away.
I have a DMG.
Really cool extension, but unfortunately it doesn't like FGU 4.0.0 that muchLast edited by vaughnlannister; April 4th, 2020 at 18:16.
-
April 19th, 2020, 23:39 #33
If this ever gets updated for FGU, it would be highly appreciated. Must have extension that makes life oh so much easier.
Current Extension behavior in FGU 4.0.0:
The Table Group "Random Treasure Generator Extension" is created, but ignored no matter what tables inside are called (eg. CR 1-2, Challenge 02 - 03 aso.)
The Extension then successfully falls back to the DMG Loot Table for the corresponding CR, but only rolls for gold, dice result don't factor in.
Seems like the temporarily created loot-table has problems parsing the correct information.
Currently this extension does not work and the author was last active in December 2018. Chances are slim that this will get an update anytime soon.
Cheers
SirMotteLast edited by SirMotte; April 21st, 2020 at 12:56. Reason: Test Results
-
May 24th, 2020, 08:56 #34
- Join Date
- May 2019
- Posts
- 339
I can generate treasure, but keep having to delete the table to default to the DMG. The table gets recreated every time I restart FG. I delete Tables/Random/Treasure Generator Extension/Sample Random Treasure Table CR 0-99. I'm overlooking something, but what?
-
June 4th, 2020, 20:57 #35
- Join Date
- Jul 2018
- Posts
- 6
I was having the same issue with this extension only using the DMG tables in FGU.
So I looked at the gen_treas.lua and it seems to me that the importTreasureTables() function isn't properly finding the "Random Treasure Generator Extension" table category. So it creates it and adds the sample table.
It also fails to then find any tables in that category and thus won't use any other tables you've made. I'm using VeX's tables here:
https://www.dmsguild.com/product/269...antasy-Grounds
I'm looking at trying to fix this script to properly locate that table category and read in the tables that are there, I'll update if I manage to fix that.
But, in the meantime, I've found a quick fix: just edit the defaultTiers map of tables at the top of the importTreasureTables() function to default to the tables you want to use. I did this for VeX's tables like so:
function importTreasureTables()
local defaultTiers=
{{0,4, "CR 0-4"},
{5,10, "CR 5-10"},
{11,16, "CR 11-16"},
{17,99, "CR 17+"}};Last edited by mgummelt; June 4th, 2020 at 20:59.
-
June 4th, 2020, 21:40 #36
Last edited by SirMotte; June 4th, 2020 at 22:12.
I support ORC(L) and #opendnd!
Check out my Extensions and Materials for FGU!
Dark Theme: Sir Motte's Magnificent Darkness - Hearth Edition.
Custom GM Icon: Sir Motte's GM Icon Replacer.
Midjourney Art: AI generated images for my campaign.
-
June 4th, 2020, 22:03 #37
- Join Date
- Jul 2018
- Posts
- 6
So I did fix Olog's Random Treasure Generator in FGU with some lua edits and copying the VeX tables again inside the RTGE category. It works now, but it's kind of a weird fix.
I had to edit the .lua to treat the category return as a string, and I put in some debug prints to make sure it was working. It does find the category. But it wasn't finding the tables.
So then I had to make copies of the original four CR tables, right inside the category they were already in ("Random Treasure Generator Extension") and then it was able to find the tables.
A two-step fix, but it worked. I'm not entirely comfortable with it because I had to do more than just edit the lua. But even when I reverted to the original .lua with my copied tables, it didn't work. So I guess there are two issues here.
EDIT: also got this to work with VeX's tables, by copying them into the RTGE table category.Last edited by mgummelt; June 4th, 2020 at 22:43.
-
June 4th, 2020, 22:12 #38
Last edited by SirMotte; June 4th, 2020 at 22:45.
I support ORC(L) and #opendnd!
Check out my Extensions and Materials for FGU!
Dark Theme: Sir Motte's Magnificent Darkness - Hearth Edition.
Custom GM Icon: Sir Motte's GM Icon Replacer.
Midjourney Art: AI generated images for my campaign.
-
June 4th, 2020, 22:50 #39
- Join Date
- Jul 2018
- Posts
- 6
OOps, deleting this to use a proper attachment
Last edited by mgummelt; June 4th, 2020 at 22:53.
-
June 4th, 2020, 22:52 #40
- Join Date
- Jul 2018
- Posts
- 6
Sure, try it out, see if it works for you, too.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks