Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Format fonts in Recursive rollable table output.

I am running Call of Cthulhu. I have some macros set up to roll on a madness table. I am using the RecursiveTable API within that table to roll on a further table. Macro:  !rt &{template:callofcthulhu}{{name=A Bout of Madness}}{{title=Madness Gained}}{{roll=[[1t[Bouts-of-Madness-Real-Time]]]}} Example table entry:  Mania: The investigator develops a new mania of [[1t[Manias] ]] Whenever the result is a recursive roll the recursive output is of a different font and size as the original table Is there any way I can insert formatting at either the macro or table levels to equal out the formatting?
1791737973

Edited 1791738003
The Aaron
Roll20 Production Team
API Scripter
Hmm.  I tried to duplicate this in a fresh game and I'm seeing normal sizing.  Are you perhaps copying the names of the manias from some source with formatting, like a PDF or MS Word?  Those can copy hidden formatting that gets pasted along with the text.  Try creating a new table named Mania (after renaming the old one) and put one entry in it that you type directly and see if you get properly sized content.
Oh I hadn't thought about the formatting of the entries in the recursive table I'll check that.  How did you display the second screenshot? I can then compare what I have. 
Went back and checked the 'Manias' table. Did as you sugested, renamed it, created a new 'Manias' table and created one entry. The formatting issue was still present. I'm going to start from scratch and create the whole setup (macro -> table -> recursive table) bit by bit without any of the template formatting and then see at what point it all goes odd.
1791755112

Edited 1791755303
Hmm, no luck. So with both table created from scratch, both with a single entry typed in by hand. I removed the formatting from my macro so that it looked like this: !rt roll=[[1t[Bouts-of-Madness-Real-Time]]] The single entry in the  'Bouts-of-Madness-Real-Time' table is as follows Madness Madness [[1t[Manias]]] And the only entry in the 'Manias' table is as follows Testing Testing 123 Running the macro resolved the following Putting the formatting back in the macro like so: !rt &{template:callofcthulhu}{{roll=[[1t[Bouts-of-Madness-Real-Time]]]}} Resolves this: I then altered my macro so that it used the 'default' template and re-ran it and it cam back with this: Going back to my original macro and tables, altering that template so that is also 'default' resulted in this: So it looks like there is something going on with my 'callofcthulhu' template or some other setting I have is overriding or affecting it.
1791756444
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try running your game in a private browsing window, just in case there is interference from a browser extension or plug-in? Alternatively, try surrounding the second roll in a second set of square brackets? Madness Madness [[[[1t[Manias]]]]]
Thank you Keith.  I shall try both those ideas tomorrow and report back. 
1791757005
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try those extra square brackets elsewhere as well, like on the calling macro. I have not done much work with Recursive Tables, so I don't know how they interact with regular roll syntax.
I tried both of your suggestions Keith but neither worked. But...... I solved the issue by starting from scratch with a new game. What I did differently this time was I looked at what Mods I had installed and which ones I actually needed. I re-installed the ones that were needed one by one testing my macros after each one was installed. I then Transmogrified across all my objects bit by bit. First the maps, then the handouts, then the PCs etc. Again, testing the macros between imports. Everything came across and the formatting of the recursive tables rolls look great. Thank you both Aaron & Keith for assistance and suggestions . So for future reference, in case anyone else has the same issue, I had the following Mods originally installed: NoteLog, Search, TokenMod, VectorMath, MapChange, MatrixMath, PathMath, checkLightLevel, DynamicLightingTool, RecursiveTable and TableExport Now I only have the following: Search, TokenMod, MapChange and RecursiveTable . Honestly I'm not sure how or why any of the removed Mods would affect the format of recursive table rolls, but I'm listing them for completeness. I suspect completely starting from a fresh game fixed the issue and there was something else in my settings or some background thing had gone wonky.
1791822287
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I don't know how any of those scripts listed might have had an effect on the formatting of type in a roll template. Mysterious. But I'm glad you have it working!
1791829914
The Aaron
Roll20 Production Team
API Scripter
If you still have the broken game, do you mind PMing me a GM invite to it? I'd like to investigate what was happening.