Files
roll20-character-sheets-tester/Symbaroum/symbaroum.pug
T
Cassie Levett a4d79143b6 Symbaroum - Update Roll Template (#5601)
* Make the logo smaller

* Set theme jekyll-theme-time-machine

* Set theme jekyll-theme-time-machine

* update modifier popup

* Delete _config.yml
2019-10-28 13:33:54 -05:00

167 lines
7.1 KiB
Plaintext

//- OBJECTS
include src/pug/_objects.pug
//- MIXINS
include src/pug/_mixins.pug
input.tab(name="attr_page-number" type="hidden" value="1")
// PC SHEET
// =============================
.pc.grid
.grid.character-info
label(data-i18n-title="name" title="name")
input(name="attr_character-name" type="text")
span(data-i18n="name") Name
label(data-i18n-title="race" title="race")
input(name="attr_character-race" type="text")
span(data-i18n="race") race
label(data-i18n-title="occupation" title="occupation")
input(name="attr_character-occupation" type="text")
span(data-i18n="occupation") occupation
label(data-i18n-title="player" title="player")
input(name="attr_player-name" type="text")
span(data-i18n="player") player
label(data-i18n-title="experience-abbrv" title="exp")
input(name="attr_character-exp" type="number")
span(data-i18n="experience-abbrv") exp
label(data-i18n-title="unspent" title="unspent")
input(name="attr_character-expu" type="number")
span(data-i18n="unspent") unspent
.grid.character-quote
span.quote “
label(data-i18n-title="quote" title="quote")
input(data-i18n-placeholder="quote" name="attr_character-quote" placeholder="Quote" type="text")
span(data-i18n="quote") quote
span.quote “
.grid.character-shadow
label(data-i18n-title="shadow" title="shadow")
input(name="attr_character-shadow" type="text")
span(data-i18n="shadow") shadow
.grid.attributes
each val in attributeObject
- const attrName = val.toLowerCase();
input(name='attr_' + attrName max="15" min="5" type="number" value="10")
button(data-i18n=attrName name='roll_' + val + 'Check' type='roll' value='&{template:attrib}{{name=^{' + attrName + '}}} {{character=@{character-name}}} {{attribute=[[@{' + attrName + '}+(?{Modifier +/-|0})]]}} {{roll=[[1d20]]}}')
span=val
input(type="number" class="sheet-number-circle" disabled="true" value="(@{accurate}+@{cunning}+@{discreet}+@{persuasive}+@{quick}+@{resolute}+@{strong}+@{vigilant})" name="attr_attribute-total")
span(data-i18n="total") Total
.grid.tabs
// CHARACTER TAB
input.tab(data-i18n-title="title-character-sheet" name="attr_page-number" title="Character Sheet" type="radio" value="1" checked)
span.tab(data-i18n="character") Character
// TRAITS & ABILITIES TAB
input.tab(data-i18n-title="title-traits-and-abilities" name="attr_page-number" type="radio" title="Traits and Abilities" value="2")
span.tab(data-i18n="traits-and-abilities" value="3") Traits | Abilities
// RITUALS & POWERS TAB
input.tab(data-i18n-title="title-rituals-and-powers" name="attr_page-number" title="Rituals and Power" type="radio" value="3")
span.tab(data-i18n="rituals-and-powers") Rituals | Powers
// EQUIPMENT & BIO TAB
input.tab(data-i18n-title="title-equipment-group-and-friends" name="attr_page-number" title="Equipment, Group, and Friends" type="radio" value="4")
span.tab(data-i18n="equipment-and-biography") Equipment | Bio
.grid.toughness.tough-corr-row.section-pc1
h1.center(data-i18n="toughness") Toughness
label.center(data-i18n-title="current toughness input" title="current toughness input")
input.center(name="attr_toughness" title="@{toughness}" type="number" value="@{strong}")
span.center(data-i18n="current") Current
label.center(data-i18n-title="toughness maximum input" title="toughness maximum input")
input.center(min="10" name="attr_toughness_max" title="@{toughness_max}" type="number" value="10")
span.center(data-i18n="maximum-abbrv") Max
label.center(data-i18n-title="pain threshold display" title="pain threshold display")
input.center(name="attr_pain_threshold" title="@{pain_threshold}" type="number" value="ceil(@{strong}/2)" disabled="true")
span.center(data-i18n="pain-threshold-abbrv") Pain thresh.
.grid.corruption.tough-corr-row.section-pc1
h1.center(data-i18n="corruption") Corruption
button(data-i18n-title="title-choose-dice-and-roll" name="roll_corruption" title="Pick a dice value (to the right) and hit this button to roll" type="roll" value="/roll @{corruption-d} for Corruption...")
select(name="attr_corruption-d")
+diceSelect("d4")
label.center(data-i18n-title="corruption input" title="corruption input")
input.center(name="attr_corruption" min="0" title="@{corruption}" type="number" value="0")
span.center(data-i18n="temporary-abbrv") Temp.
label.center(data-i18n-title="permanent corruption input" title="permanent corruption input")
input.center(name="attr_corruption_permanent" min="0" title="@{corruption_permanent}" type="number" value="0")
span.center(data-i18n="permanent-abbrv") Perm.
label.center(data-i18n-title="corruption threshold" title="corruption threshold")
input.center(name="attr_corruption_threshold" title="@{corruption_threshold}" type="number" value="ceil(@{resolute}/2)" disabled="true")
span.center(data-i18n="threshold") Threshold
.grid.attacks.section-pc1
.grid.section-header
h1(data-i18n="attacks") Attacks
h2.center.background-color(data-i18n="bonuses-and-advantages") Bonuses/Disadvantages
h3.center(data-i18n="roll") Roll
h3(data-i18n="weapon-or-power") Weapon or Power
each val in ["Attribute", "Damage", "Quality"]
- const h3Name = val.toLowerCase();
h3.center(data-i18n=h3Name)=val
each val in ["Damage", "Roll", "Attack"]
- const h3Name = val.toLowerCase();
h3.center.background-color(data-i18n=h3Name)=val
.grid.section-body
+weapon()
fieldset.repeating_weapons
.grid.section-body
+weapon()
.grid.defense.section-pc1
.grid.section-header
h1(data-i18n="defenses") Defenses
h2.center.background-color(data-i18n="bonuses-and-advantages") Bonuses/Disadvantages
h3.center(data-i18n="roll") Roll
h3(data-i18n="armor-or-power") Armor or Power
each val in ["Impede", "Attribute", "Negation", "Quality"]
- const h3Name = val.toLowerCase();
h3.center(data-i18n=h3Name)=val
each val in ["Damage", "Roll", "Defense"]
- const h3Name = val.toLowerCase();
h3.center.background-color(data-i18n=h3Name)=val
.grid.section-body
+defense()
fieldset.repeating_armor
.grid.section-body
+defense()
.section-pc2
.left-side
.grid.traits
.grid.section-header
h1(data-i18n="traits") Traits
.grid.section-body
+traitAbil("trait")
fieldset.repeating_trait
.grid.section-body
+traitAbil("trait")
.grid.boon
.grid.section-header
h1(data-i18n="boons") boons
.grid.section-body
+boonBurden("boon")
fieldset.repeating_boon
.grid.section-body
+boonBurden("boon")
.grid.burdens
.grid.section-header
h1(data-i18n="burdens") Burdens
.grid.section-body
+boonBurden("burden")
fieldset.repeating_burdens
.grid.section-body
+boonBurden("burden")
.right-side
.grid.abilities
.grid.section-header
h1(data-i18n="abilities") Abilities
.grid.section-body
+traitAbil("ability")
fieldset.repeating_abilities
.grid.section-body
+traitAbil("ability")
//- Old HTML BODY
include src/pug/oldsymbaroum.html
include src/pug/oldpage4.html
include src/pug/oldrolltemplate.html
include src/pug/oldscripts.html
//- Old HTML TABS
include src/pug/oldtabs.html