Page 1 of 11 123 ... Last
  1. #1

    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.



    with the result of



    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.



    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.

    Download here:
    Attached Files Attached Files
    Last edited by celestian; March 12th, 2019 at 04:53.
    ---
    DM/Play: AD&D (any flavor)
    Coding the Official AD&D Ruleset

  2. #2

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    1,721
    Blog Entries
    7
    Nice work, I'll probably use this myself next time a project has a lot of tables!

    However, not to be "that guy" but rollable tables are a CoreRPG thing, not a 5E thing. Shame you limited the potential userbase like that...

  3. #3
    OMG! Called out by name! Hilarious.
    rob2e - Join me on Discord!
    Become a Patron!
    Ultimate License Holder (owner of ALL 5E WotC material, and much more)
    Time Zone: U.S. Pacific (UTC -8 or -7; Check Local Listings)
    Follow me on Twitter
    Come watch the Twitches... twitch.tv/rob2e
    Also my YouTube Channel
    My Dungeon Master's Guild Material

  4. #4
    Quote Originally Posted by Talyn View Post
    Nice work, I'll probably use this myself next time a project has a lot of tables!

    However, not to be "that guy" but rollable tables are a CoreRPG thing, not a 5E thing. Shame you limited the potential userbase like that...
    I actually did try to set it up for CoreRPG but I ran into some title template issues because I wrote it for 5E that I to lazy to fix. If someone can sort out the diffs I'll happily apply them so it can be CoreRPG/5E. I figured this would be a low use extension because it's a pretty specific need.
    ---
    DM/Play: AD&D (any flavor)
    Coding the Official AD&D Ruleset

  5. #5
    Quote Originally Posted by rob2e View Post
    OMG! Called out by name! Hilarious.
    Please don't take offense. I enjoy watching your stream and like your work in modules.

    One thing I will add to this thread is Rob had issues selecting text only in a list of items and numbers. In most PDF viewers you can press ALT while using select tool and it will let you select a column. Just exclude the numbers in the copy and you should be good.

    Lets you select like this.

    ---
    DM/Play: AD&D (any flavor)
    Coding the Official AD&D Ruleset

  6. #6
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,781
    Blog Entries
    1
    Celestian I do love your work!

    I have PMd you a quick and dirty hack for CoreRPG (well I did it for MoreCore but it works fine in CoreRPG too).
    Its not as pretty as yours but it works...

    Ive one suggestion after testing it out - it works beautifully btw.

    What about using line 1 as the table name...?
    Last edited by damned; October 26th, 2017 at 13:17.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  7. #7
    Quote Originally Posted by damned View Post
    Celestian I do love your work!

    I have PMd you a quick and dirty hack for CoreRPG (well I did it for MoreCore but it works fine in CoreRPG too).
    Its not as pretty as yours but it works...

    Ive one suggestion after testing it out - it works beautifully btw.

    What about using line 1 as the table name...?
    Thanks, I'll look at it this evening and get it applied.

    At one point I actually had that (used first line for title) but it seemed to slow me down more than just setting it from the table window. Lot of the tables I would copy in PDFs would have multi-line titles or alignment issues and I'd have to edit/fix them anyway.

    I'll look at re-adding it and let you guys play with it and see. Could be just me.
    ---
    DM/Play: AD&D (any flavor)
    Coding the Official AD&D Ruleset

  8. #8
    Update 1.1

    * Removed some debug output.
    * First line of text will be the title/name of the table.
    * Support for CoreRPG added (thanks damned for template resolution).

    Let me know if the first line of text being title is good/bad
    ---
    DM/Play: AD&D (any flavor)
    Coding the Official AD&D Ruleset

  9. #9
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,781
    Blog Entries
    1
    I just tested with a couple of CoreRPG rulesets.

    Suggestion - Id remove all the Ruleset tags so it can be used with Savage Worlds, Castles&Crusades, GURPS, Call of Cthulhu etc etc.
    Ill see if I can make it work with both 5e and CoreRPG as at the momment it is showing again without some elements (background, instructions) but the rest works.
    I do like it with it parsing the Table name

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  10. #10
    Myrdin Potter's Avatar
    Join Date
    Oct 2015
    Location
    East Bay, SF
    Posts
    1,659
    Blog Entries
    4
    After painfully importing many 100+ line tables, with many more in front of me, I cannot wait to try this.

    If you get bored, can you get around to writing a proper reference manual creator. :-D

    \o/
    Ultimate License. Running a 5e campaign blending together PoTA and SKT. Asks lots of questions. Mgpotter.com. PureVPN is a tested solution to run games when traveling. https://billing.purevpn.com/aff.php?aff=33044

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in