• Hello game master! Welcome to our growing community. Please take a moment to Register (top right button).

    If you use Campaign Logger, you can use the same login details - we've linked the app to this forum for secure and easy single sign-on for you.

    And please drop by the Introductions thread and say hi.

Feature Request: Bulk add rows in new generator UI

JohnnFour

Game Master
Staff member
Demonplague Author
Wizard of Adventure
Beta-Tester
Adventure Builder
Gamer Lifestyle
@mKlaumann @JochenL Can we make it as easy as copy & paste within the UI to populate individual tables?

I build my data sets in Excel or plain text file.

It would be ideal to create generators straight from there instead of building row by row in the UI, or switching to Code mode and adding the extra YAML/JSON code wrapped around each line.
 

ELF

Generator Sage
Staff member
Beta-Tester
Faster Combatant
This would be useful even for my oldskool ways. When working with large sets of data, I usually organize the data in a spreasheet, then copy it to a text editor where I run YAML conversion macros and then copy the table data to the actual generator file in another editor.

With this I could skip the text editor steps and move directly to testing. (y)
 

Kathorus

New member
In the mean-time, if you're in a spreadsheet you should be able to use concatenation to quickly wrap the lines with the needed characters.

For instance, let's say you have a small table you setup like this;

1551819909956.png

The formula, in Excel, is =CONCATENATE("{","""","m","""",": ", A2,", ","""","v","""",": ","""",B2,"""","},")

It's important to note, you have to be careful with all the quotes, but once you have the formula in you can save it. Then you just use the fill handle to quickly populate the rest of the cells. Then you can just copy the new values into the generator.

1551820623433.png

1551820691436.png
 

ELF

Generator Sage
Staff member
Beta-Tester
Faster Combatant
Neat! The conversion can be simplified by using the YAML format, which Campaign Logger also supports. If you are processing just the table entries, it's enough to slap a dash in front of each line. (Granted, if the line contains formatting, adding quotes is a good idea as well.)
 

JohnnFour

Game Master
Staff member
Demonplague Author
Wizard of Adventure
Beta-Tester
Adventure Builder
Gamer Lifestyle
Cool beans!
 
Top