FG Spreadshirt Swag
  1. #1

    Parser Table Functionality

    Can someone explain how the table functionality works in the 4e Parser? Specifically, I'd like to see an example file that contains valid Col and Row entries (excerpt from the Parser Document.txt file shown below).

    Col;{number},{label}
    Row;{from},{to},{result},{resultn}

  2. #2
    Zeus's Avatar
    Join Date
    Mar 2009
    Location
    Olympus
    Posts
    2,658
    Blog Entries
    2
    Try the following format. Key thing to remember is to ensure the Row statements contain the correct number of column data. Oh and the delimiter is a semi-colon.

    E.g. 3 column 3 row table

    ZTable
    Name;<Name of Table>
    Description;<Description of Table>
    Col;1;<Name of Column>
    Col;2;<Name of Column>
    Col;3;<Name of Column>
    Row;1;3;<Row 1 Col 1 Data>;<Row 1 Col 2 Data>;<Row 1 Col 3 Data>
    Row;4;6;<Row 2 Col 1 Data>;<Row 2 Col 2 Data>;<Row 2 Col 3 Data>
    Row;7;9;<Row 3 Col 1 Data>;<Row 3 Col 2 Data>;<Row 3 Col 3 Data>

    An empty row would look like:

    Row;10-10;;;

    Hope that helps.
    FG Project Development
    Next Project(s)*: Starfinder v1.2 Starship Combat

    Current Project:
    Starfinder v1.1 - Character Starships
    Completed Projects: Starfinder Ruleset v1.0, Starfinder Core Rulebook, Alien Archive, Paizo Pathfinder Official Theme, D&D 5E data updates
    * All fluid by nature and therefore subject to change.

  3. #3
    Thanks for the example. Heh, I just noticed that my example has a semi-colon.

  4. #4
    In Version 118, I have found that the parser struggles with some of the tables in the equipment section of the Dark Sun Campaign setting. A little bit random, and I edited the output so that I could parse it alright, but it doesn't know how to display them properly unfortunately.
    FGU Ultimate License/FGC Standard
    Timezone: Australian EST (UTC +10)
    Systems: Prefer DnD 5e as GM or player.
    FKA Chezcaliente

  5. #5
    Zeus's Avatar
    Join Date
    Mar 2009
    Location
    Olympus
    Posts
    2,658
    Blog Entries
    2
    Quote Originally Posted by chezcaliente
    In Version 118, I have found that the parser struggles with some of the tables in the equipment section of the Dark Sun Campaign setting. A little bit random, and I edited the output so that I could parse it alright, but it doesn't know how to display them properly unfortunately.
    chezcaliente- I am not sure I am following you correctly. Could you provide an example please.
    FG Project Development
    Next Project(s)*: Starfinder v1.2 Starship Combat

    Current Project:
    Starfinder v1.1 - Character Starships
    Completed Projects: Starfinder Ruleset v1.0, Starfinder Core Rulebook, Alien Archive, Paizo Pathfinder Official Theme, D&D 5E data updates
    * All fluid by nature and therefore subject to change.

  6. #6
    It basically affects Mounts and Cages in the Dark Sun equip.txt

    I've copied one of them below, the section in red is what I added to close off all the open tags just to at least get it to parse, but I imagine something different is required to make it appear as a pretty table in game.


    ZHead; Mount
    ZDesc; <p>A crodlu is a large, flightless drake with a beak and weak, clawed forelimbs that can be used to manipulate small objects. It is a tough and aggressive hunter in the wild. When trained, it makes an excellent war mount. </p>
    <p>
    <table><tr><th>
    Speed per Hour</th><th>Speed per Day</th><th>Normal Load (lb.)</th><th>Heavy Load (lb.)</th><th>Push/Drag (lb.)</th></tr>
    <tr><td>4 miles</td><td>40 miles</td><td>190</td><td>380</td><td>950</td></tr></table></p>
    I understand I could probably replace it manually with the ZTable format above, but my main point was that the parser itself wasn't recognising the tables correctly to start with.
    Last edited by someoneinatree; November 21st, 2010 at 23:02.
    FGU Ultimate License/FGC Standard
    Timezone: Australian EST (UTC +10)
    Systems: Prefer DnD 5e as GM or player.
    FKA Chezcaliente

  7. #7
    Quote Originally Posted by chezcaliente
    It basically affects Mounts and Cages in the Dark Sun equip.txt

    I've copied one of them below, the section in red is what I added to close off all the open tags just to at least get it to parse, but I imagine something different is required to make it appear as a pretty table in game.




    I understand I could probably replace it manually with the ZTable format above, but my main point was that the parser itself wasn't recognising the tables correctly to start with.
    I have noticed the same thing. Secondly it doesn't recognize some of the weapons as weapons but only as normal equipment. Thirdly a lot of equipment form Eberron and some other sources have also been imported. I have found the following in Equip.txt (easily fixed by hand, but it might help with it debugging. I have also removed all of the descriptive lines. I don't want to get into copyright problems.):

    ZHead; Superior two-handed melee weapon
    ZItem; Greatspear; 25 gp; 8 lb.
    ZDesc; ;

    ZHead; Superior two-handed melee weapon
    ZItem; Mordenkrad; 30 gp; 12 lb.
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double axe; 40 gp; 15 lb.
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double flail; 30 gp; 11 lb.
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double sword; 40 gp; 9 lb.
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Urgrosh; 10 gp; 8 lb.
    ZDesc; ;

    ZHead; Superior two-handed ranged weapon
    ZItem; Greatbow; 30 gp; 5 lb.
    ZDesc; ;

    ZHead; Superior two-handed ranged weapon
    ZItem; Superior crossbow; 30 gp; 6 lb.
    ZDesc; ;

    ZHead; Superior one-handed melee weapon
    ZItem; Net; 20 gp; 6 lb.
    ZDesc; ;

    ZHead; Superior one-handed ranged weapon
    ZItem; Bola; 5 gp; 2 lb.
    ZDesc; ;

    ZHead; Superior two-handed ranged weapon
    ZItem; Blowgun; 5 gp; 2 lb.
    ZDesc; ;

    ZHead; Superior two-handed weapon
    ZItem; Garrote; 1 gp; 1 lb.
    ZDesc; ;

    ZHead; Superior one-handed melee weapon
    ZItem; Cutting Wheel; 10 gp; 1 lb.
    ZDesc; ;

    ZHead; Superior one-handed melee weapon
    ZItem; Drow Long Knife; 15 gp; 2 lb.
    ZDesc; ;

    ZHead; Superior one-handed melee weapon
    ZItem; Talenta Tangat; 20 gp; 8 lb.
    ZDesc; ;

    ZHead; Superior two-handed melee weapon
    ZItem; Talenta Sharrash; 30 gp; 10 lb.
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double Scimitar; 40 gp; 15 lb.
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Zulaat; 30 gp; 12 lb.
    ZDesc; ;

    ZHead; Superior one-handed ranged weapon
    ZItem; Talenta Boomerang; 5 gp; 1 lb.
    ZDesc; ;

    ZHead; Superior one-handed ranged weapon
    ZItem; Xen’drik Boomerang; 10 gp; 2 lb.
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double axe - Secondary end; ; -
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double flail - Secondary End; ; -
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double sword - Secondary end; ; -
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Urgrosh - Secondary end; ; -
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Zulaat - Secondary end; ; -
    ZDesc; ;

    ZHead; Superior double melee weapon
    ZItem; Double scimitar - Secondary end; ; -
    ZDesc; ;

  8. #8
    I just noticed those are all superior items. This might have something to do with it.

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in