Files
roll20-character-sheets-tester/Shadowrun4thEdition/src/pug/_rolltemplates.pug
T
Cassie Levett 817909b313 Shadowrun 4th Edition v1 (#6160)
* initial upload

* save 4e start

* saving

* save color updates

* remove limits

* update the colors

* save changes

* begin refactoring names

* fix attribute changes

* save progress. commlinks added

* move attrs to match hero lab

* hide the other sheets until they are converted

* fix translation keys

* update drain, update roll template

* make d6 explode

* save css upates

* move stuff around, fix primary weapons, add skills, add program buttons

* add spec to programs

* save shadowrun progress

* fix primary bug

* update force in npc buttons

* remove unit tests

* add to core ratings

* save preview images
2020-04-13 10:36:51 -07:00

55 lines
1.6 KiB
Plaintext

.rolltemplates
rolltemplate.sheet-rolltemplate-rolls
.sheet-template-container
//- Display a header on the template -
.sheet-template-header
| {{#header}}
h1 {{header}}
| {{/header}}
| {{#base}}
span {{base}}
| {{/base}}
| {{#rollLess() wound 0}}
span ♦
span(data-i18n="wounds")
| {{/rollLess() wound 0}}
| {{#rollLess() mod 0}}
span ♦
span(data-i18n="modifier")
| {{/rollLess() mod 0}}
| {{#rollGreater() mod 0}}
span ♦
span(data-i18n="modifier")
| {{/rollGreater() mod 0}}
| {{#rollGreater() edge 0}}
span ♦
span(data-i18n="edge")
| {{/rollGreater() edge 0}}
//- Display the dice roll in the template -
.sheet-template-body
| {{#dice}}
.sheet-template-row
span.inlinerollresult {{dice}}
| {{/dice}}
//- Display a description. This is great for text included with a roll -
| {{#desc}}
.sheet-template-row
span.sheet-template-desc
| {{desc}}
| {{#rollGreater() rea 0}}
span ,
span(data-i18n="reach")
| {{rea}}
| {{/rollGreater() rea 0}}
| {{#rollGreater() drain 1}}
span ,
span(data-i18n="drain")
| {{drain}}
| {{/rollGreater() drain 1}}
| {{#rollLess() drain 1}}
span ,
span(data-i18n="drain-2")
| {{drain}}
| {{/rollLess() drain 1}}
| {{/desc}}