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 .
×
Create a free account

[5e Community] Freetext output manipulation

Hey Guys,  Im using the below as a token macro to provide details on the monsters spellcasting trait: /w GM &{template:5eDefault} {{title=Spellcasting}} {{subheader=@{Selected|Token_Name}}} {{subheaderright=Trait}} {{freetext=The goblin is a 3rd-level spellcaster. Its spellcasting ability is Wisdom (spell save DC xx, +x to hit with spell attacks). The Goblin has the following spells prepared: **Cantrips (at will):** *spell, spell, spell, spell* **1st level (4 slots):** *spell, spell, spell, spell* **2nd level (3 slots):** *spell, spell, spell, spell*}} Perfectly usable as is, however I was wondering if there was anyway to start new lines for each spell level - cantrip, 1st, 2nd. I've also tried the following: /w GM &{template:5eDefault} {{title=Spellcasting}} {{subheader=@{Selected|Token_Name}}} {{subheaderright=Trait}} {{outputall=1}} {{freetext=The goblin is a 3rd-level spellcaster. Its spellcasting ability is Wisdom (spell save DC xx, +x to hit with spell attacks). The Goblin has the following spells prepared:}} {{Cantrips (at will):= *spell, spell, spell, spell*}} {{1st level (4 slots):= *spell, spell, spell, spell*}} {{2nd level (3 slots):= *spell, spell, spell, spell*}} The first option I think works better, but this could also work, if the repeated freetext was not displayed. I've been searching around the forums for hours and can't seem to find solutions. I'm guessing there isn't a way to do what I want (yet), but thought I'd ask to be sure. Thanks, Jeremy
As you have found outputall and freetext don't play well together. One way to deal with the spell lists for NPCs is simply you add a line break in the freetext area. /w GM &{template:5eDefault} {{title=Spellcasting}} {{subheader=@{Selected|Token_Name}}} {{subheaderright=Trait}} {{freetext=The goblin is a 3rd-level spellcaster. Its spellcasting ability is Wisdom (spell save DC xx, +x to hit with spell attacks). The Goblin has the following spells prepared: **Cantrips (at will):** *spell, spell, spell, spell* **1st level (4 slots):** *spell, spell, spell, spell* **2nd level (3 slots):** *spell, spell, spell, spell*}} As long as the line breaks are within an output field the roll template will be fine. To save save time I usually just type spellcasting info into the monster traits section of the NPC character sheet and use this simple macro to output them. /w gm &{template:5eDefault} {{title=@{selected|Character_Name}}} {{freetextname=Traits}} {{freetext=@{selected|NPC_Traits}}} It looks like this Hope that helps!
Thanks Ed, a solution so simple, I somehow didn't think to try it.