CoreRPG/5E - Table Importer
So, I made this for my ruleset a while back because I was really not looking forward to typing in a ton of simple tables. This allows you to import the text of a table and each line will be a entry in the table. Like this.
https://i.imgur.com/uUJulQv.png
with the result of
https://i.imgur.com/D1Eovcp.png
1.5+ version adds support to use existing dice rolls in string. So, for example:
Code:
Staves With Dice
1-2 Mace
3 Command (Priest, Wizard)
4-5 Curing (Priest)
6 Magi (Wizard)
7 Power (Wizard)
8 Serpent (Priest)
9-10 Slinging (Priest)
11-12 Spear
13-14 Striking (Priest, Wizard)
15 Swarming Insects (Priest, Wizard)
16 Thunder & Lightning
17-18 Withering
19 Woodlands (Druid)
20 DM’s Choice
.... or ....
Staves Generated Dice
Mace
Command (Priest, Wizard)
Curing (Priest)
Magi (Wizard)
Power (Wizard)
Serpent (Priest)
Slinging (Priest)
Spear
Striking (Priest, Wizard)
Swarming Insects (Priest, Wizard)
Thunder & Lightning
Withering
Woodlands (Druid)
DM’s Choice
And they will import like this. It will use existing dice (assuming the format above matches) or it will generate it's own dice rolls based on line count.
https://i.imgur.com/UI0jGxJ.png
I mostly put this together as a extension because I saw Rob2e painfully, tediously doing tables on his stream that he could just copy/paste and it would be done with very little effort.
A few caveats.
- Each line will be an entry. If the line wrapped in the PDF you'll need to correct it before you click "IMPORT".
- It will assign a number to the entries based on how many lines there are. If you need varying ranges/etc you'll need to do that yourself.
update 1.1: first line will now be used as the table name. now a CoreRPG/5E module.
update 1.2: real support for CoreRPG/etc.
update 1.4: fix for AD&D Core DMs.
update 1.5: added support for parsing of existing rolls in string
update 1.6: add more string matching for dice and period (%d+%.?)
update 1.7: trims off spaces in front of and on tail end of each line in import box at process time
update 1.8: Will now split each line on 2 spaces or more and add a column for each one.
update 1.9: Recognize a wider range of dice text.
update 2.0: Updated to run under FGU.
update 2.1: Updated for non-2E/5E flavors of rulesets. CoreRPG+.
update 2.2: FGU tentative support.
Download here: