Update 1.9:
The code was set to only recognize (%d+)-(%d+) I've tweaked it to (%d+)%s?-%s?(%d+). That deals with the spaces between dashes.
Printable View
Bit of a random question with regards to tables .. is there a way once you have imported them to make part of the each roll answer bold ?
I am creating a mod that rolls more than once on the same table , but the answers when generated in a template seem to display one after another ... i either want to be able to display each roll in the template on a different line or be able to bold a word to help show it from a different roll.
Hope that makes sense ?
Great extension .. has helped lots.
You can do a limited amount of formatting if you are outputing a table roll to a story entry. For example, you can use a limited set of HTML tags like these:
<b>Text in here will be bold</b>
<i>Text in here will be italic</i>
<u>text in here will be underlined</i>
<p>This will start a new paragraph</p>
example pic attached.
Attachment 27327
This is a life saver! I'm prepping to run Hot Springs Island and there are a TON of tables to build for it. Thank you so much for creating this!
I've updated it to work with FGU and FGC. I've sent a PM to contact me about it on Discord.
This is a LIFESAVER!!!!! I just imported a wild magic wand with 10,000 possibilities. It froze for 30 sec and bam!!!! It worked!!
Fair warning, last time I made a 10,000 table, it quickly crashed FG. Every time you load that table, it will use up a huge amount of memory. In my case, it quickly grew beyond the FG limit of 3.5Gb and caused a crash.
What I found worked with little to no performance impact was to divide it up into 101 tables. 1 table is the master table, it has 100 rows. Each row actually links to roll on another table. The other 100 tables are the actual data. Each of the 100 tables has 100 rows for a total of 10,000 entries. By breaking it up like this, I still got the full randomness of the 10,000 entries, but when I went to roll, it just had to load 2 tables of 100 each, the master, and whatever subtable it rolled. that had a negligible impact on performance or RAM. Just something to keep in mind.
cheers