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

List Dice rolls separately

1530998278

Edited 1530998399
Patrick Gebhardt
Sheet Author
I have been asked if it is possible to list the dice rolls from a single test separately in the template. At the moment the button and roll template looks like this. The 3 relevant dice rolls which the should have a separate output in the roll template are marked bold. Please let me know if there is any way to realize this. Button: <button type="roll" value="@{output_option} &{template:DSA-Talente} {{name=Sinnesschärfe}} {{subtags=Körperlich}} {{Talent=[[ @{Sinnesschaerfe_FW} - { 1d20cs1cf20 - ([[@{Sinnesschaerfe_Eigenschaft1}]] + [[@{Sinnesschaerfe_Mod}]] + @{mod_option}) , 0d1}kh1 - { 1d20cs1cf20 - ([[@{Sinnesschaerfe_Eigenschaft2}]] + [[@{Sinnesschaerfe_Mod}]] + @{mod_option}) , 0d1}kh1- { 1d20cs1cf20 - ([[@{Sinnesschaerfe_Eigenschaft3}]] + [[@{Sinnesschaerfe_Mod}]] + @{mod_option}) , 0d1}kh1]]}} {{Modifikator=[[@{Sinnesschaerfe_Mod} + @{mod_option}]]}}"></button> Template: <rolltemplate class="sheet-rolltemplate-DSA-Talente">     <table>         <tr><th>{{name}}</th></tr>         <tr><td class="subheader">{{subtags}}</td></tr>         <tr class="arrow-container"><td><div class="arrow-right"></div></td></tr>         {{#rollGreater() Talent -1}}         <tr class="rowcolor"><td><span class="tcat">Ergebnis: </span>Gelungen</td></tr>         {{/rollGreater() Talent -1}}         {{#rollLess() Talent 0}}         <tr class="rowcolor"><td><span class="tcat">Ergebnis: </span>Mißlungen</td></tr>         {{/rollLess() Talent 0}}         <tr class="rowcolor"><td><span class="tcat">FP: </span>{{Talent}}</td></tr>         {{#rollBetween() Talent 0 3}}         <tr class="rowcolor"><td><span class="tcat">QS: </span>1</td></tr>         {{/rollBetween() Talent 0 3}}         {{#rollBetween() Talent 4 6}}         <tr class="rowcolor"><td><span class="tcat">QS: </span>2</td></tr>         {{/rollBetween() Talent 4 6}}         {{#rollBetween() Talent 7 9}}         <tr class="rowcolor"><td><span class="tcat">QS: </span>3</td></tr>         {{/rollBetween() Talent 7 9}}         {{#rollBetween() Talent 10 12}}         <tr class="rowcolor"><td><span class="tcat">QS: </span>4</td></tr>         {{/rollBetween() Talent 10 12}}         {{#rollBetween() Talent 13 15}}         <tr class="rowcolor"><td><span class="tcat">QS: </span>5</td></tr>         {{/rollBetween() Talent 13 15}}         {{#rollBetween() Talent 16 18}}         <tr class="rowcolor"><td><span class="tcat">QS: </span>6</td></tr>         {{/rollBetween() Talent 16 18}}         {{#rollBetween() Talent 19 21}}         <tr class="rowcolor"><td><span class="tcat">QS: </span>7</td></tr>         {{/rollBetween() Talent 19 21}}         {{#rollGreater() Modifikator 0}}         <tr class="rowcolor"><td><span class="tcat">Modifikator: </span>{{Modifikator}}</td></tr>         {{/rollGreater() Modifikator 0}}         {{#rollLess() Modifikator 0}}         <tr class="rowcolor"><td><span class="tcat">Modifikator: </span>{{Modifikator}}</td></tr>         {{/rollLess() Modifikator 0}}     </table> </rolltemplate>
1531008671
GiGs
Pro
Sheet Author
API Scripter
No, you cant do that with a rolltemplate. To display them as their own entry in the output, you'd need to give them their own element in the rolltemplate, but that would mean you cant then use them in the Talent roll. You're a pro user, so you might be able to achieve this with the Power Cards API script.
Is there then a possibility to mark them with a color when hovering over the existing output? Crits and Fumble are identified easy as they are green/red. Any way to give a color to all other results ?