* Forbidden Lands v1.55 * Forbidden Lands v1.55 * Forbidden Lands v1.55 * Forbidden Lands v1.56 - fixed base dice being capped in the dice pool at "6" instead of "12".
2619 lines
198 KiB
HTML
2619 lines
198 KiB
HTML
<!--11/24/19' set sheet version manually with currentVersion in sheetworkers-->
|
|
<input type="hidden" name="attr_version" value="0" />
|
|
<!-- ADDED recalc checkbox to force sheet worker events. temp unhide for testing purposes-->
|
|
<input class="hidden" name="attr_recalc1" type="checkbox" />
|
|
|
|
<!--tabs-->
|
|
<input class="tab character" name="attr_tab" data-i18n-title="character" title="Character" type="radio" value="1" checked />
|
|
<input class="tab stronghold" name="attr_tab" data-i18n-title="stronghold" title="Stronghold" type="radio" value="2" />
|
|
<input class="tab dice_only" name="attr_tab" data-i18n-title="dice-only" title="Dice Only" type="radio" value="3" />
|
|
<input class="tab monster_only" name="attr_tab" data-i18n-title="monster" title="Monster" type="radio" value="4" />
|
|
<div class="logo"><img alt="Forbidden Lands" src="https://i.imgur.com/uf0H3XX.png" style="width: 45%;margin: -1% 0 2% 0;"></div>
|
|
|
|
<div class="wrapper tab-content character">
|
|
<!--announcements/updates-->
|
|
<input type="checkbox" class="announcements-show toggle-dice-only toggle-monster-only" name="attr_show_announcements" value="1" data-i18n-title="version-announcements" title="Sheet version and announcements" />
|
|
<span class="announcements-show toggle-dice-only toggle-monster-only" name="attr_version"> </span>
|
|
<div class="announcements toggle-dice-only toggle-monster-only">
|
|
<h3 data-i18n="latest-announcements">Latest Announcements</h3>
|
|
<span class="footer">11/24/19'</span>
|
|
<ol style="margin: 0 2em 0 2em; padding: 0 1em 0 3em;">
|
|
<span>v1.56</span>
|
|
<li>fixed a bug that capped Base dice in the dice pool at "6" instead of "12".</li>
|
|
</ol>
|
|
<br>
|
|
<input type="checkbox" class="announcements-older-show" name="attr_show_announcements_old" value="1" data-i18n-title="old-announcements" />
|
|
<span data-i18n-title="old-announcements"> </span>
|
|
<span class="announcements-older-show">
|
|
<ol>
|
|
<span>v1.55</span>
|
|
<li>fixed missing sheetworker translation code(weapon, spell, push query, etc.)</li>
|
|
<li>optimized sheetworker code(Thank you GiGs).</li>
|
|
<li>small adjustments to the roll template's layout.</li>
|
|
<span>v1.54</span>
|
|
<li>added total cost to Hirelings on the Stronghold page.</li>
|
|
<li>added better title text to all action rolls to remind users to use the 'Roll' button to roll the dice.</li>
|
|
<li>updated the dice pool with column colors for the types of dice and made the 'Roll' button more prominent.</li>
|
|
<li>fixed the sheet and roll template borders to display correctly in FF and Chrome.</li>
|
|
<li>added missing translation data for the roll template for Consumable rolls.</li>
|
|
<li>updated the wording used for the 'Push' button roll query and included translation data.</li>
|
|
<span>v1.53</span>
|
|
<li>added a new "Announcements" section (just click the version number upper right under FL logo). As new sheet versions are released, the announcements section will be displayed.</li>
|
|
<li>swapped Rating and Dmg column to better portray "Rating - Dmg = Total" Trying to prevent adding operators to the layout unless they are needed...?</li>
|
|
<li>added sub-totals for Gear, Weapons, Armor, and Coins Carried to the bottom of the Gear section.</li>
|
|
<li>added new action buttons to the Shield section for "Parry" and "Shove".</li>
|
|
<li>added Total to shield @{shield1_bonus_total}</li>
|
|
<li>added "Don" to shields. If unchecked, Shield Parry/Shove; gear dice = "0"</li>
|
|
<li>added a "Weight" and "Carried" fields for armor, shield, and weapons "Carried" selector includes "Yes", "No", or "Mount". (NOTE: these newly added attributes are set to not carried by default to prevent being included twice for encumbrance. Please verify that any Weapons, Armor, and Shield weight is only being included in whichever location works best for you.) No and Mount will remove the items weight from the Character's encumbrance. Items located on the mount should also be listed as Mount's Gear or as gear included with the new repeating Beasts section.</li>
|
|
<li>added Wt and Carr and Features to Weapons, Armor and Shield sections.</li>
|
|
<li>added a new repeating section for "Beasts" (pack animals) A beast's Carry is based on it's STR and the mounted condition. Encumbrance needs to be manually entered for any Item(s) weight of gear included in the Notes textarea.</li>
|
|
<li>added a Monster tab which includes an expanded Strength/Damage section, monster attacks, etc. Most sheet attributes are the same regardless if you are viewing the character or monster tab. To track a Monster's <b>current</b> Strength, use @{strength_total} for token bar settings. @{strength_total_max} is equal to @{strength} fyi: all four attributes are set similarity.</li>
|
|
<li>added Willpower checkboxes</li>
|
|
<li>small layout changes/tweaks to the sheet and roll templates</li>
|
|
</ol>
|
|
</span>
|
|
<input type="checkbox" class="announcements-show" name="attr_show_announcements" value="1" data-i18n-title="close-announcements" title="Close Announcements" style="margin: .5em -.75em 0 0;position: relative;" />
|
|
<span class="announcements-exit" data-i18n-title="close">*</span>
|
|
</div>
|
|
<div class="character-grid">
|
|
<div class="box toggle-dice-only character-attributes">
|
|
<!--Monster Stats-->
|
|
<div class="monster monster-stat1">
|
|
<span class="header monster-stats-box1">
|
|
<input class="input-number header-h1" type="text" name="attr_character_name" value="" title="@{character_name}" data-i18n-placeholder="monster-name" placeholder="Monster's Name/Type" />
|
|
</span>
|
|
<div class="column-header monster-stats-box2"><span data-i18n="movement">Movement</span></div>
|
|
<div class="column-header monster-stats-box3"><span data-i18n="type">Type</span></div>
|
|
<div class="column-header monster-stats-box4"></div>
|
|
<div class="column-header monster-stats-box5"><span data-i18n="armor-rating">Armor Rating</span></div>
|
|
<div class="column-header monster-stats-box6"><span data-i18n="type">Type</span></div>
|
|
<div class="column-header monster-stats-box7"><span data-i18n="damage-abbr">DMG</span></div>
|
|
<div class="column-header monster-stats-box8"><span data-i18n="current">Current</span></div>
|
|
<div class="column-header monster-stats-box9"></div>
|
|
|
|
<span class="monster-stats-box10">
|
|
<input class="input-number" type="text" name="attr_movement" value="1" title="@{movement}" />
|
|
</span>
|
|
<span class="monster-stats-box11">
|
|
<input class="input-number" type="text" name="attr_movement_type" data-i18n-placeholder="type" placeholder="type" title="@{movement_type}" />
|
|
</span>
|
|
<span class="monster-stats-box12"></span>
|
|
<span class="monster-stats-box13">
|
|
<input class="input-number" type="number" name="attr_armor1_bonus" value="0" min="0" title="@{armor1_bonus}" />
|
|
</span>
|
|
<span class="monster-stats-box14">
|
|
<input class="input-number" type="text" name="attr_armor1_name" data-i18n-placeholder="type" placeholder="type" title="@{armor1_name}" />
|
|
</span>
|
|
<span class="monster-stats-box15">
|
|
<input class="input-number" type="number" name="attr_armor1_damage" value="0" max="0" title="@{armor1_damage}">
|
|
</span>
|
|
<span class="monster-stats-box16">
|
|
<span class="input-span" name="attr_ar" value="0" title="@{ar}"></span>
|
|
</span>
|
|
<span class="monster-stats-box17">
|
|
<button type="action" name="act_armor-roll" data-i18n-title="update-dice-pool" data-i18n="armor" style="height: 2em ; width: 4em">Armor</button>
|
|
</span>
|
|
</div>
|
|
<div class="attributes-grid">
|
|
<!-- Broken Indicators -->
|
|
<input class="broken-str" type="hidden" name="attr_strength_total" />
|
|
<input class="broken-agi" type="hidden" name="attr_agility_total" />
|
|
<input class="broken-wit" type="hidden" name="attr_wits_total" />
|
|
<input class="broken-emp" type="hidden" name="attr_empathy_total" />
|
|
<div class="attributes-box1 toggle-monster-only" style="margin-top: 2px;">
|
|
<div class="attributes-box1 header">
|
|
<h1 data-i18n="attribute-u">ATTRIBUTES</h1>
|
|
</div>
|
|
</div>
|
|
<div class="attributes-box2"><span class="label broken-str" data-i18n="strength">Strength</span></div>
|
|
<div class="attributes-box3">
|
|
<input class="input-number broken-str" type="number" name="attr_strength" value="0" min="0" title="@{strength}" />
|
|
</div>
|
|
<div class="attributes-box4">
|
|
<input type="radio" name="attr_damage" value="0" style="margin: 4px 8px 0 2px;width: 0.85em;" data-i18n-title="no-damage" title="No Damage" checked />
|
|
<input class="skull" type="radio" name="attr_damage" value="1" title="1 @{damage}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_damage" value="2" title="2 @{damage}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_damage" value="3" title="3 @{damage}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_damage" value="4" title="4 @{damage}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_damage" value="5" title="5 @{damage}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_damage" value="6" title="6 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="7" title="7 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="8" title="8 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="9" title="9 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="10" title="10 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="11" title="11 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="12" title="12 @{damage}" /><span></span>
|
|
<!--force line break for 2nd row of skulls-->
|
|
<div class="monster" style="width: 102%;"></div>
|
|
<span class="monster" style="width: 21px;"></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="13" title="13 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="14" title="14 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="15" title="15 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="16" title="16 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="17" title="17 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="18" title="18 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="19" title="19 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="20" title="20 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="21" title="21 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="22" title="22 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="23" title="23 @{damage}" /><span></span>
|
|
<input class="skull monster" type="radio" name="attr_damage" value="24" title="24 @{damage}" /><span></span>
|
|
</div>
|
|
<div class="attributes-box5">
|
|
<span class="input-span broken-str" name="attr_strength_total" value="0" title="@{strength_total}"></span>
|
|
<input type="hidden" name="attr_strength_total_max" value="@{strength}" />
|
|
</div>
|
|
<div class="attributes-box6"><span class="label broken-agi" data-i18n="agility">Agility</span></div>
|
|
<div class="attributes-box7">
|
|
<input class="input-number broken-agi" type="number" name="attr_agility" value="0" min="0" title="@{agility}" />
|
|
</div>
|
|
<div class="attributes-box8">
|
|
<input type="radio" name="attr_fatigue" value="0" style="margin: 4px 8px 0 2px;width: 0.85em;" data-i18n-title="no-damage" title="No Damage" checked />
|
|
<input class="skull" type="radio" name="attr_fatigue" value="1" title="1 @{fatigue}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_fatigue" value="2" title="2 @{fatigue}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_fatigue" value="3" title="3 @{fatigue}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_fatigue" value="4" title="4 @{fatigue}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_fatigue" value="5" title="5 @{fatigue}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_fatigue" value="6" title="6 @{fatigue}" /><span></span>
|
|
</div>
|
|
<div class="attributes-box9">
|
|
<span class="input-span broken-agi" name="attr_agility_total" value="0" title="@{agility_total}"></span>
|
|
<input type="hidden" name="attr_agility_total_max" value="@{agility}" />
|
|
</div>
|
|
<div class="attributes-box10"><span class="label broken-wit" data-i18n="wits">Wits</span></div>
|
|
<div class="attributes-box11">
|
|
<input class="input-number broken-wit" type="number" name="attr_wits" value="0" min="0" title="@{wits}" />
|
|
</div>
|
|
<div class="attributes-box12">
|
|
<input type="radio" name="attr_confusion" value="0" style="margin: 4px 8px 0 2px;width: 0.85em;" data-i18n-title="no-damage" title="No Damage" checked />
|
|
<input class="skull" type="radio" name="attr_confusion" value="1" title="1 @{confusion}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_confusion" value="2" title="2 @{confusion}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_confusion" value="3" title="3 @{confusion}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_confusion" value="4" title="4 @{confusion}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_confusion" value="5" title="5 @{confusion}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_confusion" value="6" title="6 @{confusion}" /><span></span>
|
|
</div>
|
|
<div class="attributes-box13">
|
|
<span class="input-span broken-wit" name="attr_wits_total" value="0" title="@{wits_total}"></span>
|
|
<input type="hidden" name="attr_wits_total_max" value="@{wits}" />
|
|
</div>
|
|
<div class="attributes-box14"><span class="label broken-emp" data-i18n="empathy">Empathy</span></div>
|
|
<div class="attributes-box15">
|
|
<input class="input-number broken-emp" type="number" name="attr_empathy" value="0" min="0" title="@{empathy}" />
|
|
</div>
|
|
<div class="attributes-box16">
|
|
<input type="radio" name="attr_doubt" value="0" style="margin: 4px 8px 0 2px;width: 0.85em;" data-i18n-title="no-damage" title="No Damage" checked />
|
|
<input class="skull" type="radio" name="attr_doubt" value="1" title="1 @{doubt}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_doubt" value="2" title="2 @{doubt}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_doubt" value="3" title="3 @{doubt}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_doubt" value="4" title="4 @{doubt}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_doubt" value="5" title="5 @{doubt}" /><span></span>
|
|
<input class="skull" type="radio" name="attr_doubt" value="6" title="6 @{doubt}" /><span></span>
|
|
</div>
|
|
<div class="attributes-box17">
|
|
<span class="input-span broken-emp" name="attr_empathy_total" value="0" title="@{empathy_total}"></span>
|
|
<input type="hidden" name="attr_empathy_total_max" value="@{empathy}" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--monster attacks-->
|
|
<div class="box toggle-dice-only monster monster-attacks">
|
|
<div class="monster-attacks-grid">
|
|
<div class="monster-attacks-box header">
|
|
<h1 data-i18n="monster-attacks-u">MONSTER ATTACKS</h1>
|
|
</div>
|
|
<div class="monster-attacks-box1 column-header"></div>
|
|
<div class="monster-attacks-box2 column-header"></div>
|
|
<div class="monster-attacks-box3 column-header"><span data-i18n="name">Name</span></div>
|
|
<div class="monster-attacks-box4 column-header"><span data-i18n="base">Base</span></div>
|
|
<div class="monster-attacks-box5 column-header"><span data-i18n="damage-abbr">Dmg</span></div>
|
|
<div class="monster-attacks-box6 column-header"><span data-i18n="type">Type</span></div>
|
|
<div class="monster-attacks-box7 column-header"><span data-i18n="range">Range</span></div>
|
|
<div class="monster-attacks-box8 repeating-fields">
|
|
<fieldset class="repeating_monster">
|
|
<div class="monster-attacks-grid">
|
|
<input class="expand" type="checkbox" name="attr_expand" data-i18n-title="show-hide" title="show/hide" checked /><span></span>
|
|
<input class="monster-attacks-box1 counted" type="checkbox" name="attr_rep_counter" value="1" style="opacity:0; position:absolute; cursor:default; z-index: 1; width:0;" checked /><span></span>
|
|
<button class="monster-attacks-box2 roll-button" type="action" name="act_monster-attack-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice.">t</button>
|
|
<input class="monster-attacks-box3 input" type="text" name="attr_attack_name" value="" title="@{repeating_monster_$X_attack_name}" data-i18n-placeholder="name" placeholder="Name" />
|
|
<input class="monster-attacks-box4 input-number" type="text" name="attr_attack_dice" value="0" title="@{repeating_monster_$X_attack_dice}" />
|
|
<input class="monster-attacks-box5 input-number" type="text" name="attr_attack_damage" value="0" title="@{repeating_monster_$X_attack_damage}" />
|
|
<input class="monster-attacks-box6 input" type="text" name="attr_attack_features" value="" title="@{repeating_monster_$X_attack_features}">
|
|
<select class="monster-attacks-box7 input" name="attr_attack_range" title="@{repeating_monster_$X_attack_range}">
|
|
<option value="n/a" data-i18n="not-applicable-abbr">n/a</option>
|
|
<option value="Arm" selected="" data-i18n="arms-length-abbr">Arm's L.</option>
|
|
<option value="Near" data-i18n="near">Near</option>
|
|
<option value="Short" data-i18n="short">Short</option>
|
|
<option value="Long" data-i18n="long">Long</option>
|
|
</select>
|
|
<textarea class="monster-attacks-box8 input-textarea" name="attr_attack_description" title="@{repeating_monster_$X_attack_description}" data-i18n-placeholder="description" placeholder="description"></textarea>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-heading">
|
|
<div class="heading-grid">
|
|
<div class="heading-box1"><span class="label" data-i18n="kin">Kin</span></div>
|
|
<div class="heading-box2">
|
|
<input class="input" type="text" name="attr_kin" value="" title="@{kin}" />
|
|
</div>
|
|
<div class="heading-box3"><span class="label" data-i18n="name">Name</span></div>
|
|
<div class="heading-box4">
|
|
<input class="input" type="text" name="attr_character_name" value="" title="@{character_name}" />
|
|
</div>
|
|
<div class="heading-box5"><span class="label" data-i18n="profession">Profession</span></div>
|
|
<div class="heading-box6">
|
|
<input class="input" type="text" name="attr_profession" value="" title="@{profession}" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-details">
|
|
<div class="details-grid">
|
|
<div class="details-box1"><span class="label" data-i18n="pride">Pride</span></div>
|
|
<div class="details-box2">
|
|
<textarea class="input-textarea" name="attr_pride" title="@{pride}"></textarea>
|
|
</div>
|
|
<div class="details-box3"><span class="label" data-i18n="dark-secret">Dark Secret</span></div>
|
|
<div class="details-box4">
|
|
<textarea class="input-textarea" name="attr_dark_secret" title="@{dark_secret}"></textarea>
|
|
</div>
|
|
<div class="details-box5"><span class="label" data-i18n="age">Age</span></div>
|
|
<div class="details-box6">
|
|
<select name="attr_age" class="input" title="@{age}">
|
|
<option value="young" data-i18n="young-1" selected>Young</option>
|
|
<option value="adult" data-i18n="adult-2">Adult+1</option>
|
|
<option value="old" data-i18n="old-3">Old+2</option>
|
|
</select>
|
|
</div>
|
|
<div class="details-box7">
|
|
<button type="action" name="act_reputation-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice." data-i18n="reputation">Reputation</button>
|
|
</div>
|
|
<div class="details-box8">
|
|
<input class="input-number" type="number" name="attr_reputation" value="0" min="0" title="@{reputation}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-appearance">
|
|
<div class="appearance-grid">
|
|
<div class="appearance-box1 header">
|
|
<h1 data-i18n="appearance-u">APPEARANCE</h1>
|
|
</div>
|
|
<div class="appearance-box2"><span class="label" data-i18n="face">Face</span></div>
|
|
<div class="appearance-box3">
|
|
<textarea class="input-textarea" name="attr_face" title="@{face}"></textarea>
|
|
</div>
|
|
<div class="appearance-box4"><span class="label" data-i18n="body">Body</span></div>
|
|
<div class="appearance-box5">
|
|
<textarea class="input-textarea" name="attr_body" title="@{body}"></textarea>
|
|
</div>
|
|
<div class="appearance-box6"><span class="label" data-i18n="clothing">Clothing</span></div>
|
|
<div class="appearance-box7">
|
|
<textarea class="input-textarea" name="attr_clothing" title="@{clothing}"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-conditions">
|
|
<div class="conditions-grid">
|
|
<div class="conditions-box2">
|
|
<input class="input xbox conditions-hungry" type="checkbox" name="attr_hungry" value="1" title="@{hungry}" /><span></span>
|
|
</div>
|
|
<input class="hidden conditions-hungry" type="checkbox" name="attr_hungry" value="1" />
|
|
<div class="conditions-box3"><span class="header-h1 conditions-hungry" data-i18n="hungry">Hungry</span></div>
|
|
<div class="conditions-box4">
|
|
<input class="input xbox conditions-sleepy" type="checkbox" name="attr_sleepy" value="1" title="@{sleepy}" /><span></span>
|
|
</div>
|
|
<input class="hidden conditions-sleepy" type="checkbox" name="attr_sleepy" value="1" />
|
|
<div class="conditions-box5"><span class="header-h1 conditions-sleepy" data-i18n="sleepy">Sleepy</span></div>
|
|
<div class="conditions-box6">
|
|
<input class="input xbox conditions-thirsty" type="checkbox" name="attr_thirsty" value="1" title="@{thirsty}" /><span></span>
|
|
</div>
|
|
<input class="hidden conditions-thirsty" type="checkbox" name="attr_thirsty" value="1" />
|
|
<div class="conditions-box7"><span class="header-h1 conditions-thirsty" data-i18n="thirsty">Thirsty</span></div>
|
|
<div class="conditions-box8">
|
|
<input class="input xbox conditions-cold" type="checkbox" name="attr_cold" value="1" title="@{cold}" /><span></span>
|
|
</div>
|
|
<input class="hidden conditions-cold" type="checkbox" name="attr_cold" value="1" />
|
|
<div class="conditions-box9"><span class="header-h1 conditions-cold" data-i18n="cold">Cold</span></div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-injuries">
|
|
<div class="injuries-grid">
|
|
<div class="injuries-box1 header">
|
|
<h1 data-i18n="critical-u">CRITICAL INJURIES</h1>
|
|
</div>
|
|
<div class="injuries-box2 column-header"><span data-i18n="injury">Injury</span></div>
|
|
<div class="injuries-box3 column-header"><span data-i18n="lethal">Lethal</span></div>
|
|
<div class="injuries-box4 column-header"><span data-i18n="time-limit">Time Limit</span></div>
|
|
<div class="injuries-box5 column-header"><span data-i18n="effects">Effects</span></div>
|
|
<div class="injuries-box6 column-header"><span data-i18n="healing-time">Healing Time</span></div>
|
|
<div class="injuries-box7">
|
|
<fieldset class="repeating_injuries">
|
|
<div class="injuries-grid">
|
|
<input type="text" class="injuries-box8 input" name="attr_injury_name" value="" title="@{repeating_injuries_$X_injury_name}" />
|
|
<select class="injuries-box9 input" name="attr_injury_lethal" title="@{repeating_injuries_$X_injury_lethal}">
|
|
<option value="no" data-i18n="no" selected>No</option>
|
|
<option value="yes" data-i18n="yes">Yes</option>
|
|
<option value="yes -1" data-i18n="yes-1">Yes,-1</option>
|
|
<option value="n/a" data-i18n="not-applicable-abbr">n/a</option>
|
|
</select>
|
|
<input type="text" class="injuries-box10 input" name="attr_injury_time_limit" value="n/a" title="@{repeating_injuries_$X_injury_time_limit}" />
|
|
<input type="text" class="injuries-box11 input" name="attr_injury_effects" value="" title="@{repeating_injuries_$X_injury_effects}" />
|
|
<input type="text" class="injuries-box12 input" name="attr_injury_healing_time" value="n/a" title="@{repeating_injuries_$X_injury_healing_time}" />
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-weapons">
|
|
<div class="weapons-grid">
|
|
<div class="weapons-box header">
|
|
<h1 data-i18n="weapon-u">WEAPONS</h1>
|
|
</div>
|
|
<div class="weapons-box1 column-header"></div>
|
|
<div class="weapons-box2 column-header"><span data-i18n="name">Name</span></div>
|
|
<div class="weapons-box3 column-header"><span data-i18n="grip">Grip</span></div>
|
|
<div class="weapons-box4 column-header"><span data-i18n="skill">Skill</span></div>
|
|
<div class="weapons-box5 column-header"><span data-i18n="bonus">Bonus</span></div>
|
|
<div class="weapons-box6 column-header"><span data-i18n="max-abbr">Max</span></div>
|
|
<div class="weapons-box7 column-header"><span data-i18n="dmg-abbr">Dmg</span></div>
|
|
<div class="weapons-box8 column-header"><span data-i18n="range">Range</span></div>
|
|
<div class="weapons-box9 column-header"><span data-i18n="carried-abbr">Carr</span></div>
|
|
<div class="weapons-box10 column-header"><span data-i18n="weight-abbr">Wt</span></div>
|
|
<div class="weapons-box11 column-header"><span data-i18n="features">Features</span></div>
|
|
<div class="weapons-box12">
|
|
<fieldset class="repeating_weapons">
|
|
<div class="weapons-grid">
|
|
<button class="weapons-box13 roll-button" type="action" name="act_attack-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice.">t</button>
|
|
<input class="weapons-box14 input" type="text" name="attr_weapon_name" value="" title="@{repeating_weapons_$X_weapon_name}" />
|
|
<select class="weapons-box15 input" name="attr_weapon_grip" title="@{repeating_weapons_$X_weapon_grip}" title="@{repeating_weapons_$X_weapon_grip}">
|
|
<option data-i18n="not-applicable-abbr" value="n/a">n/a</option>
|
|
<option data-i18n="one-hand-abbr" value="1H" selected>1H</option>
|
|
<option data-i18n="two-hand-abbr" value="2H">2H</option>
|
|
</select>
|
|
<select class="weapons-box16 input" name="attr_weapon_skill" title="@{repeating_weapons_$X_weapon_skill}">
|
|
<option value="0" selected data-i18n="melee">Melee</option>
|
|
<option value="1" data-i18n="marksmanship-abbr">Marks.</option>
|
|
</select>
|
|
<select class="weapons-box17 input" name="attr_weapon_bonus" data-i18n-title="weapon-bonus" title="Record the weapon's current bonus. @{repeating_weapons_$X_weapon_bonus}">
|
|
<option value="0">0</option>
|
|
<option value="1" selected>1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
<option value="4">4</option>
|
|
<option value="5">5</option>
|
|
<option value="6">6</option>
|
|
<option value="7">7</option>
|
|
<option value="8">8</option>
|
|
<option value="9">9</option>
|
|
<option value="10">10</option>
|
|
<option value="11">11</option>
|
|
<option value="12">12</option>
|
|
</select>
|
|
<input class="weapons-box18 input-number" type="number" name="attr_weapon_bonus_max" value="1" min="0" data-i18n-title="weapon-bonus-max" title="Record the weapon's undamaged bonus. @{repeating_weapons_$X_weapon_bonus|max}" />
|
|
<input class="weapons-box19 input-number" type="number" name="attr_weapon_damage" value="1" min="0" title="@{repeating_weapons_$X_weapon_damage}" />
|
|
<select class="weapons-box20 input" name="attr_weapon_range" title="@{repeating_weapons_$X_weapon_range}">
|
|
<option value="Arm" selected data-i18n="arms-length-abbr">Arm's L.</option>
|
|
<option value="Near" data-i18n="near">Near</option>
|
|
<option value="Short" data-i18n="short">Short</option>
|
|
<option value="Long" data-i18n="long">Long</option>
|
|
</select>
|
|
<select class="weapons-box21 input" name="attr_weapon_carried" title="@{repeating_weapons_$X_weapon_carried}">
|
|
<option data-i18n="yes" value="1">Yes</option>
|
|
<option data-i18n="no" value="0" selected>No</option>
|
|
<option data-i18n="mount" value="0">Mount</option>
|
|
</select>
|
|
<select class="weapons-box22 input" name="attr_weapon_weight" title="@{repeating_weapons_$X_weapon_weight}">
|
|
<option data-i18n="tiny-abbr" value="0" selected>T</option>
|
|
<option data-i18n="light-abbr" value="0.5">L</option>
|
|
<option data-i18n="normal-abbr" value="1">N</option>
|
|
<option data-i18n="heavy-abbr" value="2">H</option>
|
|
</select>
|
|
<input class="weapons-box23 input" type="text" name="attr_weapon_features" value="" title="@{repeating_weapons_$X_weapon_features}" />
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box character-skill-dice-box">
|
|
<div class="box toggle-dice-only character-skills">
|
|
<div class="skills-grid" data-i18n-list="skills-list">
|
|
<span>
|
|
<div class="skills-box1 header">
|
|
<h1 data-i18n="skill-u">SKILLS</h1>
|
|
</div>
|
|
<div class="skills-box2 column-header"><span data-i18n="lvl-abbr">Lvl</span></div>
|
|
<div class="skills-box3 column-header"><span data-i18n="attr-abbr">Attr</span></div>
|
|
<div class="skills-box4 column-header"><span></span></div>
|
|
<div class="skills-box5 column-header"><span data-i18n="total">Total</span></div>
|
|
</span>
|
|
<span data-i18n-list-item="animal-handling">
|
|
<button type="action" name="act_dice_pool_animal_handling" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="animal-handling">Animal Handling</span><span data-i18n="empathy-abbr"> [emp]</span></button>
|
|
<input class="input-number" type="number" name="attr_animal_handling" value="0" min="0" title="@{animal_handling}" />
|
|
<input class="input-number" type="text" name="attr_empathy_total" value="0" title="@{empathy_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_animal_handling_total" value="0" title="@{animal_handling_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="crafting">
|
|
<button type="action" name="act_dice_pool_crafting" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="crafting">Crafting</span><span data-i18n="strength-abbr"> [str]</span></button>
|
|
<input class="input-number" type="number" name="attr_crafting" value="0" min="0" title="@{crafting}" />
|
|
<input class="input-number" type="text" name="attr_strength_total" value="0" title="@{strength_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_crafting_total" value="0" title="@{crafting_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="endurance">
|
|
<button type="action" name="act_dice_pool_endurance" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="endurance">Endurance</span><span data-i18n="strength-abbr"> [str]</span></button>
|
|
<input class="input-number" type="number" name="attr_endurance" value="0" min="0" title="@{endurance}" />
|
|
<input class="input-number" type="text" name="attr_strength_total" value="0" title="@{strength_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_endurance_total" value="0" title="@{endurance_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="healing">
|
|
<button type="action" name="act_dice_pool_healing" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="healing">Healing</span><span data-i18n="empathy-abbr"> [emp]</span></button>
|
|
<input class="input-number" type="number" name="attr_healing" value="0" min="0" title="@{healing}" />
|
|
<input class="input-number" type="text" name="attr_empathy_total" value="0" title="@{empathy_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_healing_total" value="0" title="@{healing_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="insight">
|
|
<button type="action" name="act_dice_pool_insight" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="insight">Insight</span><span data-i18n="wits-abbr"> [wit]</span></button>
|
|
<input class="input-number" type="number" name="attr_insight" value="0" min="0" title="@{insight}" />
|
|
<input class="input-number" type="text" name="attr_wits_total" value="0" title="@{wits_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_insight_total" value="0" title="@{insight_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="lore">
|
|
<button type="action" name="act_dice_pool_lore" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="lore">Lore</span><span data-i18n="wits-abbr"> [wit]</span></button>
|
|
<input class="input-number" type="number" name="attr_lore" value="0" min="0" title="@{lore}" />
|
|
<input class="input-number" type="text" name="attr_wits_total" value="0" title="@{wits_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_lore_total" value="0" title="@{lore_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="manipulation">
|
|
<button type="action" name="act_dice_pool_manipulation" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="manipulation">Manipulation</span><span data-i18n="empathy-abbr"> [emp]</span></button>
|
|
<input class="input-number" type="number" name="attr_manipulation" value="0" min="0" title="@{manipulation}" />
|
|
<input class="input-number" type="text" name="attr_empathy_total" value="0" title="@{empathy_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_manipulation_total" value="0" title="@{manipulation_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="marksmanship">
|
|
<button type="action" name="act_dice_pool_marksmanship" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="marksmanship">Marksmanship</span><span data-i18n="agility-abbr"> [agl]</span></button>
|
|
<input class="input-number" type="number" name="attr_marksmanship" value="0" min="0" title="@{marksmanship}" />
|
|
<input class="input-number" type="text" name="attr_agility_total" value="0" title="@{agility_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_marksmanship_total" value="0" title="@{marksmanship_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="melee">
|
|
<button type="action" name="act_dice_pool_melee" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="melee">Melee</span><span data-i18n="strength-abbr"> [str]</span></button>
|
|
<input class="input-number" type="number" name="attr_melee" value="0" min="0" title="@{melee}" />
|
|
<input class="input-number" type="text" name="attr_strength_total" value="0" title="@{strength_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_melee_total" value="0" title="@{melee_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="might">
|
|
<button type="action" name="act_dice_pool_might" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="might">Might</span><span data-i18n="strength-abbr"> [str]</span></button>
|
|
<input class="input-number" type="number" name="attr_might" value="0" min="0" title="@{might}" />
|
|
<input class="input-number" type="text" name="attr_strength_total" value="0" title="@{strength_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_might_total" value="0" title="@{might_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="move">
|
|
<button type="action" name="act_dice_pool_move" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="move">Move</span><span data-i18n="agility-abbr"> [agl]</span></button>
|
|
<input class="input-number" type="number" name="attr_move" value="0" min="0" title="@{move}" />
|
|
<input class="input-number" type="text" name="attr_agility_total" value="0" title="@{agility_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_move_total" value="0" title="@{move_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="performance">
|
|
<button type="action" name="act_dice_pool_performance" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="performance">Performance</span><span data-i18n="empathy-abbr"> [emp]</span></button>
|
|
<input class="input-number" type="number" name="attr_performance" value="0" min="0" title="@{performance}" />
|
|
<input class="input-number" type="text" name="attr_empathy_total" value="0" title="@{empathy_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_performance_total" value="0" title="@{performance_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="scouting">
|
|
<button type="action" name="act_dice_pool_scouting" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="scouting">Scouting</span><span data-i18n="wits-abbr"> [wit]</span></button>
|
|
<input class="input-number" type="number" name="attr_scouting" value="0" min="0" title="@{scouting}" />
|
|
<input class="input-number" type="text" name="attr_wits_total" value="0" title="@{wits_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_scouting_total" value="0" title="@{scouting_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="sleight-of-hand">
|
|
<button type="action" name="act_dice_pool_sleight_of_hand" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="sleight-of-hand">Sleight of Hand</span><span data-i18n="agility-abbr"> [agl]</span></button>
|
|
<input class="input-number" type="number" name="attr_sleight_of_hand" value="0" min="0" title="@{sleight_of_hand}" />
|
|
<input class="input-number" type="text" name="attr_agility_total" value="0" title="@{agility_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_sleight_of_hand_total" value="0" title="@{sleight_of_hand_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="stealth">
|
|
<button type="action" name="act_dice_pool_stealth" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="stealth">Stealth</span><span data-i18n="agility-abbr"> [agl]</span></button>
|
|
<input class="input-number" type="number" name="attr_stealth" value="0" min="0" title="@{stealth}" />
|
|
<input class="input-number" type="text" name="attr_agility_total" value="0" title="@{agility_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_stealth_total" value="0" title="@{stealth_total}" readonly />
|
|
</span>
|
|
<span data-i18n-list-item="survival">
|
|
<button type="action" name="act_dice_pool_survival" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice."><span data-i18n="survival">Survival</span><span data-i18n="wits-abbr"> [wit]</span></button>
|
|
<input class="input-number" type="number" name="attr_survival" value="0" min="0" title="@{survival}" />
|
|
<input class="input-number" type="text" name="attr_wits_total" value="0" title="@{wits_total}" readonly />
|
|
<span class="equal">=</span>
|
|
<input class="input-number" type="text" name="attr_survival_total" value="0" title="@{survival_total}" readonly />
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="box character-dice_pool">
|
|
<div class="dice_pool-grid">
|
|
<div class="dice-header dice_pool-box1 toggle-dice-only header">
|
|
<h1 data-i18n="dice-pool-u">DICE POOL</h1>
|
|
</div>
|
|
<div class="dice-base">
|
|
<div class="dice-base-header"><span class="label" data-i18n-title="base-attribute-dice" data-i18n="base">Base</span></div>
|
|
<input type="hidden" name="attr_attribute_die_twelve" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_eleven" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_ten" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_nine" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_eight" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_seven" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_six" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_five" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_four" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_three" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_two" value="1" />
|
|
<input type="hidden" name="attr_attribute_die_one" value="1" />
|
|
<div class="dice-base-col1">
|
|
<input type="radio" name="attr_attribute" value="6" class="dice-selection attribute" /><span title="6"></span>
|
|
<input type="radio" name="attr_attribute" value="5" class="dice-selection attribute" /><span title="5"></span>
|
|
<input type="radio" name="attr_attribute" value="4" class="dice-selection attribute" /><span title="4"></span>
|
|
<input type="radio" name="attr_attribute" value="3" class="dice-selection attribute" /><span title="3"></span>
|
|
<input type="radio" name="attr_attribute" value="2" class="dice-selection attribute" /><span title="2"></span>
|
|
<input type="radio" name="attr_attribute" value="1" class="dice-selection attribute" /><span title="1"></span>
|
|
<input type="radio" name="attr_attribute" value="0" class="dice-selection attribute" checked /><span title="0"></span>
|
|
</div>
|
|
<div class="dice-base-col2">
|
|
<input type="radio" name="attr_attribute" value="7" class="dice-selection attribute" /><span title="7"></span>
|
|
<input type="radio" name="attr_attribute" value="8" class="dice-selection attribute" /><span title="8"></span>
|
|
<input type="radio" name="attr_attribute" value="9" class="dice-selection attribute" /><span title="9"></span>
|
|
<input type="radio" name="attr_attribute" value="10" class="dice-selection attribute" /><span title="10"></span>
|
|
<input type="radio" name="attr_attribute" value="11" class="dice-selection attribute" /><span title="11"></span>
|
|
<input type="radio" name="attr_attribute" value="12" class="dice-selection attribute" /><span title="12"></span>
|
|
</div>
|
|
</div>
|
|
<div class="dice-skill">
|
|
<div class="dice-skill-header"><span class="label" data-i18n-title="skill-level" data-i18n="skill">Skill</span></div>
|
|
<input type="hidden" name="attr_negative_die_one" value="1" />
|
|
<input type="hidden" name="attr_negative_die_two" value="1" />
|
|
<input type="hidden" name="attr_negative_die_three" value="1" />
|
|
<input type="hidden" name="attr_skill_die_ten" value="1" />
|
|
<input type="hidden" name="attr_skill_die_nine" value="1" />
|
|
<input type="hidden" name="attr_skill_die_eight" value="1" />
|
|
<input type="hidden" name="attr_skill_die_seven" value="1" />
|
|
<input type="hidden" name="attr_skill_die_six" value="1" />
|
|
<input type="hidden" name="attr_skill_die_five" value="1" />
|
|
<input type="hidden" name="attr_skill_die_four" value="1" />
|
|
<input type="hidden" name="attr_skill_die_three" value="1" />
|
|
<input type="hidden" name="attr_skill_die_two" value="1" />
|
|
<input type="hidden" name="attr_skill_die_one" value="1" />
|
|
<div class="dice-skill-col1">
|
|
<input type="radio" name="attr_skill" value="6" class="dice-selection skill" /><span title="6"></span>
|
|
<input type="radio" name="attr_skill" value="5" class="dice-selection skill" /><span title="5"></span>
|
|
<input type="radio" name="attr_skill" value="4" class="dice-selection skill" /><span title="4"></span>
|
|
<input type="radio" name="attr_skill" value="3" class="dice-selection skill" /><span title="3"></span>
|
|
<input type="radio" name="attr_skill" value="2" class="dice-selection skill" /><span title="2"></span>
|
|
<input type="radio" name="attr_skill" value="1" class="dice-selection skill" /><span title="1"></span>
|
|
<input type="radio" name="attr_skill" value="0" class="dice-selection skill" checked /><span title="0"></span>
|
|
</div>
|
|
<div class="dice-skill-col2">
|
|
<input type="radio" name="attr_skill" value="7" class="dice-selection skill" /><span title="7"></span>
|
|
<input type="radio" name="attr_skill" value="8" class="dice-selection skill" /><span title="8"></span>
|
|
<input type="radio" name="attr_skill" value="9" class="dice-selection skill" /><span title="9"></span>
|
|
<input type="radio" name="attr_skill" value="10" class="dice-selection skill" /><span title="10"></span>
|
|
<input type="radio" name="attr_skill" value="-1" class="dice-selection negative" /><span title="-1"></span>
|
|
<input type="radio" name="attr_skill" value="-2" class="dice-selection negative" /><span title="-2"></span>
|
|
<input type="radio" name="attr_skill" value="-3" class="dice-selection negative" /><span title="-3"></span>
|
|
</div>
|
|
</div>
|
|
<div class="dice-gear">
|
|
<div class="dice-gear-header"><span class="label" data-i18n-title="gear-bonus" data-i18n="gear">Gear</span></div>
|
|
<input type="hidden" name="attr_gear_die_twelve" value="1" />
|
|
<input type="hidden" name="attr_gear_die_eleven" value="1" />
|
|
<input type="hidden" name="attr_gear_die_ten" value="1" />
|
|
<input type="hidden" name="attr_gear_die_nine" value="1" />
|
|
<input type="hidden" name="attr_gear_die_eight" value="1" />
|
|
<input type="hidden" name="attr_gear_die_seven" value="1" />
|
|
<input type="hidden" name="attr_gear_die_six" value="1" />
|
|
<input type="hidden" name="attr_gear_die_six" value="1" />
|
|
<input type="hidden" name="attr_gear_die_five" value="1" />
|
|
<input type="hidden" name="attr_gear_die_four" value="1" />
|
|
<input type="hidden" name="attr_gear_die_three" value="1" />
|
|
<input type="hidden" name="attr_gear_die_two" value="1" />
|
|
<input type="hidden" name="attr_gear_die_one" value="1" />
|
|
<div class="dice-gear-col1">
|
|
<input type="radio" name="attr_gear" value="6" class="dice-selection gear" /><span title="6"></span>
|
|
<input type="radio" name="attr_gear" value="5" class="dice-selection gear" /><span title="5"></span>
|
|
<input type="radio" name="attr_gear" value="4" class="dice-selection gear" /><span title="4"></span>
|
|
<input type="radio" name="attr_gear" value="3" class="dice-selection gear" /><span title="3"></span>
|
|
<input type="radio" name="attr_gear" value="2" class="dice-selection gear" /><span title="2"></span>
|
|
<input type="radio" name="attr_gear" value="1" class="dice-selection gear" /><span title="1"></span>
|
|
<input type="radio" name="attr_gear" value="0" class="dice-selection gear" checked /><span title="0"></span>
|
|
</div>
|
|
<div class="dice-gear-col2">
|
|
<input type="radio" name="attr_gear" value="7" class="dice-selection gear" /><span title="7"></span>
|
|
<input type="radio" name="attr_gear" value="8" class="dice-selection gear" /><span title="8"></span>
|
|
<input type="radio" name="attr_gear" value="9" class="dice-selection gear" /><span title="9"></span>
|
|
<input type="radio" name="attr_gear" value="10" class="dice-selection gear" /><span title="10"></span>
|
|
<input type="radio" name="attr_gear" value="11" class="dice-selection gear" /><span title="11"></span>
|
|
<input type="radio" name="attr_gear" value="12" class="dice-selection gear" /><span title="12"></span>
|
|
</div>
|
|
</div>
|
|
<div class="dice-artifact">
|
|
<div class="dice-artifact-header"><span class="label" data-i18n-title="artifact-bonus" data-i18n="artifact">Artifact Dice</span></div>
|
|
<div class="dice-artifact-rolls">
|
|
<input type="checkbox" name="attr_artifact_die_ocho" value="1" class="dice-selection mighty" data-i18n-title="mighty" title="Mighty" />
|
|
<span title="d8"></span>
|
|
<input type="checkbox" name="attr_artifact_die_eight" value="1" class="dice-selection mighty" data-i18n-title="mighty" title="Mighty" />
|
|
<span title="d8"></span>
|
|
<input type="checkbox" name="attr_artifact_die_ten" value="1" class="dice-selection epic" data-i18n-title="epic" title="Epic" />
|
|
<span title="d10"></span>
|
|
<input type="checkbox" name="attr_artifact_die_twelve" value="1" class="dice-selection legendary" data-i18n-title="legendary" title="Legendary" />
|
|
<span title="d12"></span>
|
|
</div>
|
|
</div>
|
|
<div class="dice-rolls">
|
|
<input class="hidden api-toggle-show" type="checkbox" name="attr_api_toggle" value="1" />
|
|
<div class="template-roll dice-rolls-roll">
|
|
<input class="hidden roll-indicator" type="checkbox" name="attr_roll_the_dice_flag" value="1" readonly />
|
|
<span class="box-indicator">
|
|
<button class="dice-pool" type="roll" name="roll_the_dice" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{dice-pool}}} {{subtitle=@{current_preset}}} {{free-text}} {{footer}} {{attribute-die-one=[[ @{attribute_die_one}]] }} {{attribute-roll-one=[[1d6]] }} {{attribute-die-two=[[ @{attribute_die_two}]] }} {{attribute-roll-two=[[1d6]] }} {{attribute-die-three=[[ @{attribute_die_three}]] }} {{attribute-roll-three=[[1d6]] }} {{attribute-die-four=[[ @{attribute_die_four}]] }} {{attribute-roll-four=[[1d6]] }} {{attribute-die-five=[[ @{attribute_die_five}]] }} {{attribute-roll-five=[[1d6]] }} {{attribute-die-six=[[ @{attribute_die_six}]] }} {{attribute-roll-six=[[1d6]] }} {{attribute-die-seven=[[ @{attribute_die_seven}]] }} {{attribute-roll-seven=[[1d6]] }} {{attribute-die-eight=[[ @{attribute_die_eight}]] }} {{attribute-roll-eight=[[1d6]] }} {{attribute-die-nine=[[ @{attribute_die_nine}]] }} {{attribute-roll-nine=[[1d6]] }} {{attribute-die-ten=[[ @{attribute_die_ten}]] }} {{attribute-roll-ten=[[1d6]] }} {{attribute-die-eleven=[[ @{attribute_die_eleven}]] }} {{attribute-roll-eleven=[[1d6]] }} {{attribute-die-twelve=[[ @{attribute_die_twelve}]] }} {{attribute-roll-twelve=[[1d6]] }} {{skill-die-one=[[ @{skill_die_one}]] }} {{skill-roll-one=[[1d6]] }} {{skill-die-two=[[ @{skill_die_two}]] }} {{skill-roll-two=[[1d6]] }} {{skill-die-three=[[ @{skill_die_three}]] }} {{skill-roll-three=[[1d6]] }} {{skill-die-four=[[ @{skill_die_four}]] }} {{skill-roll-four=[[1d6]] }} {{skill-die-five=[[ @{skill_die_five}]] }} {{skill-roll-five=[[1d6]] }} {{skill-die-six=[[ @{skill_die_six}]] }} {{skill-roll-six=[[1d6]] }} {{skill-die-seven=[[ @{skill_die_seven}]] }} {{skill-roll-seven=[[1d6]] }} {{skill-die-eight=[[ @{skill_die_eight}]] }} {{skill-roll-eight=[[1d6]] }} {{skill-die-nine=[[ @{skill_die_nine}]] }} {{skill-roll-nine=[[1d6]] }} {{skill-die-ten=[[ @{skill_die_ten}]] }} {{skill-roll-ten=[[1d6]] }} {{negative-die-one=[[ @{negative_die_one}]] }} {{negative-roll-one=[[1d6]] }} {{negative-die-two=[[ @{negative_die_two}]] }} {{negative-roll-two=[[1d6]] }} {{negative-die-three=[[ @{negative_die_three}]] }} {{negative-roll-three=[[1d6]] }} {{gear-die-one=[[ @{gear_die_one}]] }} {{gear-roll-one=[[1d6]] }} {{gear-die-two=[[ @{gear_die_two}]] }} {{gear-roll-two=[[1d6]] }} {{gear-die-three=[[ @{gear_die_three}]] }} {{gear-roll-three=[[1d6]] }} {{gear-die-four=[[ @{gear_die_four}]] }} {{gear-roll-four=[[1d6]] }} {{gear-die-five=[[ @{gear_die_five}]] }} {{gear-roll-five=[[1d6]] }} {{gear-die-six=[[ @{gear_die_six}]] }} {{gear-roll-six=[[1d6]] }} {{gear-die-seven=[[ @{gear_die_seven}]] }} {{gear-roll-seven=[[1d6]] }} {{gear-die-eight=[[ @{gear_die_eight}]] }} {{gear-roll-eight=[[1d6]] }} {{gear-die-nine=[[ @{gear_die_nine}]] }} {{gear-roll-nine=[[1d6]] }} {{gear-die-ten=[[ @{gear_die_ten}]] }} {{gear-roll-ten=[[1d6]] }} {{gear-die-eleven=[[ @{gear_die_eleven}]] }} {{gear-roll-eleven=[[1d6]] }} {{gear-die-twelve=[[ @{gear_die_twelve}]] }} {{gear-roll-twelve=[[1d6]] }} {{artifact-die-eight=[[ @{artifact_die_eight}]] }} {{artifact-roll-eight=[[1d8]] }} {{artifact-die-ocho=[[ @{artifact_die_ocho}]] }} {{artifact-roll-ocho=[[1d8]] }} {{artifact-die-ten=[[ @{artifact_die_ten}]] }} {{artifact-roll-ten=[[1d10]] }} {{artifact-die-twelve=[[ @{artifact_die_twelve}]] }} {{artifact-roll-twelve=[[1d12]] }} @{include_with_roll}" data-i18n-title="roll-dice" title="Roll the Dice!"> <span data-i18n="roll">Roll</span> </button>
|
|
</span>
|
|
</div>
|
|
<div class="grid-item api-roll">
|
|
<input class="hidden roll-indicator" type="checkbox" name="attr_roll_the_dice_flag" value="1" readonly />
|
|
<span class="box-api-indicator">
|
|
<button class="dice-pool" type="roll" name="roll_the_dice_api" value="!forl [[(@{skill})d6]] [[(@{attribute})d6]] [[(@{gear})d6]] [[(@{artifact_die_eight})d8+(@{artifact_die_ocho})d8+(@{artifact_die_ten})d10+(@{artifact_die_twelve})d12]] --Character|@{character_name} --Roll|@{current_preset}" data-i18n-title="roll-dice-api" title="Roll API Dice!"> <span data-i18n="roll">Roll</span> </button>
|
|
</span>
|
|
</div>
|
|
<div class="template-roll dice-rolls-push">
|
|
<button class="dice-pool" type="roll" name="roll_a_push" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{pushes-the-roll}}} {{subtitle=@{current_preset}}} {{free-text}} {{footer}} {{attribute-die-one=[[ @{attribute_die_one}]] }} {{attribute-roll-one=[[1d6]] }} {{attribute-die-two=[[ @{attribute_die_two}]] }} {{attribute-roll-two=[[1d6]] }} {{attribute-die-three=[[ @{attribute_die_three}]] }} {{attribute-roll-three=[[1d6]] }} {{attribute-die-four=[[ @{attribute_die_four}]] }} {{attribute-roll-four=[[1d6]] }} {{attribute-die-five=[[ @{attribute_die_five}]] }} {{attribute-roll-five=[[1d6]] }} {{attribute-die-six=[[ @{attribute_die_six}]] }} {{attribute-roll-six=[[1d6]] }} {{attribute-die-seven=[[ @{attribute_die_seven}]] }} {{attribute-roll-seven=[[1d6]] }} {{attribute-die-eight=[[ @{attribute_die_eight}]] }} {{attribute-roll-eight=[[1d6]] }} {{attribute-die-nine=[[ @{attribute_die_nine}]] }} {{attribute-roll-nine=[[1d6]] }} {{attribute-die-ten=[[ @{attribute_die_ten}]] }} {{attribute-roll-ten=[[1d6]] }} {{attribute-die-eleven=[[ @{attribute_die_eleven}]] }} {{attribute-roll-eleven=[[1d6]] }} {{attribute-die-twelve=[[ @{attribute_die_twelve}]] }} {{attribute-roll-twelve=[[1d6]] }} {{skill-die-one=[[ @{skill_die_one}]] }} {{skill-roll-one=[[1d6]] }} {{skill-die-two=[[ @{skill_die_two}]] }} {{skill-roll-two=[[1d6]] }} {{skill-die-three=[[ @{skill_die_three}]] }} {{skill-roll-three=[[1d6]] }} {{skill-die-four=[[ @{skill_die_four}]] }} {{skill-roll-four=[[1d6]] }} {{skill-die-five=[[ @{skill_die_five}]] }} {{skill-roll-five=[[1d6]] }} {{skill-die-six=[[ @{skill_die_six}]] }} {{skill-roll-six=[[1d6]] }} {{skill-die-seven=[[ @{skill_die_seven}]] }} {{skill-roll-seven=[[1d6]] }} {{skill-die-eight=[[ @{skill_die_eight}]] }} {{skill-roll-eight=[[1d6]] }} {{skill-die-nine=[[ @{skill_die_nine}]] }} {{skill-roll-nine=[[1d6]] }} {{skill-die-ten=[[ @{skill_die_ten}]] }} {{skill-roll-ten=[[1d6]] }} {{negative-die-one=[[ @{negative_die_one}]] }} {{negative-roll-one=[[1d6]] }} {{negative-die-two=[[ @{negative_die_two}]] }} {{negative-roll-two=[[1d6]] }} {{negative-die-three=[[ @{negative_die_three}]] }} {{negative-roll-three=[[1d6]] }} {{gear-die-one=[[ @{gear_die_one}]] }} {{gear-roll-one=[[1d6]] }} {{gear-die-two=[[ @{gear_die_two}]] }} {{gear-roll-two=[[1d6]] }} {{gear-die-three=[[ @{gear_die_three}]] }} {{gear-roll-three=[[1d6]] }} {{gear-die-four=[[ @{gear_die_four}]] }} {{gear-roll-four=[[1d6]] }} {{gear-die-five=[[ @{gear_die_five}]] }} {{gear-roll-five=[[1d6]] }} {{gear-die-six=[[ @{gear_die_six}]] }} {{gear-roll-six=[[1d6]] }} {{gear-die-seven=[[ @{gear_die_seven}]] }} {{gear-roll-seven=[[1d6]] }} {{gear-die-eight=[[ @{gear_die_eight}]] }} {{gear-roll-eight=[[1d6]] }} {{gear-die-nine=[[ @{gear_die_nine}]] }} {{gear-roll-nine=[[1d6]] }} {{gear-die-ten=[[ @{gear_die_ten}]] }} {{gear-roll-ten=[[1d6]] }} {{gear-die-eleven=[[ @{gear_die_eleven}]] }} {{gear-roll-eleven=[[1d6]] }} {{gear-die-twelve=[[ @{gear_die_twelve}]] }} {{gear-roll-twelve=[[1d6]] }} {{artifact-die-eight=[[ @{artifact_die_eight}]] }} {{artifact-roll-eight=[[1d8]] }} {{artifact-die-ocho=[[ @{artifact_die_ocho}]] }} {{artifact-roll-ocho=[[1d8]] }} {{artifact-die-ten=[[ @{artifact_die_ten}]] }} {{artifact-roll-ten=[[1d10]] }} {{artifact-die-twelve=[[ @{artifact_die_twelve}]] }} {{artifact-roll-twelve=[[1d12]] }} {{push-query=?{@{translation_push_query}} }} @{include_with_roll}" data-i18n-title="push-dice" title="Push the Dice!"> <span data-i18n="push">Push</span> </button>
|
|
<input type="hidden" name="attr_translation_push_query" value="push-query" />
|
|
</div>
|
|
<div class="dice-rolls-d66">
|
|
<button class="dice-pool" type="roll" name="roll_d66" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{d66-roll}}} {{subtitle}} {{free-text}} {{d66-die-one=[[ 1 ]] }} {{d66-roll-one=[[ 1d6 ]] }} {{d66-die-two=[[ 1 ]] }} {{d66-roll-two=[[ 1d6 ]] }} {{footer}}" data-i18n-title="roll-dice-66" title="Roll d66!"> <span class="small-caps">D</span>66 </button>
|
|
</div>
|
|
</div>
|
|
<div class="dice-preset">
|
|
<input type="hidden" class="input" name="attr_current_preset" value="" readonly />
|
|
<input type="hidden" name="attr_include_with_roll" value="" readonly />
|
|
<span class="label dice-preset-header" data-i18n="current-preset">Current Preset</span>
|
|
<span class="header-h1 dice-preset-preset" name="attr_current_preset"></span>
|
|
</div>
|
|
<div class="dice-footer">
|
|
<button type="action" name="act_dice_pool_clear" class="small-caps dice-footer-clear"data-i18n-title="reset-dice" title="Reset dice pool." data-i18n="clear-dice-pool">Clear Dice Pool</button>
|
|
<button type="action" name="act_api_dice_toggle" class="api-button small-caps dice-footer-api"data-i18n-title="api-dice-title" title="Use API Dice Roller. (API is a Pro feature) 'Forbidden Lands Year-Zero Die Roller' script must be installed."data-i18n="api-dice">api dice</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-column3">
|
|
<div class="talents-grid" style="margin-bottom: 1em;">
|
|
<div class="talents-box header">
|
|
<h1 data-i18n="talent-u">TALENTS</h1>
|
|
</div>
|
|
<div class="talents-box2 column-header"><span data-i18n="type">Type</span></div>
|
|
<div class="talents-box3 column-header"><span data-i18n="rank">Rank</span></div>
|
|
<div class="talents-box4">
|
|
<fieldset class="repeating_talents">
|
|
<div class="talents-grid">
|
|
<input class="expand" type="checkbox" name="attr_expand" data-i18n-title="show-hide" title="show/hide" checked /><span></span>
|
|
<input class="talents-box1 input" type="text" name="attr_talent_name" value="" title="@{repeating_talents_$X_talent_name}" data-i18n-placeholder="name" placeholder="Name" />
|
|
<select class="talents-box2 input" name="attr_talent_type" title="@{repeating_talents_$X_talent_type}">
|
|
<option value="Kin" data-i18n="kin">Kin</option>
|
|
<option value="Gen" data-i18n="gen" selected>Gen</option>
|
|
<option value="Prof" data-i18n="prof">Prof</option>
|
|
</select>
|
|
<select class="talents-box3 input" name="attr_talent_rank" title="@{repeating_talents_$X_talent_rank}">
|
|
<option value="0" select>0</option>
|
|
<option value="1">1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
</select>
|
|
<textarea class="talents-box4 input-textarea" name="attr_talent_description" title="@{repeating_talents_$X_talent_description}" data-i18n-placeholder="description" placeholder="description"></textarea>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
<div class="gear-grid">
|
|
<div class="gear-box1 header">
|
|
<h1 data-i18n="gea-u">GEAR</h1>
|
|
</div>
|
|
<div class="gear-box2 column-header"><span data-i18n="quantity-abbr">Qty</span></div>
|
|
<div class="gear-box3 column-header"><span data-i18n="carried-abbr">Carr</span></div>
|
|
<div class="gear-box4 column-header"><span data-i18n="weight-abbr">Wt</span></div>
|
|
<div class="gear-box5">
|
|
<fieldset class="repeating_gear">
|
|
<div class="gear-grid">
|
|
<input class="expand" type="checkbox" name="attr_expand" data-i18n-title="show-hide" title="show/hide" /><span></span>
|
|
<input class="gear-box1 input" type="text" name="attr_gear_name" value="" title="@{repeating_gear_$X_gear_name}" data-i18n-placeholder="item" placeholder="item" />
|
|
<input class="gear-box2 input-number" type="number" name="attr_gear_qty" value="1" min="0" title="@{repeating_gear_$X_gear_qty}" />
|
|
<input class="gear-box3 input" type="checkbox" name="attr_gear_carried" value="1" title="@{repeating_gear_$X_gear_carried}" checked />
|
|
<select class="gear-box4 input" name="attr_gear_weight" title="@{repeating_gear_$X_gear_weight}">
|
|
<option data-i18n="tiny-abbr" value="0" selected>T</option>
|
|
<option data-i18n="light-abbr" value="0.5">L</option>
|
|
<option data-i18n="normal-abbr" value="1">N</option>
|
|
<option data-i18n="heavy-abbr" value="2">H</option>
|
|
</select>
|
|
<textarea class="gear-box5 input-textarea" name="attr_gear_description" title="@{repeating_talents_$X_gear_description}" data-i18n-placeholder="description" placeholder="description"></textarea>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<div class="gear-weight">
|
|
<div><span class="label" data-i18n="gear">Gear</span></div>
|
|
<div><input class="input-number" type="text" name="attr_character_gear_encumbrance" value="0" title="@{character_gear_encumbrance}" readonly /></div>
|
|
<div><span class="label" data-i18n="weapons">Weapons</span></div>
|
|
<div><input class="input-number" type="text" name="attr_weapons_encumbrance" value="0" title="@{weapons_encumbrance}" readonly /></div>
|
|
<div><span class="label" data-i18n="armor">Armor</span></div>
|
|
<div><input class="input-number" type="text" name="attr_armor_shield_encumbrance" value="0" title="@{armor_shield_encumbrance}" readonly /></div>
|
|
<div><span class="label" data-i18n="coins-carried">Coins Carried</span></div>
|
|
<div><input class="input-number" type="text" name="attr_coins_carried" value="0" title="@{coins_carried}" readonly /></div>
|
|
</div>
|
|
<div class="gear-box6 header">
|
|
<div class="gear"><span class="label" data-i18n="carry">Carry</span></div>
|
|
<div class="gear">
|
|
<input class="input-number" type="text" name="attr_carry" value="(2*(@{strength})+@{pack_rat})" title="@{carry} = 2 x @{strength} + @{pack_rat}" disabled=""data-formula="(2*(@{strength})+@{pack_rat})"></div>
|
|
<div class="gear"><span class="label" data-i18n="encumbrance">Encumbrance</span></div>
|
|
<div class="gear">
|
|
<input type="hidden" name="attr_character_gear_encumbrance" value="1">
|
|
<input class="input-number" type="text" name="attr_character_encumbrance" value="0" title="@{character_encumbrance}" readonly />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="gear-subgrid2" style="margin-bottom: 1em;">
|
|
<div class="gear-box12"><span class="label" data-i18n-title="pack-rat-title" data-i18n="pack-rat">Pack Rat Talent?</span></div>
|
|
<div class="gear-box13">
|
|
<select class="input" name="attr_pack_rat">
|
|
<option value="0" data-i18n="no" selected>No</option>
|
|
<option value="2" data-i18n="rank-1-pack-rat">Rank 1 (+2)</option>
|
|
<option value="5" data-i18n="rank-2-pack-rat">Rank 2 (+5)</option>
|
|
<option value="10" data-i18n="rank-3-pack-rat">Rank 3 (+10)</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="mount-grid">
|
|
<div class="mount-box1 header">
|
|
<h1 data-i18n="moun-u">MOUNT</h1>
|
|
</div>
|
|
<input type="checkbox" name="attr_expand" class="expand" data-i18n-title="show-hide" title="show/hide" style="margin-top: 3.35em;" /><span></span>
|
|
<input class="mount-box2 input" type="text" name="attr_mount_name" value="" title="@{mount_name}" data-i18n-placeholder="name" placeholder="name" />
|
|
<div class="mount-box3"><span class="label" data-i18n="strength-abbr-u">STR</span></div>
|
|
<input class="mount-box4 input-number" type="number" name="attr_mount_strength" value="1" title="@{mount_strength}" />
|
|
<div class="mount-box5"><span class="label" data-i18n="agility-abbr-u">AGI</span></div>
|
|
<input class="mount-box6 input-number" type="number" name="attr_mount_agility" value="1" title="@{mount_agility}" />
|
|
<textarea class="mount-box7 input-textarea" name="attr_mount_description" title="@{mount_description}" data-i18n-placeholder="description" placeholder="description"></textarea>
|
|
</div>
|
|
<div class="mount_gear-grid">
|
|
<div class="mount_gear-box1 header">
|
|
<h1 data-i18n="on-mount">Gear on Mount</h1>
|
|
</div>
|
|
<div class="mount_gear-box2 column-header"><span data-i18n="quantity-abbr">Qty</span></div>
|
|
<div class="mount_gear-box3 column-header"><span data-i18n="carried-abbr">Carr</span></div>
|
|
<div class="mount_gear-box4 column-header"><span data-i18n="weight-abbr">Wt</span></div>
|
|
<div class="mount_gear-box5">
|
|
<fieldset class="repeating_mount">
|
|
<div class="mount_gear-grid">
|
|
<input class="expand" type="checkbox" name="attr_expand" data-i18n-title="show-hide" title="show/hide" /><span></span>
|
|
<input class="mount_gear-box1 input" type="text" name="attr_mount_gear_name" value="" title="@{repeating_mount_gear_$X_mount_gear_name}" data-i18n-placeholder="item" placeholder="item" />
|
|
<input class="mount_gear-box2 input-number" type="number" name="attr_mount_gear_qty" value="1" title="Quantity @{repeating_mount_gear_$X_mount_gear_qty}" />
|
|
<input class="mount_gear-box3 input" type="checkbox" name="attr_mount_gear_carried" value="1" title="@{repeating_mount_gear_$X_mount_gear_carried}" checked />
|
|
<select class="mount_gear-box4 input" name="attr_mount_gear_weight" title="@{repeating_mount_gear_$X_mount_gear_weight}">
|
|
<option data-i18n="tiny-abbr" value="0" selected>T</option>
|
|
<option data-i18n="light-abbr" value="0.5">L</option>
|
|
<option data-i18n="normal-abbr" value="1">N</option>
|
|
<option data-i18n="heavy-abbr" value="2">H</option>
|
|
</select>
|
|
<textarea class="mount_gear-box5 input-textarea" name="attr_mount_gear_description" title="@{repeating_mount_gear_$X_mount_gear_description}" data-i18n-placeholder="description" placeholder="description"></textarea>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<div class="gear-weight">
|
|
<div><span class="label" data-i18n="gear">Gear</span></div>
|
|
<div><input class="input-number" type="text" name="attr_mount_gear_encumbrance" value="0" title="@{mount_gear_encumbrance}" readonly /></div>
|
|
<div><span class="label" data-i18n="coins-carried">Coins Carried</span></div>
|
|
<div><input class="input-number" type="text" name="attr_coins_carried_mount" value="0" title="@{coins_carried_mount}" readonly /></div>
|
|
</div>
|
|
<div class="mount_gear-box6 header">
|
|
<div class="mount_gear"><span class="label" data-i18n="carry">Carry</span></div>
|
|
<div class="mount_gear">
|
|
<input class="input-number" type="text" name="attr_mount_carry" value="0" title="@{mount_carry} = mount_strength x2, unmounted x4" readonly />
|
|
</div>
|
|
<div class="mount_gear"><span class="label" data-i18n="encumbrance">Encumbrance</span></div>
|
|
<div class="mount_gear">
|
|
<input class="input" type="hidden" name="attr_mount_gear_encumbrance" value="1.5">
|
|
<input class="input-number" type="text" name="attr_mount_encumbrance" value="0" title="@{mount_encumbrance}" readonly />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mount_gear-subgrid2">
|
|
<span><input class="input" title="@{mounted}" type="checkbox" name="attr_mounted" value="1" style="margin: 0"></span>
|
|
<span class="label" data-i18n="mounted" style="margin: 0">Mounted</span>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-armor">
|
|
<div class="armor-container">
|
|
<div class="armor-grid">
|
|
<div class="armor-box header">
|
|
<h1 data-i18n="armor-helmet">ARMOR/HELMET</h1>
|
|
</div>
|
|
<div class="armor-box1 column-header"><span></span></div>
|
|
<div class="armor-box2 column-header"><span data-i18n="carried-abbr">Carr</span></div>
|
|
<div class="armor-box3 column-header"><span data-i18n="weight-abbr">Wt</span></div>
|
|
<div class="armor-box4 column-header"><span data-i18n="don">Don</span></div>
|
|
<div class="armor-box5 column-header"><span data-i18n="rating">Rating</span></div>
|
|
<div class="armor-box6 column-header"><span data-i18n="damage-abbr">Dmg</span></div>
|
|
<div class="armor-box7 column-header"><span data-i18n="total">Total</span></div>
|
|
<div class="armor-box8 column-header"><span data-i18n="features">Features</span></div>
|
|
<div class="armor-box9 armor-grid">
|
|
<input class="armor-box1 input" type="text" name="attr_armor1_name" value="" title="@{armor1_name}" data-i18n-placeholder="name" placeholder="name" />
|
|
<select class="armor-box2 input" name="attr_armor1_carried" title="@{armor1_carried}">
|
|
<option data-i18n="yes" value="1">Yes</option>
|
|
<option data-i18n="no" value="0" selected>No</option>
|
|
<option data-i18n="mount" value="0">Mount</option>
|
|
</select>
|
|
<select class="armor-box3 input" name="attr_armor1_weight" title="@{armor1_weight}">
|
|
<option data-i18n="tiny-abbr" value="0" selected>T</option>
|
|
<option data-i18n="light-abbr" value="0.5">L</option>
|
|
<option data-i18n="normal-abbr" value="1">N</option>
|
|
<option data-i18n="heavy-abbr" value="2">H</option>
|
|
</select>
|
|
<input class="armor-box4 input" type="checkbox" name="attr_armor1_equiped" value="1" title="@{armor1_equiped}" checked />
|
|
<input class="armor-box5 input-number" type="number" name="attr_armor1_bonus" value="0" min="0" title="@{armor1_bonus}" />
|
|
<input class="armor-box6 input-number" type="number" name="attr_armor1_damage" value="0" max="0" title="@{armor1_damage}" />
|
|
<input class="armor-box7 input-number" type="text" name="attr_armor1_ar" value="0" title="@{armor1_ar}" readonly />
|
|
<input class="armor-box8 input" type="text" name="attr_armor1_features" value="" title="@{armor1_features}" />
|
|
</div>
|
|
<div class="armor-box10 armor-grid">
|
|
<input class="armor-box1 input" type="text" name="attr_armor2_name" value="" title="@{armor2_name}" data-i18n-placeholder="name" placeholder="name" />
|
|
<select class="armor-box2 input" name="attr_armor2_carried" title="@{armor2_carried}">
|
|
<option data-i18n="yes" value="1">Yes</option>
|
|
<option data-i18n="no" value="0" selected>No</option>
|
|
<option data-i18n="mount" value="0">Mount</option>
|
|
</select>
|
|
<select class="armor-box3 input" name="attr_armor2_weight" title="@{armor2_weight}">
|
|
<option data-i18n="tiny-abbr" value="0" selected>T</option>
|
|
<option data-i18n="light-abbr" value="0.5">L</option>
|
|
<option data-i18n="normal-abbr" value="1">N</option>
|
|
<option data-i18n="heavy-abbr" value="2">H</option>
|
|
</select>
|
|
<input class="armor-box4 input" type="checkbox" name="attr_armor2_equiped" value="1" title="@{armor2_equiped}" checked />
|
|
<input class="armor-box5 input-number" type="number" name="attr_armor2_bonus" value="0" min="0" title="@{armor2_bonus}" />
|
|
<input class="armor-box6 input-number" type="number" name="attr_armor2_damage" value="0" max="0" title="@{armor2_damage}" />
|
|
<input class="armor-box7 input-number" type="text" name="attr_armor2_ar" value="0" title="@{armor2_ar}" readonly />
|
|
<input class="armor-box8 input" type="text" name="attr_armor2_features" value="" title="@{armor2_features}" />
|
|
</div>
|
|
<div class="armor-box11">
|
|
<div class="armor-subgrid">
|
|
<span class="armor-box4 header">
|
|
<h1 data-i18n="armor-rating-u" style="margin: 0;">ARMOR RATING</h1>
|
|
</span>
|
|
<span class="armor-box5 input-span" name="attr_ar" value="0" title="@{ar}" style="margin: 0px 0 0 -10px;"></span>
|
|
<span class="armor-box6">
|
|
<button type="action" name="act_armor-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice." data-i18n="armor" style="height: 2em; width: 4em;">Armor</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="shield-grid">
|
|
<div class="shield-box header">
|
|
<h1 data-i18n="shield-u">SHIELD</h1>
|
|
</div>
|
|
<div class="shield-box1"></div>
|
|
<div class="shield-box2 column-header"><span data-i18n="carried-abbr">Carr</span></div>
|
|
<div class="shield-box3 column-header"><span data-i18n="weight-abbr">Wt</span></div>
|
|
<div class="shield-box4 column-header"><span data-i18n="don">Don</span></div>
|
|
<div class="shield-box5 column-header"><span data-i18n="bonus">Bonus</span></div>
|
|
<div class="shield-box6 column-header"><span data-i18n="max-abbr">Max</span></div>
|
|
<div class="shield-box7 column-header"><span data-i18n="total">Total</span></div>
|
|
<div class="shield-box8 column-header"><span data-i18n="features">Features</span></div>
|
|
<div class="shield-box9">
|
|
<div class="shield-grid">
|
|
<input class="shield-box1 input" type="text" name="attr_shield1_name" value="" title="@{shield1_name}" data-i18n-placeholder="name" placeholder="name" />
|
|
<select class="shield-box2 input" name="attr_shield1_carried" title="@{shield1_carried}">
|
|
<option data-i18n="yes" value="1">Yes</option>
|
|
<option data-i18n="no" value="0" selected>No</option>
|
|
<option data-i18n="mount" value="0">Mount</option>
|
|
</select>
|
|
<select class="shield-box3 input" name="attr_shield1_weight" title="@{shield1_weight}">
|
|
<option data-i18n="tiny-abbr" value="0" selected>T</option>
|
|
<option data-i18n="light-abbr" value="0.5">L</option>
|
|
<option data-i18n="normal-abbr" value="1">N</option>
|
|
<option data-i18n="heavy-abbr" value="2">H</option>
|
|
</select>
|
|
<input class="shield-box4 input" type="checkbox" name="attr_shield1_equiped" value="1" title="@{shield1_equiped}" checked />
|
|
<input class="shield-box5 input-number" type="number" name="attr_shield1_bonus" value="0" min="0" title="@{shield1_bonus}" />
|
|
<input class="shield-box6 input-number" type="number" name="attr_shield1_bonus_max" value="0" min="0" title="@{shield1_bonus|max}" />
|
|
<input class="shield-box7 input-number" type="text" name="attr_shield1_bonus_total" value="0" title="@{shield1_bonus_total}" readonly />
|
|
<input class="shield-box8 input" type="text" name="attr_shield1_features" value="" title="@{shield1_features}" />
|
|
</div>
|
|
</div>
|
|
<div class="shield-box10">
|
|
<button type="action" name="act_shield-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice." data-i18n="parry" style="height: 2em ; width: 4em">Parry</button>
|
|
<button type="action" name="act_shield-shove-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice." data-i18n="shove" style="height: 2em ; width: 4em">Shove</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-consumables">
|
|
<div class="consumables-grid">
|
|
<div class="consumables-box1 header">
|
|
<h1 data-i18n="consumable-u">CONSUMABLES</h1>
|
|
</div>
|
|
<div class="consumables-box2 column-header"><span data-i18n="die">Die</span></div>
|
|
<div class="consumables-box3 column-header"><span> </span></div>
|
|
<div class="consumables-box4">
|
|
<span class="header-h1" data-i18n="food">Food</span>
|
|
</div>
|
|
<div class="consumables-box5">
|
|
<select class="input" name="attr_food" title="@{food}">
|
|
<option value="{{subtitle=^{out-of-food}}}" selected>0</option>
|
|
<option value="{{subtitle=D6 ^{of-food}}} {{consumable-die-six=[[ 1 ]] }} {{consumable-roll-six=[[ 1d6 ]] }}">d6</option>
|
|
<option value="{{subtitle=D8 ^{of-food}}} {{consumable-die-eight=[[ 1 ]] }} {{consumable-roll-eight=[[ 1d8 ]] }}">d8</option>
|
|
<option value="{{subtitle=D10 ^{of-food}}} {{consumable-die-ten=[[ 1 ]] }} {{consumable-roll-ten=[[ 1d10 ]] }}">d10</option>
|
|
<option value="{{subtitle=D12 ^{of-food}}} {{consumable-die-twelve=[[ 1 ]] }} {{consumable-roll-twelve=[[ 1d12 ]] }}">d12</option>
|
|
</select>
|
|
</div>
|
|
<div class="consumables-box6">
|
|
<button type="roll" name="roll_food" title="%{food}" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{consumable}}} {{footer=^{consumable-note}}} @{food}"></button>
|
|
</div>
|
|
<div class="consumables-box7">
|
|
<span class="header-h1" data-i18n="water">Water</span>
|
|
</div>
|
|
<div class="consumables-box8">
|
|
<select class="input" name="attr_water" title="@{water}">
|
|
<option value="{{subtitle=^{out-of-water}}}" selected>0</option>
|
|
<option value="{{subtitle=D6 ^{of-water}}} {{consumable-die-six=[[ 1 ]] }} {{consumable-roll-six=[[ 1d6 ]] }}">d6</option>
|
|
<option value="{{subtitle=D8 ^{of-water}}} {{consumable-die-eight=[[ 1 ]] }} {{consumable-roll-eight=[[ 1d8 ]] }}">d8</option>
|
|
<option value="{{subtitle=D10 ^{of-water}}} {{consumable-die-ten=[[ 1 ]] }} {{consumable-roll-ten=[[ 1d10 ]] }}">d10</option>
|
|
<option value="{{subtitle=D12 ^{of-water}}} {{consumable-die-twelve=[[ 1 ]] }} {{consumable-roll-twelve=[[ 1d12 ]] }}">d12</option>
|
|
</select>
|
|
</div>
|
|
<div class="consumables-box9">
|
|
<button type="roll" name="roll_water" title="%{water}" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{consumable}}} {{footer=^{consumable-note}}} @{water}"></button>
|
|
</div>
|
|
<div class="consumables-box10">
|
|
<span class="header-h1" data-i18n="arrows">Arrows</span>
|
|
</div>
|
|
<div class="consumables-box11">
|
|
<select class="input" name="attr_arrows" title="@{arrows}">
|
|
<option value="{{subtitle=^{out-of-arrows}}}" selected>0</option>
|
|
<option value="{{subtitle=D6 ^{of-arrows}}} {{consumable-die-six=[[ 1 ]] }} {{consumable-roll-six=[[ 1d6 ]] }}">d6</option>
|
|
<option value="{{subtitle=D8 ^{of-arrows}}} {{consumable-die-eight=[[ 1 ]] }} {{consumable-roll-eight=[[ 1d8 ]] }}">d8</option>
|
|
<option value="{{subtitle=D10 ^{of-arrows}}} {{consumable-die-ten=[[ 1 ]] }} {{consumable-roll-ten=[[ 1d10 ]] }}">d10</option>
|
|
<option value="{{subtitle=D12 ^{of-arrows}}} {{consumable-die-twelve=[[ 1 ]] }} {{consumable-roll-twelve=[[ 1d12 ]] }}">d12</option>
|
|
</select>
|
|
</div>
|
|
<div class="consumables-box12">
|
|
<button type="roll" name="roll_arrows" title="%{arrows}" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{consumable}}} {{footer=^{consumable-note}}} @{arrows}"></button>
|
|
</div>
|
|
<div class="consumables-box13">
|
|
<span class="header-h1" data-i18n="torches">Torches</span>
|
|
</div>
|
|
<div class="consumables-box14">
|
|
<select class="input" name="attr_torches" title="@{torches}">
|
|
<option value="{{subtitle=^{out-of-torches}}}" selected>0</option>
|
|
<option value="{{subtitle=D6 ^{of-torches}}} {{consumable-die-six=[[ 1 ]] }} {{consumable-roll-six=[[ 1d6 ]] }}">d6</option>
|
|
<option value="{{subtitle=D8 ^{of-torches}}} {{consumable-die-eight=[[ 1 ]] }} {{consumable-roll-eight=[[ 1d8 ]] }}">d8</option>
|
|
<option value="{{subtitle=D10 ^{of-torches}}} {{consumable-die-ten=[[ 1 ]] }} {{consumable-roll-ten=[[ 1d10 ]] }}">d10</option>
|
|
<option value="{{subtitle=D12 ^{of-torches}}} {{consumable-die-twelve=[[ 1 ]] }} {{consumable-roll-twelve=[[ 1d12 ]] }}">d12</option>
|
|
</select>
|
|
</div>
|
|
<div class="consumables-box15">
|
|
<button type="roll" name="roll_torches" title="%{torches}" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{consumable}}} {{footer=^{consumable-note}}} @{torches}"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-coins">
|
|
<div class="coins-grid">
|
|
<div class="coins-box header">
|
|
<h1 data-i18n="coins-u">COINS</h1>
|
|
</div>
|
|
<div class="coins-box1"></div>
|
|
<div class="coins-box2 column-header"><span data-i18n="gold">Gold</span></div>
|
|
<div class="coins-box3 column-header"><span data-i18n="silver">Silver</span></div>
|
|
<div class="coins-box4 column-header"><span data-i18n="copper">Copper</span></div>
|
|
|
|
<div class="coins-box5"><span class="label" data-i18n="carried">Carried</span></div>
|
|
<div class="coins-box6"><input class="input-number" type="text" name="attr_gold" value="0" title="@{gold}" /></div>
|
|
<div class="coins-box7"><input class="input-number" type="text" name="attr_silver" value="0" title="@{silver}" /></div>
|
|
<div class="coins-box8"><input class="input-number" type="text" name="attr_copper" value="0" title="@{copper}" /></div>
|
|
|
|
<div class="coins-box9"><span class="label" style="text-align:center;" data-i18n="mounts-gear">Mount's Gear</span></div>
|
|
<div class="coins-box10"><input class="input-number" type="text" name="attr_gold_mount" value="0" title="@{gold_mount}" /></div>
|
|
<div class="coins-box11"><input class="input-number" type="text" name="attr_silver_mount" value="0" title="@{silver_mount}" /></div>
|
|
<div class="coins-box12"><input class="input-number" type="text" name="attr_copper_mount" value="0" title="@{copper_mount}" /></div>
|
|
|
|
<div class="coins-box13"><span class="label" data-i18n="other">Other</span></div>
|
|
<div class="coins-box14"><input class="input-number" type="text" name="attr_gold_other" value="0" title="@{gold_mount}" /></div>
|
|
<div class="coins-box15"><input class="input-number" type="text" name="attr_silver_other" value="0" title="@{silver_mount}" /></div>
|
|
<div class="coins-box16"><input class="input-number" type="text" name="attr_copper_other" value="0" title="@{copper_mount}" /></div>
|
|
<input type="hidden" name="attr_coins_other_total" value="0" />
|
|
|
|
<div class="coins-box17"><span class="label" data-i18n="total">Total</span></div>
|
|
<div class="coins-box18"><input class="input-number" type="text" name="attr_gold_total" value="0" title="@{gold_total}" readonly /></div>
|
|
<div class="coins-box18"><input class="input-number" type="text" name="attr_silver_total" value="0" title="@{silver_total}" readonly /></div>
|
|
<div class="coins-box19"><input class="input-number" type="text" name="attr_copper_total" value="0" title="@{copper_total}" readonly /></div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-experience">
|
|
<div class="experience-grid">
|
|
<div class="experience-box1 header">
|
|
<h1 data-i18n="experience-u">EXPERIENCE</h1>
|
|
</div>
|
|
<div class="experience-box2 header">
|
|
<input class="input-number" type="number" name="attr_experience" value="0" min="0" title="@{experience}" />
|
|
</div>
|
|
<div class="experience-box3 header"></div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-willpower">
|
|
<div class="willpower-grid">
|
|
<div class="willpower-box1 header">
|
|
<h1 data-i18n="willpower-u">WILLPOWER</h1>
|
|
</div>
|
|
<div class="willpower-box2">
|
|
<input type="radio" name="attr_willpower" value="0" data-i18n-title="no-willpower" title="No Willpower" style="margin: 4px 8px 0 2px; width: 0.85em;" checked />
|
|
<input class="xbox" type="radio" name="attr_willpower" value="1" title="1 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="2" title="2 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="3" title="3 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="4" title="4 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="5" title="5 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="6" title="6 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="7" title="7 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="8" title="8 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="9" title="9 @{willpower}" /><span></span>
|
|
<input class="xbox" type="radio" name="attr_willpower" value="10" title="10 @{willpower}" /><span></span>
|
|
</div>
|
|
<div class="willpower-box3">
|
|
<span class="input-span" name="attr_willpower" title="@{willpower}"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-beasts">
|
|
<div class="beasts-grid">
|
|
<div class="beasts-box header">
|
|
<h1 data-i18n="beasts-u">BEASTS</h1>
|
|
</div>
|
|
<div class="beasts-box1 column-header"><span data-i18n="type">Type</span></div>
|
|
<div class="beasts-box2 column-header"><span data-i18n="strength-abbr-u">STR</span></div>
|
|
<div class="beasts-box3 column-header"><span data-i18n="agility-abbr-u">AGI</span></div>
|
|
<div class="beasts-box4 column-header"><span data-i18n="mounted">Mounted</span></div>
|
|
<div class="beasts-box5 column-header"><span data-i18n="carry">Carry</span></div>
|
|
<div class="beasts-box6 column-header"><span data-i18n="encumbrance-current-abbr">Current Encum</span></div>
|
|
<div class="beasts-box7 column-header"><span data-i18n="notes">Notes</span></div>
|
|
<div class="beasts-box8">
|
|
<fieldset class="repeating_beasts">
|
|
<div class="beasts-grid">
|
|
<input class="beasts-box1 input" type="text" name="attr_beast_type" value="" data-i18n-placeholder="type-name" placeholder="Type/Name" title="@{repeating_beasts_$X_beast_type}" />
|
|
<input class="beasts-box2 input-number" type="number" name="attr_beast_strength" value="0" min="0" title="@{repeating_beasts_$X_beast_strength}" />
|
|
<input class="beasts-box3 input-number" type="number" name="attr_beast_agility" value="0" min="0" title="@{repeating_beasts_$X_beast_agility}" />
|
|
<input class="beasts-box4 input" type="checkbox" name="attr_beast_mounted" value="1" title="@{repeating_beasts_$X_beast_mounted}" />
|
|
<input class="beasts-box5 input input-number-center" type="text" name="attr_beast_carry" value="0" title="@{repeating_beasts_$X_beast_carry} = mount_strength x2, unmounted x4" readonly />
|
|
<input class="beasts-box6 input input-number-center" type="number" name="attr_beast_encumbrance" title="@{repeating_beasts_$X_beast_encumbrance}" value="0" min="0" step="0.5" />
|
|
<textarea class="beasts-box7 input-textarea" name="attr_beast_notes" data-i18n-placeholder="gear-notes" placeholder="Gear/Notes" title="@{repeating_beasts_$X_beast_notes}"></textarea>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-relationships">
|
|
<div class="relationships-grid">
|
|
<div class="relationships-box1 header">
|
|
<h1 data-i18n="relationships-u">RELATIONSHIPS</h1>
|
|
</div>
|
|
<div class="relationships-box2">
|
|
<fieldset class="repeating_relationships">
|
|
<div class="relationships-grid">
|
|
<div class="relationships-box3">
|
|
<input class="input-number" type="text" name="attr_pc_name" value="" title="@{repeating_relationships_$X_pc_name}" data-i18n-placeholder="pc-name" placeholder="PC's name" />
|
|
</div>
|
|
<div class="relationships-box4">
|
|
<textarea class="input-textarea" name="attr_pc_description" title="@{repeating_relationships_$X_pc_description}" data-i18n-placeholder="relationship-description" placeholder="Describe the relationship."></textarea>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only toggle-monster-only character-spells">
|
|
<div class="spells-grid">
|
|
<div class="spells-box header">
|
|
<h1 data-i18n="spell-u">SPELLS</h1>
|
|
</div>
|
|
<div class="spells-box0 column-header"></div>
|
|
<div class="spells-box1 column-header"><span data-i18n="name">Name</span></div>
|
|
<div class="spells-box2 column-header"><span data-i18n="rank">Rank</span></div>
|
|
<div class="spells-box3 column-header"><span data-i18n="willpower-abbr">Will</span></div>
|
|
<div class="spells-box4 column-header"><span data-i18n="range">Range</span></div>
|
|
<div class="spells-box5 column-header"><span data-i18n="duration">Duration</span></div>
|
|
<div class="spells-box6 column-header"><span data-i18n="ingredients">Ingredients</span></div>
|
|
<div class="spells-box7">
|
|
<fieldset class="repeating_spells">
|
|
<div class="spells-grid">
|
|
<input class="expand" type="checkbox" name="attr_expand" data-i18n-title="show-hide" title="show/hide" checked /><span></span>
|
|
<button class="spells-box0 roll-button" type="action" name="act_spell-roll" data-i18n-title="update-dice-pool" title="Update the dice pool. Use the 'Roll' button to roll the dice.">t</button>
|
|
<input class="spells-box1 input" type="text" name="attr_spell_name" value="" title="@{repeating_spells_$X_spell_name}" data-i18n-placeholder="spell-name" placeholder="Spell's name" />
|
|
<select class="spells-box2 input" name="attr_spell_rank" title="@{repeating_spells_$X_spell_rank}">
|
|
<option value="1" selected>1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
<option value="4">4</option>
|
|
</select>
|
|
<input class="spells-box3 input" type="number" name="attr_spell_willpower" value="1" min="1" title="@{repeating_spells_$X_spell_willpower}" />
|
|
<select class="spells-box4 input" name="attr_spell_range" title="@{repeating_spells_$X_spell_range}">
|
|
<option value="Personal" selected data-i18n="personal">Personal</option>
|
|
<option value="Arm's L." data-i18n="arms-length-abbr">Arm's L.</option>
|
|
<option value="Short" data-i18n="short">Short</option>
|
|
<option value="Near" data-i18n="near">Near</option>
|
|
<option value="Distant" data-i18n="distant">Distant</option>
|
|
</select>
|
|
<input class="spells-box5 input" type="text" name="attr_spell_duration" value="" title="@{repeating_spells_$X_spell_duration}" />
|
|
<input class="spells-box6 input" type="text" name="attr_spell_ingredients" value="" title="@{repeating_spells_$X_spell_ingredients}" />
|
|
<textarea class="spells-box7 input-textarea" name="attr_spell_description" title="@{repeating_spells_$X_spell_description}" data-i18n-placeholder="description" placeholder="Description."></textarea>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box toggle-dice-only character-notes">
|
|
<div class="notes-grid">
|
|
<div class="notes-box1 header">
|
|
<h1 data-i18n="notes-u">NOTES</h1>
|
|
</div>
|
|
<div class="notes-box2">
|
|
<fieldset class="repeating_notes">
|
|
<div class="notes-grid">
|
|
<div class="notes-box3">
|
|
<button type="roll" name="roll_notes" title="%{repeating_notes_$X_notes}" value="&{template:forbiddenlands} {{character_name=@{character_name}}} {{character_id=@{character_id}}} {{name=^{notes}}} {{subtitle=@{note_name}}} {{free-text=@{note_description}}}" class="btn ui-draggable"></button>
|
|
</div>
|
|
<div class="notes-box4">
|
|
<input class="input-number" type="text" name="attr_note_name" value="" title="@{repeating_notes_$X_note_name}" data-i18n="note-name" placeholder="Note's name" />
|
|
</div>
|
|
<div class="notes-box5">
|
|
<textarea class="input-textarea" name="attr_note_description" title="@{repeating_notes_$X_note_description}" data-i18n="note-description" placeholder="Note's description."></textarea>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wrapper tab-content stronghold">
|
|
<div class="stronghold-grid">
|
|
<div class="box stronghold-details">
|
|
<div class="stronghold-details-grid">
|
|
<div class="stronghold-details-box1 header">
|
|
<h1 data-i18n="stronghold-u">STRONGHOLD</h1>
|
|
</div>
|
|
<div class="stronghold-details-box2"><span class="label" data-i18n="name">Name</span></div>
|
|
<div class="stronghold-details-box3">
|
|
<input class="input-number" type="text" name="attr_stronghold_name" value="" title="@{stronghold_name}" />
|
|
</div>
|
|
<div class="stronghold-details-box4"><span class="label" data-i18n="location">Location</span></div>
|
|
<div class="stronghold-details-box5">
|
|
<input class="input-number" type="text" name="attr_stronghold_location" value="" title="@{stronghold_location}" />
|
|
</div>
|
|
<div class="stronghold-details-box6"><span class="label" data-i18n="defense-rating">Defense Rating</span></div>
|
|
<div class="stronghold-details-box7">
|
|
<input class="input-number" type="number" name="attr_stronghold_dr" value="0" title="@{stronghold_dr}" />
|
|
</div>
|
|
<div class="stronghold-details-box8"><span class="label" data-i18n="description">Description</span></div>
|
|
<div class="stronghold-details-box9">
|
|
<textarea class="input-textarea" name="attr_stronghold_description" title="@{stronghold_description}"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box stronghold-functions">
|
|
<div class="stronghold-functions-grid">
|
|
<div class="stronghold-functions-box header">
|
|
<h1 data-i18n="function-u">FUNCTIONS</h1>
|
|
</div>
|
|
<div class="stronghold-functions-box1 column-header"><span data-i18n="name">Name</span></div>
|
|
<div class="stronghold-functions-box2 column-header"><span data-i18n="number-abbr">Num</span></div>
|
|
<div class="stronghold-functions-box3 column-header"><span data-i18n="production-outcome">Production/Outcome</span></div>
|
|
<div class="stronghold-functions-box4">
|
|
<fieldset class="repeating_functions">
|
|
<div class="stronghold-functions-grid">
|
|
<input class="stronghold-functions-box1 input" type="text" name="attr_function_name" value="" title="@repeating_functions_$X_function_name}" />
|
|
<input class="stronghold-functions-box2 input-number" type="text" name="attr_function_number" value="" title="@{repeating_functions_$X_function_number}" />
|
|
<textarea class="stronghold-functions-box3 input-textarea" name="attr_function_production" title="@{repeating_functions_$X_function_production}"></textarea>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box stronghold-hirelings">
|
|
<div class="stronghold-hirelings-grid">
|
|
<div class="stronghold-hirelings-box header">
|
|
<h1 data-i18n="hirelings-u">HIRELINGS</h1>
|
|
</div>
|
|
<div class="stronghold-hirelings-box1 column-header"><span data-i18n="profession">Profession</span></div>
|
|
<div class="stronghold-hirelings-box2 column-header"><span data-i18n="number-abbr">Num</span></div>
|
|
<div class="stronghold-hirelings-box3 column-header"><span data-i18n="salary">Salary copper/day</span></div>
|
|
<div class="stronghold-hirelings-box4">
|
|
<fieldset class="repeating_hirelings">
|
|
<div class="stronghold-hirelings-grid">
|
|
<input class="stronghold-hirelings-box1 input" type="text" name="attr_hireling_name" value="" title="@{repeating_hirelings_$X_hireling_name}" />
|
|
<input class="stronghold-hirelings-box2 input-number" type="number" name="attr_hireling_number" value="1" step="1" min="0" title="@{repeating_hirelings_$X_hireling_number}" />
|
|
<input class="stronghold-hirelings-box3 input-number" type="number" name="attr_hireling_salary" value="0" step="1" min="0" title="@{repeating_hirelings_$X_hireling_salary}" />
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<div class="stronghold-hirelings-box5">
|
|
<div class="stronghold-hirelings-grid">
|
|
<span class="stronghold-hirelings-box2 label" data-i18n="total" style="margin-top: 6px 0 0 10px;">Total</span>
|
|
<input class="stronghold-hirelings-box3 center" name="attr_hirelings_cost" type="number" value="0" title="@{hirelings_cost}" style="margin-bottom: 5px;" readonly />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box stronghold-stockpile">
|
|
<div class="stronghold-stockpile-grid" data-i18n-list="stockpile-list">
|
|
<div class="stronghold-stockpile-box1 header">
|
|
<h1 data-i18n="stockpile-u">STOCKPILE</h1>
|
|
</div>
|
|
<div class="stronghold-stockpile-box2 column-header"><span data-i18n="units">Units</span></div>
|
|
<div class="stronghold-stockpile-box3 column-header"><span data-i18n="units">Units</span></div>
|
|
<div class="stronghold-stockpile-box4 column-header"><span data-i18n="units">Units</span></div>
|
|
<span class="label" data-i18n-list-item="bread" data-i18n="bread">Bread</span><input class="input-number" type="number" name="attr_stockpile_bread" value="0" min="0" title="@{stockpile_bread}" />
|
|
<span class="label" data-i18n-list-item="cloth" data-i18n="cloth">Cloth</span><input class="input-number" type="number" name="attr_stockpile_cloth" value="0" min="0" title="@{stockpile_cloth}" />
|
|
<span class="label" data-i18n-list-item="fish" data-i18n="fish">Fish</span><input class="input-number" type="number" name="attr_stockpile_fish" value="0" min="0" title="@{stockpile_fish}" />
|
|
<span class="label" data-i18n-list-item="flour" data-i18n="flour">Flour</span><input class="input-number" type="number" name="attr_stockpile_flour" value="0" min="0" title="@{stockpile_flour}" />
|
|
<span class="label" data-i18n-list-item="food" data-i18n="food">Food</span><input class="input-number" type="number" name="attr_stockpile_food" value="0" min="0" title="@{stockpile_food}" />
|
|
<span class="label" data-i18n-list-item="fur" data-i18n="fur">Fur</span><input class="input-number" type="number" name="attr_stockpile_fur" value="0" min="0" title="@{stockpile_fur}" />
|
|
<span class="label" data-i18n-list-item="glass" data-i18n="glass">Glass</span><input class="input-number" type="number" name="attr_stockpile_glass" value="0" min="0" title="@{stockpile_glass}" />
|
|
<span class="label" data-i18n-list-item="gold" data-i18n="gold">Gold</span><input class="input-number" type="number" name="attr_stockpile_gold" value="0" min="0" title="@{stockpile_gold}" />
|
|
<span class="label" data-i18n-list-item="grain" data-i18n="grain">Grain</span><input class="input-number" type="number" name="attr_stockpile_grain" value="0" min="0" title="@{stockpile_grain}" />
|
|
<span class="label" data-i18n-list-item="herbs" data-i18n="herbs">Herbs</span><input class="input-number" type="number" name="attr_stockpile_herbs" value="0" min="0" title="@{stockpile_herbs}" />
|
|
<span class="label" data-i18n-list-item="iron" data-i18n="iron">Iron</span><input class="input-number" type="number" name="attr_stockpile_iron" value="0" min="0" title="@{stockpile_iron}" />
|
|
<span class="label" data-i18n-list-item="iron-ore" data-i18n="iron-ore">Iron Ore</span><input class="input-number" type="number" name="attr_stockpile_iron_ore" value="0" min="0" title="@{stockpile_iron_ore}" />
|
|
<span class="label" data-i18n-list-item="leather" data-i18n="leather">Leather</span><input class="input-number" type="number" name="attr_stockpile_leather" value="0" min="0" title="@{stockpile_leather}" />
|
|
<span class="label" data-i18n-list-item="meat" data-i18n="meat">Meat</span><input class="input-number" type="number" name="attr_stockpile_meat" value="0" min="0" title="@{stockpile_meat}" />
|
|
<span class="label" data-i18n-list-item="silver" data-i18n="silver">Silver</span><input class="input-number" type="number" name="attr_stockpile_silver" value="0" min="0" title="@{stockpile_silver}" />
|
|
<span class="label" data-i18n-list-item="stone" data-i18n="stone">Stone</span><input class="input-number" type="number" name="attr_stockpile_stone" value="0" min="0" title="@{stockpile_stone}" />
|
|
<span class="label" data-i18n-list-item="tallow" data-i18n="tallow">Tallow</span><input class="input-number" type="number" name="attr_stockpile_tallow" value="0" min="0" title="@{stockpile_tallow}" />
|
|
<span class="label" data-i18n-list-item="vegetables" data-i18n="vegetables">Vegetables</span><input class="input-number" type="number" name="attr_stockpile_vegatables" value="0" min="0" title="@{stockpile_vegatables}" />
|
|
<span class="label" data-i18n-list-item="water" data-i18n="water">Water</span><input class="input-number" type="number" name="attr_stockpile_water" value="0" min="0" title="@{stockpile_water}" />
|
|
<span class="label" data-i18n-list-item="wood" data-i18n="wood">Wood</span><input class="input-number" type="number" name="attr_stockpile_wood" value="0" min="0" title="@{stockpile_wood}" />
|
|
<span class="label" data-i18n-list-item="wool" data-i18n="wool">Wool</span><input class="input-number" type="number" name="attr_stockpile_wool" value="0" min="0" title="@{stockpile_wool}" />
|
|
</div>
|
|
</div>
|
|
<div class="box stronghold-notes">
|
|
<div class="stronghold-notes-grid">
|
|
<div class="stronghold-notes-box1 header">
|
|
<h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
|
|
</div>
|
|
<textarea class="stronghold-stronghold_notes-box2 input-textarea" name="attr_stronghold_notes" title="@{stronghold_notes}"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Roll Templates -->
|
|
<rolltemplate class="sheet-rolltemplate-forbiddenlands">
|
|
<div class="template-wrap">
|
|
<div class="template-grid">
|
|
<div class="template-grid-item template-span-six template-header">
|
|
{{#character_name}}
|
|
<div class="template-grid-item template-span-left template-header">
|
|
{{#character_id}}[{{character_name}}](https://journal.roll20.net/character/{{character_id}}){{/character_id}}
|
|
{{^character_id}}{{character_name}}{{/character_id}}
|
|
</div>
|
|
{{#name}}
|
|
<div class="template-grid-item template-span-center template-header">◇</div>
|
|
{{/name}}
|
|
{{/character_name}}
|
|
{{#name}}
|
|
<div class="template-grid-item template-span-right template-header">
|
|
{{#name_link}}[{{name}}]({{name_link}}){{/name_link}}
|
|
{{^name_link}}{{name}}{{/name_link}}
|
|
</div>
|
|
{{/name}}
|
|
</div>
|
|
{{#subtitle}}
|
|
<div class="template-grid-item template-span-six template-subtitle"><span>{{subtitle}}</span></div>
|
|
{{/subtitle}}
|
|
|
|
<!--- dice pool -->
|
|
{{#rollTotal() attribute-die-one 1}}
|
|
<div class="template-grid-item template-span-one template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-one}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-one}}
|
|
{{#rollBetween() attribute-roll-one 2 5}}
|
|
{{attribute-roll-one}}
|
|
{{/rollBetween() attribute-roll-one 2 5}}
|
|
{{#rollWasCrit() attribute-roll-one}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-one}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-one 1}}
|
|
{{#rollTotal() attribute-die-two 1}}
|
|
<div class="template-grid-item template-span-two template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-two}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-two}}
|
|
{{#rollBetween() attribute-roll-two 2 5}}
|
|
{{attribute-roll-two}}
|
|
{{/rollBetween() attribute-roll-two 2 5}}
|
|
{{#rollWasCrit() attribute-roll-two}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-two}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-two 1}}
|
|
{{#rollTotal() skill-die-one 1}}
|
|
<div class="template-grid-item template-span-three template-maroon-dice">
|
|
{{#rollBetween() skill-roll-one 1 5}}
|
|
{{skill-roll-one}}
|
|
{{/rollBetween() skill-roll-one 1 5}}
|
|
{{#rollWasCrit() skill-roll-one}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-one}}
|
|
</div>
|
|
{{/rollTotal() skill-die-one 1}}
|
|
{{#rollTotal() skill-die-two 1}}
|
|
<div class="template-grid-item template-span-four template-maroon-dice">
|
|
{{#rollBetween() skill-roll-two 1 5}}
|
|
{{skill-roll-two}}
|
|
{{/rollBetween() skill-roll-two 1 5}}
|
|
{{#rollWasCrit() skill-roll-two}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-two}}
|
|
</div>
|
|
{{/rollTotal() skill-die-two 1}}
|
|
{{#rollTotal() negative-die-one 1}}
|
|
<div class="template-grid-item template-span-three template-purple-dice">
|
|
{{#rollBetween() negative-roll-one 1 5}}
|
|
{{negative-roll-one}}
|
|
{{/rollBetween() negative-roll-one 1 5}}
|
|
{{#rollWasCrit() negative-roll-one}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() negative-roll-one}}
|
|
</div>
|
|
{{/rollTotal() negative-die-one 1}}
|
|
{{#rollTotal() negative-die-two 1}}
|
|
<div class="template-grid-item template-span-four template-purple-dice">
|
|
{{#rollBetween() negative-roll-two 1 5}}
|
|
{{negative-roll-two}}
|
|
{{/rollBetween() negative-roll-two 1 5}}
|
|
{{#rollWasCrit() negative-roll-two}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() negative-roll-two}}
|
|
</div>
|
|
{{/rollTotal() negative-die-two 1}}
|
|
{{#rollTotal() gear-die-one 1}}
|
|
<div class="template-grid-item template-span-five template-black-dice">
|
|
{{#rollWasFumble() gear-roll-one}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-one}}
|
|
{{#rollBetween() gear-roll-one 2 5}}
|
|
{{gear-roll-one}}
|
|
{{/rollBetween() gear-roll-one 2 5}}
|
|
{{#rollWasCrit() gear-roll-one}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-one}}
|
|
</div>
|
|
{{/rollTotal() gear-die-one 1}}
|
|
{{#rollTotal() gear-die-two 1}}
|
|
<div class="template-grid-item template-span-shix template-black-dice">
|
|
{{#rollWasFumble() gear-roll-two}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-two}}
|
|
{{#rollBetween() gear-roll-two 2 5}}
|
|
{{gear-roll-two}}
|
|
{{/rollBetween() gear-roll-two 2 5}}
|
|
{{#rollWasCrit() gear-roll-two}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-two}}
|
|
</div>
|
|
{{/rollTotal() gear-die-two 1}}
|
|
<!--- BEGIN ROW TWO --->
|
|
{{#rollTotal() attribute-die-three 1}}
|
|
<div class="template-grid-item template-span-one template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-three}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-three}}
|
|
{{#rollBetween() attribute-roll-three 2 5}}
|
|
{{attribute-roll-three}}
|
|
{{/rollBetween() attribute-roll-three 2 5}}
|
|
{{#rollWasCrit() attribute-roll-three}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-three}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-three 1}}
|
|
{{#rollTotal() attribute-die-four 1}}
|
|
<div class="template-grid-item template-span-two template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-four}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-four}}
|
|
{{#rollBetween() attribute-roll-four 2 5}}
|
|
{{attribute-roll-four}}
|
|
{{/rollBetween() attribute-roll-four 2 5}}
|
|
{{#rollWasCrit() attribute-roll-four}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-four}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-four 1}}
|
|
{{#rollTotal() skill-die-three 1}}
|
|
<div class="template-grid-item template-span-three template-maroon-dice">
|
|
{{#rollBetween() skill-roll-three 1 5}}
|
|
{{skill-roll-three}}
|
|
{{/rollBetween() skill-roll-three 1 5}}
|
|
{{#rollWasCrit() skill-roll-three}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-three}}
|
|
</div>
|
|
{{/rollTotal() skill-die-three 1}}
|
|
{{#rollTotal() skill-die-four 1}}
|
|
<div class="template-grid-item template-span-four template-maroon-dice">
|
|
{{#rollBetween() skill-roll-four 1 5}}
|
|
{{skill-roll-four}}
|
|
{{/rollBetween() skill-roll-four 1 5}}
|
|
{{#rollWasCrit() skill-roll-four}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-four}}
|
|
</div>
|
|
{{/rollTotal() skill-die-four 1}}
|
|
{{#rollTotal() negative-die-three 1}}
|
|
<div class="template-grid-item template-span-three template-purple-dice">
|
|
{{#rollBetween() negative-roll-three 1 5}}
|
|
{{negative-roll-three}}
|
|
{{/rollBetween() negative-roll-three 1 5}}
|
|
{{#rollWasCrit() negative-roll-three}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() negative-roll-three}}
|
|
</div>
|
|
{{/rollTotal() negative-die-three 1}}
|
|
{{#rollTotal() gear-die-three 1}}
|
|
<div class="template-grid-item template-span-five template-black-dice">
|
|
{{#rollWasFumble() gear-roll-three}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-three}}
|
|
{{#rollBetween() gear-roll-three 2 5}}
|
|
{{gear-roll-three}}
|
|
{{/rollBetween() gear-roll-three 2 5}}
|
|
{{#rollWasCrit() gear-roll-three}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-three}}
|
|
</div>
|
|
{{/rollTotal() gear-die-three 1}}
|
|
{{#rollTotal() gear-die-four 1}}
|
|
<div class="template-grid-item template-span-shix template-black-dice">
|
|
{{#rollWasFumble() gear-roll-four}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-four}}
|
|
{{#rollBetween() gear-roll-four 2 5}}
|
|
{{gear-roll-four}}
|
|
{{/rollBetween() gear-roll-four 2 5}}
|
|
{{#rollWasCrit() gear-roll-four}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-four}}
|
|
</div>
|
|
{{/rollTotal() gear-die-four 1}}
|
|
<!--- BEGIN ROW THREE -->
|
|
{{#rollTotal() attribute-die-five 1}}
|
|
<div class="template-grid-item template-span-one template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-five}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-five}}
|
|
{{#rollBetween() attribute-roll-five 2 5}}
|
|
{{attribute-roll-five}}
|
|
{{/rollBetween() attribute-roll-five 2 5}}
|
|
{{#rollWasCrit() attribute-roll-five}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-five}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-five 1}}
|
|
{{#rollTotal() attribute-die-six 1}}
|
|
<div class="template-grid-item template-span-two template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-six}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-six}}
|
|
{{#rollBetween() attribute-roll-six 2 5}}
|
|
{{attribute-roll-six}}
|
|
{{/rollBetween() attribute-roll-six 2 5}}
|
|
{{#rollWasCrit() attribute-roll-six}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-six}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-six 1}}
|
|
{{#rollTotal() skill-die-five 1}}
|
|
<div class="template-grid-item template-span-three template-maroon-dice">
|
|
{{#rollBetween() skill-roll-five 1 5}}
|
|
{{skill-roll-five}}
|
|
{{/rollBetween() skill-roll-five 1 5}}
|
|
{{#rollWasCrit() skill-roll-five}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-five}}
|
|
</div>
|
|
{{/rollTotal() skill-die-five 1}}
|
|
{{#rollTotal() skill-die-six 1}}
|
|
<div class="template-grid-item template-span-four template-maroon-dice">
|
|
{{#rollBetween() skill-roll-six 1 5}}
|
|
{{skill-roll-six}}
|
|
{{/rollBetween() skill-roll-six 1 5}}
|
|
{{#rollWasCrit() skill-roll-six}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-six}}
|
|
</div>
|
|
{{/rollTotal() skill-die-six 1}}
|
|
{{#rollTotal() gear-die-five 1}}
|
|
<div class="template-grid-item template-span-five template-black-dice">
|
|
{{#rollWasFumble() gear-roll-five}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-five}}
|
|
{{#rollBetween() gear-roll-five 2 5}}
|
|
{{gear-roll-five}}
|
|
{{/rollBetween() gear-roll-five 2 5}}
|
|
{{#rollWasCrit() gear-roll-five}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-five}}
|
|
</div>
|
|
{{/rollTotal() gear-die-five 1}}
|
|
{{#rollTotal() gear-die-six 1}}
|
|
<div class="template-grid-item template-span-shix template-black-dice">
|
|
{{#rollWasFumble() gear-roll-six}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-six}}
|
|
{{#rollBetween() gear-roll-six 2 5}}
|
|
{{gear-roll-six}}
|
|
{{/rollBetween() gear-roll-six 2 5}}
|
|
{{#rollWasCrit() gear-roll-six}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-six}}
|
|
</div>
|
|
{{/rollTotal() gear-die-six 1}}
|
|
<!--- BEGIN ROW FOUR -->
|
|
{{#rollTotal() attribute-die-seven 1}}
|
|
<div class="template-grid-item template-span-one template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-seven}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-seven}}
|
|
{{#rollBetween() attribute-roll-seven 2 5}}
|
|
{{attribute-roll-seven}}
|
|
{{/rollBetween() attribute-roll-seven 2 5}}
|
|
{{#rollWasCrit() attribute-roll-seven}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-seven}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-seven 1}}
|
|
{{#rollTotal() attribute-die-eight 1}}
|
|
<div class="template-grid-item template-span-two template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-eight}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-eight}}
|
|
{{#rollBetween() attribute-roll-eight 2 5}}
|
|
{{attribute-roll-eight}}
|
|
{{/rollBetween() attribute-roll-eight 2 5}}
|
|
{{#rollWasCrit() attribute-roll-eight}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-eight}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-eight 1}}
|
|
{{#rollTotal() skill-die-seven 1}}
|
|
<div class="template-grid-item template-span-three template-maroon-dice">
|
|
{{#rollBetween() skill-roll-seven 1 5}}
|
|
{{skill-roll-seven}}
|
|
{{/rollBetween() skill-roll-seven 1 5}}
|
|
{{#rollWasCrit() skill-roll-seven}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-seven}}
|
|
</div>
|
|
{{/rollTotal() skill-die-seven 1}}
|
|
{{#rollTotal() skill-die-eight 1}}
|
|
<div class="template-grid-item template-span-four template-maroon-dice">
|
|
{{#rollBetween() skill-roll-eight 1 5}}
|
|
{{skill-roll-eight}}
|
|
{{/rollBetween() skill-roll-eight 1 5}}
|
|
{{#rollWasCrit() skill-roll-eight}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-eight}}
|
|
</div>
|
|
{{/rollTotal() skill-die-eight 1}}
|
|
{{#rollTotal() gear-die-seven 1}}
|
|
<div class="template-grid-item template-span-five template-black-dice">
|
|
{{#rollWasFumble() gear-roll-seven}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-seven}}
|
|
{{#rollBetween() gear-roll-seven 2 5}}
|
|
{{gear-roll-seven}}
|
|
{{/rollBetween() gear-roll-seven 2 5}}
|
|
{{#rollWasCrit() gear-roll-seven}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-seven}}
|
|
</div>
|
|
{{/rollTotal() gear-die-seven 1}}
|
|
{{#rollTotal() gear-die-eight 1}}
|
|
<div class="template-grid-item template-span-shix template-black-dice">
|
|
{{#rollWasFumble() gear-roll-eight}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-eight}}
|
|
{{#rollBetween() gear-roll-eight 2 5}}
|
|
{{gear-roll-eight}}
|
|
{{/rollBetween() gear-roll-eight 2 5}}
|
|
{{#rollWasCrit() gear-roll-eight}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-eight}}
|
|
</div>
|
|
{{/rollTotal() gear-die-eight 1}}
|
|
<!--- BEGIN ROW FIVE -->
|
|
{{#rollTotal() attribute-die-nine 1}}
|
|
<div class="template-grid-item template-span-one template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-nine}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-nine}}
|
|
{{#rollBetween() attribute-roll-nine 2 5}}
|
|
{{attribute-roll-nine}}
|
|
{{/rollBetween() attribute-roll-nine 2 5}}
|
|
{{#rollWasCrit() attribute-roll-nine}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-nine}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-nine 1}}
|
|
{{#rollTotal() attribute-die-ten 1}}
|
|
<div class="template-grid-item template-span-two template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-ten}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-ten}}
|
|
{{#rollBetween() attribute-roll-ten 2 5}}
|
|
{{attribute-roll-ten}}
|
|
{{/rollBetween() attribute-roll-ten 2 5}}
|
|
{{#rollWasCrit() attribute-roll-ten}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-ten}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-ten 1}}
|
|
{{#rollTotal() skill-die-nine 1}}
|
|
<div class="template-grid-item template-span-three template-maroon-dice">
|
|
{{#rollBetween() skill-roll-nine 1 5}}
|
|
{{skill-roll-nine}}
|
|
{{/rollBetween() skill-roll-nine 1 5}}
|
|
{{#rollWasCrit() skill-roll-nine}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-nine}}
|
|
</div>
|
|
{{/rollTotal() skill-die-nine 1}}
|
|
{{#rollTotal() skill-die-ten 1}}
|
|
<div class="template-grid-item template-span-four template-maroon-dice">
|
|
{{#rollBetween() skill-roll-ten 1 5}}
|
|
{{skill-roll-ten}}
|
|
{{/rollBetween() skill-roll-ten 1 5}}
|
|
{{#rollWasCrit() skill-roll-ten}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() skill-roll-ten}}
|
|
</div>
|
|
{{/rollTotal() skill-die-ten 1}}
|
|
{{#rollTotal() gear-die-nine 1}}
|
|
<div class="template-grid-item template-span-five template-black-dice">
|
|
{{#rollWasFumble() gear-roll-nine}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-nine}}
|
|
{{#rollBetween() gear-roll-nine 2 5}}
|
|
{{gear-roll-nine}}
|
|
{{/rollBetween() gear-roll-nine 2 5}}
|
|
{{#rollWasCrit() gear-roll-nine}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-nine}}
|
|
</div>
|
|
{{/rollTotal() gear-die-nine 1}}
|
|
{{#rollTotal() gear-die-ten 1}}
|
|
<div class="template-grid-item template-span-shix template-black-dice">
|
|
{{#rollWasFumble() gear-roll-ten}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-ten}}
|
|
{{#rollBetween() gear-roll-ten 2 5}}
|
|
{{gear-roll-ten}}
|
|
{{/rollBetween() gear-roll-ten 2 5}}
|
|
{{#rollWasCrit() gear-roll-ten}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-ten}}
|
|
</div>
|
|
{{/rollTotal() gear-die-ten 1}}
|
|
<!--- BEGIN ROW SIX -->
|
|
{{#rollTotal() attribute-die-eleven 1}}
|
|
<div class="template-grid-item template-span-one template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-eleven}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-eleven}}
|
|
{{#rollBetween() attribute-roll-eleven 2 5}}
|
|
{{attribute-roll-eleven}}
|
|
{{/rollBetween() attribute-roll-eleven 2 5}}
|
|
{{#rollWasCrit() attribute-roll-eleven}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-eleven}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-eleven 1}}
|
|
{{#rollTotal() attribute-die-twelve 1}}
|
|
<div class="template-grid-item template-span-two template-white-dice">
|
|
{{#rollWasFumble() attribute-roll-twelve}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927713/1ttsrv1QW1ml3hT8btQr-Q/max.png" alt="Bane" class="template-bane" />
|
|
{{/rollWasFumble() attribute-roll-twelve}}
|
|
{{#rollBetween() attribute-roll-twelve 2 5}}
|
|
{{attribute-roll-twelve}}
|
|
{{/rollBetween() attribute-roll-twelve 2 5}}
|
|
{{#rollWasCrit() attribute-roll-twelve}}
|
|
<img src="https://s3.amazonaws.com/files.d20.io/images/76927679/CFpe4OjkRyZn5M9YGvUGPg/max.png" alt="Success" class="template-success" />
|
|
{{/rollWasCrit() attribute-roll-twelve}}
|
|
</div>
|
|
{{/rollTotal() attribute-die-twelve 1}}
|
|
{{#rollTotal() gear-die-eleven 1}}
|
|
<div class="template-grid-item template-span-five template-black-dice">
|
|
{{#rollWasFumble() gear-roll-eleven}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-eleven}}
|
|
{{#rollBetween() gear-roll-eleven 2 5}}
|
|
{{gear-roll-eleven}}
|
|
{{/rollBetween() gear-roll-eleven 2 5}}
|
|
{{#rollWasCrit() gear-roll-eleven}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-eleven}}
|
|
</div>
|
|
{{/rollTotal() gear-die-eleven 1}}
|
|
{{#rollTotal() gear-die-twelve 1}}
|
|
<div class="template-grid-item template-span-shix template-black-dice">
|
|
{{#rollWasFumble() gear-roll-twelve}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollWasFumble() gear-roll-twelve}}
|
|
{{#rollBetween() gear-roll-twelve 2 5}}
|
|
{{gear-roll-twelve}}
|
|
{{/rollBetween() gear-roll-twelve 2 5}}
|
|
{{#rollWasCrit() gear-roll-twelve}}
|
|
<span data-i18n-title="success" title="Success"><img src="https://s3.amazonaws.com/files.d20.io/images/76927688/p3KFOOAONvq7PbYMO2jxzg/max.png" alt="Success" class="template-success" /></span>
|
|
{{/rollWasCrit() gear-roll-twelve}}
|
|
</div>
|
|
{{/rollTotal() gear-die-twelve 1}}
|
|
<!--- BEGIN ROW SEVEN -->
|
|
{{#rollTotal() artifact-die-eight 1}}
|
|
<div class="template-grid-item template-span-five template-green-dice">
|
|
{{#rollBetween() artifact-roll-eight 1 5}}
|
|
{{artifact-roll-eight}}
|
|
{{/rollBetween() artifact-roll-eight 1 5}}
|
|
{{#rollBetween() artifact-roll-eight 6 7}}
|
|
<div class="template-artifact-1">
|
|
<span class="template-inline" data-i18n-title="success-1" title="1 Success">1</span></div>
|
|
{{/rollBetween() artifact-roll-eight 6 7}}
|
|
{{#rollWasCrit() artifact-roll-eight}}
|
|
<div class="template-artifact-2">
|
|
<span class="template-inline" data-i18n-title="success-2" title="2 Successes">2</span></div>
|
|
{{/rollWasCrit() artifact-roll-eight}}
|
|
</div>
|
|
{{/rollTotal() artifact-die-eight 1}}
|
|
{{#rollTotal() artifact-die-ocho 1}}
|
|
<div class="template-grid-item template-span-shix template-green-dice">
|
|
{{#rollBetween() artifact-roll-ocho 1 5}}
|
|
{{artifact-roll-ocho}}
|
|
{{/rollBetween() artifact-roll-ocho 1 5}}
|
|
{{#rollBetween() artifact-roll-ocho 6 7}}
|
|
<div class="template-artifact-1">
|
|
<span class="template-inline" data-i18n-title="success-1" title="1 Success">1</span></div>
|
|
{{/rollBetween() artifact-roll-ocho 6 7}}
|
|
{{#rollWasCrit() artifact-roll-ocho}}
|
|
<div class="template-artifact-2">
|
|
<span class="template-inline" data-i18n-title="success-2" title="2 Successes">2</span></div>
|
|
{{/rollWasCrit() artifact-roll-ocho}}
|
|
</div>
|
|
{{/rollTotal() artifact-die-ocho 1}}
|
|
<!--- BEGIN ROW EIGHT -->
|
|
{{#rollTotal() artifact-die-ten 1}}
|
|
<div class="template-grid-item template-span-five template-blue-dice">
|
|
{{#rollBetween() artifact-roll-ten 1 5}}
|
|
{{artifact-roll-ten}}
|
|
{{/rollBetween() artifact-roll-ten 1 5}}
|
|
{{#rollBetween() artifact-roll-ten 6 7}}
|
|
<div class="template-artifact-1">
|
|
<span class="template-inline" data-i18n-title="success-1" title="1 Success">1</span></div>
|
|
{{/rollBetween() artifact-roll-ten 6 7}}
|
|
{{#rollBetween() artifact-roll-ten 8 9}}
|
|
<div class="template-artifact-2">
|
|
<span class="template-inline" data-i18n-title="success-2" title="2 Successes">2</span></div>
|
|
{{/rollBetween() artifact-roll-ten 8 9}}
|
|
{{#rollWasCrit() artifact-roll-ten}}
|
|
<div class="template-artifact-3">
|
|
<span class="template-inline" data-i18n-title="success-3" title="3 Successes">3</span></div>
|
|
{{/rollWasCrit() artifact-roll-ten}}
|
|
</div>
|
|
{{/rollTotal() artifact-die-ten 1}}
|
|
{{#rollTotal() artifact-die-twelve 1}}
|
|
<div class="template-grid-item template-span-shix template-orange-dice">
|
|
{{#rollBetween() artifact-roll-twelve 1 5}}
|
|
{{artifact-roll-twelve}}
|
|
{{/rollBetween() artifact-roll-twelve 1 5}}
|
|
{{#rollBetween() artifact-roll-twelve 6 7}}
|
|
<div class="template-artifact-1">
|
|
<span class="template-inline" data-i18n-title="success-1" title="1 Success">1</span></div>
|
|
{{/rollBetween() artifact-roll-twelve 6 7}}
|
|
{{#rollBetween() artifact-roll-twelve 8 9}}
|
|
<div class="template-artifact-2">
|
|
<span class="template-inline" data-i18n-title="success-2" title="2 Successes">2</span></div>
|
|
{{/rollBetween() artifact-roll-twelve 8 9}}
|
|
{{#rollBetween() artifact-roll-twelve 10 11}}
|
|
<div class="template-artifact-3">
|
|
<span class="template-inline" data-i18n-title="success-3" title="3 Successes">3</span></div>
|
|
{{/rollBetween() artifact-roll-twelve 10 11}}
|
|
{{#rollWasCrit() artifact-roll-twelve}}
|
|
<div class="template-artifact-4">
|
|
<span class="template-inline" data-i18n-title="success-4" title="4 Successes">4</span></div>
|
|
{{/rollWasCrit() artifact-roll-twelve}}
|
|
</div>
|
|
{{/rollTotal() artifact-die-twelve 1}}
|
|
|
|
<!--- consumables -->
|
|
<!--- d6 -->
|
|
{{#rollTotal() consumable-die-six 1}}
|
|
<div class="template-grid-item template-span-center-die template-purple-dice">
|
|
{{#rollBetween() consumable-roll-six 1 2}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollBetween() consumable-roll-six 1 2}}
|
|
{{#rollBetween() consumable-roll-six 3 6}}
|
|
{{consumable-roll-six}}
|
|
{{/rollBetween() consumable-roll-six 3 6}}
|
|
</div>
|
|
{{/rollTotal() consumable-die-six 1}}
|
|
<!--- d8 -->
|
|
{{#rollTotal() consumable-die-eight 1}}
|
|
<div class="template-grid-item template-span-center-die template-purple-dice">
|
|
{{#rollBetween() consumable-roll-eight 1 2}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollBetween() consumable-roll-eight 1 2}}
|
|
{{#rollBetween() consumable-roll-eight 3 8}}
|
|
{{consumable-roll-eight}}
|
|
{{/rollBetween() consumable-roll-eight 3 8}}
|
|
</div>
|
|
{{/rollTotal() consumable-die-eight 1}}
|
|
<!--- d10 -->
|
|
{{#rollTotal() consumable-die-ten 1}}
|
|
<div class="template-grid-item template-span-center-die template-purple-dice">
|
|
{{#rollBetween() consumable-roll-ten 1 2}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollBetween() consumable-roll-ten 1 2}}
|
|
{{#rollBetween() consumable-roll-ten 3 10}}
|
|
{{consumable-roll-ten}}
|
|
{{/rollBetween() consumable-roll-ten 3 10}}
|
|
</div>
|
|
{{/rollTotal() consumable-die-ten 1}}
|
|
<!--- d12 -->
|
|
{{#rollTotal() consumable-die-twelve 1}}
|
|
<div class="template-grid-item template-span-center-die template-purple-dice">
|
|
{{#rollBetween() consumable-roll-twelve 1 2}}
|
|
<span data-i18n-title="bane" title="Bane"><img src="https://s3.amazonaws.com/files.d20.io/images/76927704/49c2rsljrzIbg0eE13ixWw/max.png" alt="Bane" class="template-bane" /></span>
|
|
{{/rollBetween() consumable-roll-twelve 1 2}}
|
|
{{#rollBetween() consumable-roll-twelve 3 12}}
|
|
{{consumable-roll-twelve}}
|
|
{{/rollBetween() consumable-roll-twelve 3 12}}
|
|
</div>
|
|
{{/rollTotal() consumable-die-twelve 1}}
|
|
<!--- d66 -->
|
|
{{#rollTotal() d66-die-one 1}}
|
|
<div class="template-grid-item template-span-three template-maroon-dice">
|
|
{{#rollBetween() d66-roll-one 1 6}}
|
|
{{d66-roll-one}}
|
|
{{/rollBetween() d66-roll-one 1 6}}
|
|
</div>
|
|
{{/rollTotal() d66-die-one 1}}
|
|
{{#rollTotal() d66-die-two 1}}
|
|
<div class="template-grid-item template-span-four template-maroon-dice">
|
|
{{#rollBetween() d66-roll-two 1 6}}
|
|
{{d66-roll-two}}
|
|
{{/rollBetween() d66-roll-two 1 6}}
|
|
</div>
|
|
{{/rollTotal() d66-die-two 1}}
|
|
|
|
<!--- dice pool column labels in footer-->
|
|
{{#attribute-die-one}}
|
|
<div class="template-grid-item template-span-left">
|
|
<span class="template-smaller sheet-small-caps" data-i18n="base-dice">Base Dice</span>
|
|
</div>
|
|
<div class="template-grid-item template-span-center">
|
|
<span class="template-smaller sheet-small-caps" data-i18n="skill-dice">Skill Dice</span>
|
|
</div>
|
|
<div class="template-grid-item template-span-right">
|
|
<span class="template-smaller sheet-small-caps" data-i18n="gear-dice">Gear Dice</span>
|
|
</div>
|
|
{{/attribute-die-one}}
|
|
|
|
<!--- attack -->
|
|
<div class="template-grid-item template-span-six">
|
|
{{#weapon-bonus}}<span class="label" data-i18n="bonus">Bonus</span>: {{weapon-bonus}}{{/weapon-bonus}}
|
|
{{#weapon-damage}}<span class="label" data-i18n="damage">Damage</span>: {{weapon-damage}}{{/weapon-damage}}
|
|
{{#attack-features}}<span> ({{attack-features}})</span>{{/attack-features}}
|
|
{{#weapon-range}}<span class="label" data-i18n="range">Range</span>: {{weapon-range}}{{/weapon-range}}
|
|
</div>
|
|
|
|
{{#weapon-features}}
|
|
<div class="template-grid-item template-span-six scroll-text"><span class="label" data-i18n="features">Features</span>: {{weapon-features}}</div>
|
|
{{/weapon-features}}
|
|
{{#attack-description}}
|
|
<div class="template-grid-item template-span-six scroll-text">{{attack-description}}</div>
|
|
{{/attack-description}}
|
|
|
|
<!--- spell -->
|
|
{{#spell-rank}}{{#spell-willpower}}
|
|
<div class="template-grid-item template-span-six">
|
|
<span class="label" data-i18n="rank">Rank</span>: {{spell-rank}}
|
|
<span class="label" data-i18n="willpower">Willpower</span>: {{spell-willpower}}
|
|
</div>
|
|
{{/spell-willpower}}{{/spell-rank}}
|
|
|
|
{{#spell-range}}{{#spell-duration}}
|
|
<div class="template-grid-item template-span-six">
|
|
<span class="label" data-i18n="range">Range</span>: {{spell-range}}
|
|
<span class="label" data-i18n="duration">Duration</span>: {{spell-duration}}
|
|
</div>
|
|
{{/spell-duration}}{{/spell-range}}
|
|
|
|
{{#spell-ingredients}}
|
|
<div class="template-grid-item template-span-six">
|
|
<span class="label" data-i18n="ingredients">Ingredients</span>: {{spell-ingredients}}</div>
|
|
{{/spell-ingredients}}
|
|
{{#spell-description}}
|
|
<div class="template-grid-item template-span-six scroll-text">{{spell-description}}</div>
|
|
{{/spell-description}}
|
|
|
|
{{#free-text}}<div class="template-grid-item template-span-six free-text scroll-text">
|
|
<span>{{free-text}}</span></div>{{/free-text}}
|
|
{{#footer}}<div class="template-grid-item template-span-six template-footer">{{footer}}</div>{{/footer}}
|
|
|
|
{{#allprops() character_name name character_id name_link subtitle free-text footer attribute-die-one attribute-die-two attribute-die-three attribute-die-four attribute-die-five attribute-die-six attribute-die-seven attribute-die-eight attribute-die-nine attribute-die-ten attribute-die-eleven attribute-die-twelve skill-die-one skill-die-two skill-die-three skill-die-four skill-die-five skill-die-six skill-die-seven skill-die-eight skill-die-nine skill-die-ten negative-die-one negative-die-two negative-die-three gear-die-one gear-die-two gear-die-three gear-die-four gear-die-five gear-die-six gear-die-seven gear-die-eight gear-die-nine gear-die-ten gear-die-eleven gear-die-twelve artifact-die-eight artifact-die-ocho artifact-die-ten artifact-die-twelve attribute-roll-one attribute-roll-two attribute-roll-three attribute-roll-four attribute-roll-five attribute-roll-six attribute-roll-seven attribute-roll-eight attribute-roll-nine attribute-roll-ten attribute-roll-eleven attribute-roll-twelve skill-roll-one skill-roll-two skill-roll-three skill-roll-four skill-roll-five skill-roll-six skill-roll-seven skill-roll-eight skill-roll-nine skill-roll-ten negative-roll-one negative-roll-two negative-roll-three gear-roll-one gear-roll-two gear-roll-three gear-roll-four gear-roll-five gear-roll-six gear-roll-seven gear-roll-eight gear-roll-nine gear-roll-ten gear-roll-eleven gear-roll-twelve artifact-roll-eight artifact-roll-ocho artifact-roll-ten artifact-roll-twelve consumable-die-six consumable-die-eight d66-die-one d66-roll-one d66-die-two d66-roll-two consumable-die-ten consumable-die-twelve consumable-roll-six consumable-roll-eight consumable-roll-ten consumable-roll-twelve push-query weapon-bonus weapon-damage attack-features weapon-range weapon-features attack-description spell-rank spell-willpower spell-range spell-duration spell-ingredients spell-description}}
|
|
<div class="template-grid-item template-span-half"><span>**{{key}}**:</span></div>
|
|
<div class="template-grid-item template-span-2nd-half"><span>{{value}}</span></div>
|
|
{{/allprops() character_name name character_id name_link subtitle free-text footer attribute-die-one attribute-die-two attribute-die-three attribute-die-four attribute-die-five attribute-die-six attribute-die-seven attribute-die-eight attribute-die-nine attribute-die-ten attribute-die-eleven attribute-die-twelve skill-die-one skill-die-two skill-die-three skill-die-four skill-die-five skill-die-six skill-die-seven skill-die-eight skill-die-nine skill-die-ten negative-die-one negative-die-two negative-die-three gear-die-one gear-die-two gear-die-three gear-die-four gear-die-five gear-die-six gear-die-seven gear-die-eight gear-die-nine gear-die-ten gear-die-eleven gear-die-twelve artifact-die-eight artifact-die-ocho artifact-die-ten artifact-die-twelve attribute-roll-one attribute-roll-two attribute-roll-three attribute-roll-four attribute-roll-five attribute-roll-six attribute-roll-seven attribute-roll-eight attribute-roll-nine attribute-roll-ten attribute-roll-eleven attribute-roll-twelve skill-roll-one skill-roll-two skill-roll-three skill-roll-four skill-roll-five skill-roll-six skill-roll-seven skill-roll-eight skill-roll-nine skill-roll-ten negative-roll-one negative-roll-two negative-roll-three gear-roll-one gear-roll-two gear-roll-three gear-roll-four gear-roll-five gear-roll-six gear-roll-seven gear-roll-eight gear-roll-nine gear-roll-ten gear-roll-eleven gear-roll-twelve artifact-roll-eight artifact-roll-ocho artifact-roll-ten artifact-roll-twelve consumable-die-six consumable-die-eight d66-die-one d66-roll-one d66-die-two d66-roll-two consumable-die-ten consumable-die-twelve consumable-roll-six consumable-roll-eight consumable-roll-ten consumable-roll-twelve push-query weapon-bonus weapon-damage attack-features weapon-range weapon-features attack-description spell-rank spell-willpower spell-range spell-duration spell-ingredients spell-description}}
|
|
|
|
</div>
|
|
</div>
|
|
</rolltemplate>
|
|
|
|
<script type="text/worker">
|
|
'use strict';
|
|
|
|
/* version tracking */
|
|
var Sheet = Sheet || (function () {
|
|
|
|
let currentVersion = 1.56,
|
|
|
|
newAnnouncement = function (v) {
|
|
getAttrs(["version", "show_announcements"], function (values) {
|
|
const version = parseFloat(values["version"], 10) || 0;
|
|
console.log(">>>> New Announcements: v" + version + "<<<<");
|
|
setAttrs({
|
|
"show_announcements": 1
|
|
});
|
|
});
|
|
},
|
|
|
|
/* recalculateSheet */
|
|
recalculateSheet = function (oldversion) {
|
|
//set olderversion to currentVersion if you want to force announcement window
|
|
if (oldversion < 1.54) {
|
|
//call your updates/functions here
|
|
console.log(">>>> Updating Forbidden Lands sheet <<<<");
|
|
newAnnouncement();
|
|
}
|
|
},
|
|
|
|
/* checkForUpdate looks at current version of page in
|
|
* version and compares to code Sheet.version calls
|
|
* recalulateSheet if versions don't match or if recalculate
|
|
* button was pressed. */
|
|
checkForUpdate = function () {
|
|
getAttrs(["version", "recalc1"], function (v) {
|
|
let setter = {},
|
|
currVer = 0,
|
|
setAny = 0,
|
|
recalc = false;
|
|
currVer = parseFloat(v["version"], 10) || 0;
|
|
console.log(">>>> Current sheet data version: " + currVer + ", Sheet code version: " + currentVersion + " <<<<");
|
|
|
|
if (currVer !== currentVersion) {
|
|
recalc = true;
|
|
setter["version"] = currentVersion;
|
|
setAny = 1;
|
|
}
|
|
if (v["recalc1"] && v["recalc1"] !== "0") {
|
|
currVer = -1;
|
|
recalc = true;
|
|
setter["recalc1"] = 0;
|
|
setAny = 1;
|
|
}
|
|
if (setAny) {
|
|
setAttrs(setter);
|
|
}
|
|
if (recalc) {
|
|
recalculateSheet(currVer);
|
|
}
|
|
});
|
|
};
|
|
return {
|
|
currentVersion: currentVersion,
|
|
checkForUpdate: checkForUpdate
|
|
//Add changes/updates here
|
|
|
|
};
|
|
}());
|
|
|
|
on("change:recalc1 sheet:opened", function () {
|
|
Sheet.checkForUpdate();
|
|
});
|
|
|
|
/* ===== PARAMETERS ==========
|
|
GiGs 'Super Simple Summarizer'
|
|
*/
|
|
const repeatingSum = (destination, section, fields, multiplier = 1) => {
|
|
if (!Array.isArray(fields)) fields = [fields];
|
|
getSectionIDs(`repeating_${section}`, idArray => {
|
|
const attrArray = idArray.reduce((m, id) => [...m, ...(fields.map(field => `repeating_${section}_${id}_${field}`))], []);
|
|
getAttrs(attrArray, v => {
|
|
console.log(">>> values of v: " + JSON.stringify(v) + " <<<<");
|
|
// getValue: if not a number, returns 1 if it is 'on' (checkbox), otherwise returns 0..
|
|
const getValue = (section, id, field) => parseFloat(v[`repeating_${section}_${id}_${field}`], 10) || (v[`repeating_${section}_${id}_${field}`] === 'on' ? 1 : 0);
|
|
const sumTotal = idArray.reduce((total, id) => total + fields.reduce((subtotal, field) => subtotal * getValue(section, id, field), 1), 0);
|
|
setAttrs({
|
|
[destination]: sumTotal * multiplier
|
|
});
|
|
});
|
|
});
|
|
};
|
|
|
|
/* hireling cost */
|
|
on('change:repeating_hirelings remove:repeating_hirelings sheet_opened', function () {
|
|
console.log(">>>> Change Detected: Hirelings <<<<");
|
|
repeatingSum("hirelings_cost", "hirelings", ["hireling_number", "hireling_salary"]);
|
|
});
|
|
|
|
/* character encumbrance */
|
|
on('change:repeating_gear remove:repeating_gear sheet_opened', function () {
|
|
console.log(">>>> Change Detected: Character Gear Encumbrance <<<<");
|
|
repeatingSum("character_gear_encumbrance", "gear", ["gear_weight", "gear_qty", "gear_carried"]);
|
|
});
|
|
|
|
/* mount encumbrance */
|
|
on('change:repeating_mount remove:repeating_mount sheet_opened', function () {
|
|
console.log(">>>> Change Detected: Mount's Gear Encumbrance <<<<");
|
|
repeatingSum("mount_gear_encumbrance", "mount", ["mount_gear_weight", "mount_gear_qty", "mount_gear_carried"]);
|
|
});
|
|
|
|
/* weapons encumbrance */
|
|
on('change:repeating_weapons remove:repeating_weapons sheet_opened', function () {
|
|
console.log(">>>> Change Detected: Character Weapons Encumbrance <<<<");
|
|
repeatingSum("weapons_encumbrance", "weapons", ["weapon_weight", "weapon_carried"]);
|
|
});
|
|
|
|
/* armor/helmet weight */
|
|
on('sheet_opened change:armor1_carried change:armor2_carried change:armor1_weight change:armor2_weight', function () {
|
|
getAttrs(["armor1_carried", "armor2_carried", "armor1_weight", "armor2_weight"], function (values) {
|
|
console.log(">>>> Change Detected: Armor/Helmet Weight <<<<");
|
|
const armor1_carried = parseInt(values["armor1_carried"], 10) || 0,
|
|
armor2_carried = parseInt(values["armor2_carried"], 10) || 0,
|
|
armor1_weight = parseFloat(values["armor1_weight"], 10) || 0,
|
|
armor2_weight = parseFloat(values["armor2_weight"], 10) || 0,
|
|
temp_armor1_carried = (armor1_carried * armor1_weight),
|
|
temp_armor2_carried = (armor2_carried * armor2_weight),
|
|
armor_carried = (temp_armor1_carried + temp_armor2_carried).toFixed(1);
|
|
console.log(">>>> Armor/Helmet Weight: " + armor_carried + " <<<<");
|
|
setAttrs({
|
|
"armor_encumbrance": armor_carried
|
|
});
|
|
});
|
|
});
|
|
|
|
/* shield weight */
|
|
on('sheet_opened change:shield1_carried change:shield1_weight', function () {
|
|
getAttrs(["shield1_carried", "shield1_weight"], function (values) {
|
|
console.log(">>>> Change Detected: Shield Weight <<<<");
|
|
const shield1_carried = parseInt(values["shield1_carried"], 10) || 0,
|
|
shield1_weight = parseFloat(values["shield1_weight"], 10) || 0,
|
|
temp_shield1_carried = (shield1_carried * shield1_weight),
|
|
shield_carried = (temp_shield1_carried).toFixed(1);
|
|
|
|
console.log(">>>> Shield Weight: " + shield1_carried + " <<<<");
|
|
|
|
setAttrs({
|
|
"shield_encumbrance": shield_carried
|
|
});
|
|
});
|
|
});
|
|
|
|
/* coin weight */
|
|
on('sheet_opened change:gold change:silver change:copper change:gold_mount change:silver_mount change:copper_mount', function () {
|
|
getAttrs(["gold", "silver", "copper", "gold_mount", "silver_mount", "copper_mount"], function (values) {
|
|
console.log(">>>> Change Detected: Coin Weight <<<<");
|
|
const gold = parseInt(values["gold"], 10) || 0,
|
|
silver = parseInt(values["silver"], 10) || 0,
|
|
copper = parseInt(values["copper"], 10) || 0,
|
|
temp_carried = Math.floor((gold + silver + copper) / 100) * 100,
|
|
output_carried = ((temp_carried) * 0.005).toFixed(1),
|
|
gold_mount = parseInt(values["gold_mount"], 10) || 0,
|
|
silver_mount = parseInt(values["silver_mount"], 10) || 0,
|
|
copper_mount = parseInt(values["copper_mount"], 10) || 0,
|
|
temp_mount = Math.floor((gold_mount + silver_mount + copper_mount) / 100) * 100,
|
|
output_mount = ((temp_mount) * 0.005).toFixed(1);
|
|
setAttrs({
|
|
"coins_carried": output_carried,
|
|
"coins_carried_mount": output_mount
|
|
});
|
|
});
|
|
});
|
|
|
|
/* total encumbrance */
|
|
on('sheet_opened change:character_gear_encumbrance change:mount_gear_encumbrance change:coins_carried change:coins_carried_mount change:weapons_encumbrance change:armor_encumbrance change:shield_encumbrance', function () {
|
|
getAttrs(["character_gear_encumbrance", "mount_gear_encumbrance", "coins_carried", "coins_carried_mount", "weapons_encumbrance", "armor_encumbrance", "shield_encumbrance", "armor_shield_encumbrance"], function (values) {
|
|
console.log(">>>> Change Detected: Character Encumbrance <<<<");
|
|
const character_gear_encumbrance = parseFloat(values["character_gear_encumbrance"], 10) || 0,
|
|
mount_gear_encumbrance = parseFloat(values["mount_gear_encumbrance"], 10) || 0,
|
|
weapons_encumbrance = parseFloat(values["weapons_encumbrance"], 10) || 0,
|
|
armor_encumbrance = parseFloat(values["armor_encumbrance"], 10) || 0,
|
|
shield_encumbrance = parseFloat(values["shield_encumbrance"], 10) || 0,
|
|
armor_shield_encumbrance = (armor_encumbrance + shield_encumbrance),
|
|
coins_carried = parseFloat(values["coins_carried"], 10) || 0,
|
|
coins_carried_mount = parseFloat(values["coins_carried_mount"], 10) || 0,
|
|
sum_character_weight = (character_gear_encumbrance + weapons_encumbrance + armor_encumbrance + shield_encumbrance + coins_carried),
|
|
sum_mount_weight = (mount_gear_encumbrance + coins_carried_mount);
|
|
setAttrs({
|
|
"armor_shield_encumbrance": armor_shield_encumbrance,
|
|
"character_encumbrance": sum_character_weight,
|
|
"mount_encumbrance": sum_mount_weight
|
|
});
|
|
});
|
|
});
|
|
|
|
/* coin total */
|
|
on('sheet_opened change:gold change:silver change:copper change:gold_mount change:silver_mount change:copper_mount change:gold_other change:silver_other change:copper_other', function () {
|
|
getAttrs(["gold", "silver", "copper", "gold_mount", "silver_mount", "copper_mount", "gold_other", "silver_other", "copper_other"], function (values) {
|
|
console.log(">>>> Change Detected: Coin Total <<<<");
|
|
const gold = parseInt(values["gold"], 10) || 0,
|
|
silver = parseInt(values["silver"], 10) || 0,
|
|
copper = parseInt(values["copper"], 10) || 0,
|
|
gold_mount = parseInt(values["gold_mount"], 10) || 0,
|
|
silver_mount = parseInt(values["silver_mount"], 10) || 0,
|
|
copper_mount = parseInt(values["copper_mount"], 10) || 0,
|
|
gold_other = parseInt(values["gold_other"], 10) || 0,
|
|
silver_other = parseInt(values["silver_other"], 10) || 0,
|
|
copper_other = parseInt(values["copper_other"], 10) || 0,
|
|
sum_gold = (gold + gold_mount + gold_other),
|
|
sum_silver = (silver + silver_mount + silver_other),
|
|
sum_copper = (copper + copper_mount + copper_other);
|
|
setAttrs({
|
|
"gold_total": sum_gold,
|
|
"silver_total": sum_silver,
|
|
"copper_total": sum_copper
|
|
});
|
|
});
|
|
});
|
|
|
|
|
|
/* ability damage calcs */
|
|
const damages = {
|
|
// an Object Literal: damages['strength'] returns 'damage', damages['empathy'] returns 'doubt', etc
|
|
strength: 'damage',
|
|
agility: 'fatigue',
|
|
wits: 'confusion',
|
|
empathy: 'doubt'
|
|
};
|
|
Object.keys(damages).forEach(stat => {
|
|
// creates a sheet worker for each stat in damages - first stat = 'strength', then stat = 'agility', etc
|
|
// in each worker, stat = the stat (strength, agility, etc) and damages[stat] = the associated damage ('damage'. 'fatigue', etc)
|
|
on(`change:${stat} change:${damages[stat]}`, function () {
|
|
console.log(">>> ${stat} or ${damages[stat]} has changed. <<<<");
|
|
getAttrs([stat, damages[stat]], values => {
|
|
const stat_score = parseInt(values[stat], 10) || 0,
|
|
damage_score = parseInt(values[damages[stat]], 10) || 0;
|
|
setAttrs({
|
|
[stat + '_total']: Math.max(0, stat_score - damage_score)
|
|
//Math.max returns the highest value from a comma separated list - it's just like roll20's kh1 dice function.
|
|
// so you don't need the if( value > 0) test. With math.max, if the value is below 0, it becomes 0.
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
/* skill total calcs */
|
|
const attributes = {
|
|
// a javascript Object Literal, containing each skill, and its corresponding attribute
|
|
'Animal Handling': 'empathy_total',
|
|
Crafting: 'strength_total',
|
|
Endurance: 'strength_total',
|
|
Healing: 'empathy_total',
|
|
Insight: 'wits_total',
|
|
Lore: 'wits_total',
|
|
Manipulation: 'empathy_total',
|
|
Marksmanship: 'agility_total',
|
|
Melee: 'strength_total',
|
|
Might: 'strength_total',
|
|
Move: 'agility_total',
|
|
Performance: 'empathy_total',
|
|
Scouting: 'wits_total',
|
|
'Sleight of Hand': 'agility_total',
|
|
Stealth: 'agility_total',
|
|
Survival: 'wits_total'
|
|
},
|
|
getSkill = (label) => label.split(' ').join('_').toLowerCase(),
|
|
// a function to change (for example) "Animal Handling" to "animal_handling"
|
|
// needed for a couple of functions below
|
|
|
|
getSkillKey = (label) => label.split(' ').join('-').toLowerCase();
|
|
// a function to change (for example) "Animal Handling" to "animal-handling"
|
|
// needed for a couple of functions below
|
|
|
|
Object.keys(attributes).forEach(skill_name => {
|
|
// creates a sheet worker for each skill in attributes - first skill = 'strength', then stat = 'agility', etc
|
|
// in each worker, stat = the stat (strength, agility, etc) and damages[stat] = the associated damage ('damage'. 'fatigue', etc)
|
|
const skill = getSkill(skill_name);
|
|
on(`change:${skill} change:${attributes[skill_name]}`, function () {
|
|
console.log(">>> ${skill} or ${attributes[skill_name]} has changed. <<<<");
|
|
getAttrs([skill, attributes[skill_name]], function (values) {
|
|
const stat_score = parseInt(values[attributes[skill_name]], 10) || 0,
|
|
skill_score = parseInt(values[skill], 10) || 0;
|
|
setAttrs({
|
|
[skill + '_total']: stat_score + skill_score
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
/* Wes's Dice Pool */
|
|
const pools = {
|
|
attribute: {
|
|
max: 12,
|
|
negative: 0
|
|
},
|
|
skill: {
|
|
max: 10,
|
|
negative: 3
|
|
},
|
|
gear: {
|
|
max: 12,
|
|
negative: 0
|
|
}
|
|
};
|
|
// need to know the max pool size for each type, and whether negative dice should be in the pool.
|
|
const numbers = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve'];
|
|
// need to convert numbers 1-12 to text. left index 0 empty, as its not needed.
|
|
Object.keys(pools).forEach(which => {
|
|
on(`change:${which}`, function () {
|
|
getAttrs([which], function (values) {
|
|
let score = Math.min(pools[which].max, parseInt(values[which], 10) || 0);
|
|
const settings = {};
|
|
// loop through numbers from 1 to the pool's max, and enter a value of 1 if less < pool value, or 0 otherwise.
|
|
for (let d = 1; d <= pools[which].max; d++) {
|
|
// pools[which].max gets the max value from the pools object.
|
|
settings[`${which}_die_${numbers[d]}`] = (d <= score) ? 1 : 0;
|
|
// `${which}_die_${numbers[d]}` creates a name like 'gear_die_three'
|
|
// (d <= score) ? 1 : 0; checks current index and assigns value of 1 if less than equal to pool score
|
|
// settings[attribute] = value stores the appropriate attribute names and values
|
|
}
|
|
|
|
// need to check negative dice, and compare score
|
|
// negative dice are set to zero. They are set to 1 only if pool.negative > 0, score is below zero, and absolute value of score is below 1-3.
|
|
for (let n = 1; n <= 3; n++) {
|
|
settings[`negative_die_${numbers[n]}`] = (pools[which].negative && score < 0 && n <= Math.abs(score)) ? 1 : 0;
|
|
}
|
|
|
|
setAttrs(settings);
|
|
});
|
|
});
|
|
});
|
|
|
|
const dicePoolButtons = (which) => {
|
|
console.log(">>>> Change Detected: Dice Pool ${which} - button clicked <<<<");
|
|
getAttrs([attributes[which], getSkill(which), getSkillKey(which)], function (values) {
|
|
// attributes[which] returns the attribute; e.g attributes['Stealth'] gives 'agility_total'
|
|
// getSkill(which) converts the skill name to a valid attribute string: getSkill('Animal Handling') gives 'animal_handling'
|
|
const stat = parseInt(values[attributes[which]], 10) || 0;
|
|
// stat here first gets attributes['Stealth'] which will be, say, 'agility_total' and
|
|
// then values['ability_total'] gives you the score from the character sheet.
|
|
|
|
// used to set the proper translation key
|
|
let whichKey = getTranslationByKey(getSkillKey(which));
|
|
|
|
setAttrs({
|
|
attribute: stat > 0 ? stat : 0, // this is a Ternary Operator, it starts with a question (e.g. is stat > 0)
|
|
// and if true, returns the bit after the ? and if false returns the bit after the :
|
|
// you can often replace simple if/then expressions with a single line ternary operator.
|
|
skill: parseInt(values[getSkill(which)], 10) || 0,
|
|
// uses the translation key
|
|
gear: 0,
|
|
current_preset: whichKey,
|
|
include_with_roll: ""
|
|
});
|
|
});
|
|
};
|
|
|
|
Object.keys(attributes).forEach(skill => {
|
|
on(`clicked:dice_pool_${getSkill(skill)}`, () =>dicePoolButtons(skill));
|
|
});
|
|
|
|
on("clicked:dice_pool_clear", function () {
|
|
console.log(">>>> Change Detected: Clear Dice Pool - button clicked <<<<");
|
|
setAttrs({
|
|
attribute: 0,
|
|
skill: 0,
|
|
gear: 0,
|
|
artifact_die_eight: 0,
|
|
artifact_die_ocho: 0,
|
|
artifact_die_ten: 0,
|
|
artifact_die_twelve: 0,
|
|
current_preset: getTranslationByKey(`custom`),
|
|
include_with_roll: ""
|
|
});
|
|
});
|
|
|
|
/* api dice toggle */
|
|
on("clicked:api_dice_toggle", function () {
|
|
console.log(">>>> Change Detected: API Dice Toggle - button clicked <<<<");
|
|
getAttrs(["api_toggle"], function (values) {
|
|
const api_toggle = parseInt(values.api_toggle, 10) || 0;
|
|
let buttonState = api_toggle;
|
|
|
|
if (buttonState !== 0) {
|
|
buttonState = 0
|
|
} else {
|
|
buttonState = 1
|
|
}
|
|
setAttrs({
|
|
api_toggle: buttonState
|
|
});
|
|
});
|
|
});
|
|
|
|
/* set reputation dice pool */
|
|
on("clicked:reputation-roll", function () {
|
|
console.log(">>>> Change Detected: Reputation - button clicked <<<<");
|
|
getAttrs(["reputation"], function (values) {
|
|
const reputation = parseInt(values.reputation, 10) || 0;
|
|
setAttrs({
|
|
attribute: 0,
|
|
skill: 0,
|
|
gear: reputation,
|
|
current_preset: getTranslationByKey(`reputation-roll`),
|
|
include_with_roll: ""
|
|
});
|
|
});
|
|
});
|
|
|
|
/* set weapon dice pool */
|
|
on("clicked:repeating_weapons:attack-roll", function () {
|
|
console.log(">>>> Change Detected: Weapon - button clicked <<<<");
|
|
getAttrs(['repeating_weapons_weapon_skill', 'repeating_weapons_weapon_name', 'repeating_weapons_weapon_bonus', 'repeating_weapons_weapon_bonus_max', 'repeating_weapons_weapon_damage', 'repeating_weapons_weapon_range', 'repeating_weapons_weapon_features', 'strength_total', 'agility_total', 'wits_total', 'empathy_total', 'marksmanship', 'melee'], function (values) {
|
|
const weapon_skill = parseInt(values.repeating_weapons_weapon_skill, 10) || 0,
|
|
weapon_bonus = parseInt(values.repeating_weapons_weapon_bonus, 10) || 0,
|
|
weapon_bonus_max = parseInt(values.repeating_weapons_weapon_bonus_max, 10) || 0,
|
|
weapon_name = values.repeating_weapons_weapon_name,
|
|
weapon_damage = parseInt(values.repeating_weapons_weapon_damage, 10) || 0,
|
|
weapon_range = values.repeating_weapons_weapon_range,
|
|
weapon_features = values.repeating_weapons_weapon_features,
|
|
attribute = (weapon_skill === 0 ? parseInt(values.strength_total, 10) || 0 : parseInt(values.agility_total, 10) || 0),
|
|
skill = (weapon_skill === 0 ? parseInt(values.melee, 10) || 0 : parseInt(values.marksmanship, 10) || 0),
|
|
weapon_bonus_limit = Math.min(weapon_bonus, weapon_bonus_max);
|
|
setAttrs({
|
|
attribute: attribute,
|
|
skill: skill,
|
|
gear: weapon_bonus_limit,
|
|
current_preset: getTranslationByKey(`weapon`) + ` - ${weapon_name}`,
|
|
include_with_roll: `{{weapon-bonus=${weapon_bonus}}} {{weapon-damage=${weapon_damage}}} {{weapon-range=${weapon_range}}} {{weapon-features=${weapon_features}}}`
|
|
});
|
|
});
|
|
});
|
|
|
|
/* set monster attack dice pool */
|
|
on("clicked:repeating_monster:monster-attack-roll", function () {
|
|
console.log(">>>> Change Detected: Monster Attack - button clicked <<<<");
|
|
getAttrs(['repeating_monster_attack_name', 'repeating_monster_attack_dice', 'repeating_monster_attack_damage', 'repeating_monster_attack_features', 'repeating_monster_attack_range', 'repeating_monster_attack_description'], function (values) {
|
|
const monster_attack_name = values.repeating_monster_attack_name,
|
|
monster_attack_dice = parseInt(values.repeating_monster_attack_dice, 10) || 0,
|
|
monster_attack_damage = parseInt(values.repeating_monster_attack_damage, 10) || 0,
|
|
monster_attack_features = values.repeating_monster_attack_features,
|
|
monster_attack_range = values.repeating_monster_attack_range,
|
|
monster_attack_description = values.repeating_monster_attack_description,
|
|
attribute = monster_attack_dice;
|
|
setAttrs({
|
|
attribute: attribute,
|
|
skill: 0,
|
|
gear: 0,
|
|
current_preset: getTranslationByKey(`attack`) + ` - ${monster_attack_name}`,
|
|
include_with_roll: `{{weapon-damage=${monster_attack_damage}}} {{attack-features=${monster_attack_features}}} {{weapon-range=${monster_attack_range}}} {{weapon-features=${monster_attack_description}}}`
|
|
});
|
|
});
|
|
});
|
|
|
|
/* set spell dice pool */
|
|
on("clicked:repeating_spells:spell-roll", function () {
|
|
console.log(">>>> Change Detected: Spell - button clicked <<<<");
|
|
getAttrs(['repeating_spells_spell_name', 'repeating_spells_spell_rank', 'repeating_spells_spell_range', 'repeating_spells_spell_duration', 'repeating_spells_spell_ingredients', 'repeating_spells_spell_description', 'repeating_spells_spell_willpower'], function (values) {
|
|
const spell_name = values.repeating_spells_spell_name,
|
|
spell_rank = parseInt(values.repeating_spells_spell_rank, 10) || 0,
|
|
spell_willpower = parseInt(values.repeating_spells_spell_willpower, 10) || 0,
|
|
spell_range = values.repeating_spells_spell_range,
|
|
spell_duration = values.repeating_spells_spell_duration,
|
|
spell_ingredients = values.repeating_spells_spell_ingredients,
|
|
spell_description = values.repeating_spells_spell_description
|
|
setAttrs({
|
|
attribute: 0,
|
|
skill: 0,
|
|
gear: spell_willpower,
|
|
current_preset: getTranslationByKey(`spell`) + ` - ${spell_name}`,
|
|
include_with_roll: `{{spell-rank=${spell_rank}}} {{spell-willpower=${spell_willpower}}} {{spell-range=${spell_range}}} {{spell-duration=${spell_duration}}} {{spell-ingredients=${spell_ingredients}}} {{spell-description=${spell_description}}}`
|
|
});
|
|
});
|
|
});
|
|
|
|
/* set armor dice pool */
|
|
on("clicked:armor-roll", function () {
|
|
console.log(">>>> Change Detected: Armor - button clicked <<<<");
|
|
getAttrs(["ar"], function (values) {
|
|
const ar = parseInt(values.ar, 10) || 0;
|
|
setAttrs({
|
|
attribute: 0,
|
|
skill: 0,
|
|
gear: ar,
|
|
current_preset: getTranslationByKey(`armor-roll`),
|
|
include_with_roll: ""
|
|
});
|
|
});
|
|
});
|
|
|
|
/* set shield dice pool */
|
|
on("clicked:shield-roll", function () {
|
|
console.log(">>>> Change Detected: Shield Parry - button clicked <<<<");
|
|
getAttrs(["shield1_bonus_total", "melee"], function (values) {
|
|
const skill = parseInt(values.melee, 10) || 0,
|
|
shield1_bonus_total = parseInt(values.shield1_bonus_total, 10) || 0;
|
|
setAttrs({
|
|
skill: skill,
|
|
gear: shield1_bonus_total,
|
|
current_preset: getTranslationByKey(`shield-parry-roll`),
|
|
include_with_roll: ""
|
|
});
|
|
});
|
|
});
|
|
|
|
on("clicked:shield-shove-roll", function () {
|
|
console.log(">>>> Change Detected: Shield Shove - button clicked <<<<");
|
|
getAttrs(["shield1_bonus_total", "melee"], function (values) {
|
|
const skill = parseInt(values.melee, 10) || 0,
|
|
shield1_bonus_total = parseInt(values.shield1_bonus_total, 10) || 0;
|
|
setAttrs({
|
|
skill: skill,
|
|
gear: shield1_bonus_total,
|
|
current_preset: getTranslationByKey(`shield-shove-roll`),
|
|
include_with_roll: ""
|
|
});
|
|
});
|
|
});
|
|
|
|
/* set armor and shield calcs */
|
|
on("change:armor1_equiped change:armor1_damage change:armor1_bonus change:armor2_equiped change:armor2_damage change:armor2_bonus change:shield1_equiped change:shield1_bonus", function () {
|
|
console.log(">>>> Change Detected: Armor/Helmet/Shield <<<<");
|
|
getAttrs(["armor1_equiped", "armor1_damage", "armor1_bonus", "armor2_equiped", "armor2_damage", "armor2_bonus", "shield1_equiped", "shield1_bonus"], function (values) {
|
|
const armor1_equiped = parseInt(values["armor1_equiped"], 10) || 0,
|
|
armor1_damage = parseInt(values["armor1_damage"], 10) || 0,
|
|
armor1_bonus = parseInt(values["armor1_bonus"], 10) || 0,
|
|
armor2_equiped = parseInt(values["armor2_equiped"], 10) || 0,
|
|
armor2_damage = parseInt(values["armor2_damage"], 10) || 0,
|
|
armor2_bonus = parseInt(values["armor2_bonus"], 10) || 0,
|
|
equiped = parseInt(values.shield1_equiped, 10) || 0,
|
|
shield1_bonus = parseInt(values.shield1_bonus, 10) || 0,
|
|
shield1_bonus_total = Math.max((equiped * (shield1_bonus))),
|
|
tempAR1 = Math.max((armor1_equiped * (armor1_bonus + armor1_damage))),
|
|
tempAR2 = Math.max((armor2_equiped * (armor2_bonus + armor2_damage))),
|
|
tempAR = Math.max((tempAR1 + tempAR2));
|
|
setAttrs({
|
|
"armor1_ar": tempAR1,
|
|
"armor2_ar": tempAR2,
|
|
"ar": tempAR,
|
|
"shield1_bonus_total": shield1_bonus_total
|
|
});
|
|
});
|
|
});
|
|
|
|
/* Mount/Beast Carry calcs */
|
|
const carry = (strength, mounted) => strength * 4 / (mounted + 1);
|
|
|
|
on("change:mounted change:mount_strength", function () {
|
|
console.log(">>>> Change Detected: Mounted/Unmounted <<<<");
|
|
getAttrs(["mounted", "mount_strength"], function (values) {
|
|
const mounted = parseInt(values["mounted"], 10) || 0,
|
|
strength = parseInt(values["mount_strength"], 10) || 0,
|
|
Carry = carry(strength, mounted);
|
|
setAttrs({
|
|
"mount_carry": Carry
|
|
});
|
|
});
|
|
});
|
|
|
|
on("change:repeating_beasts", function () {
|
|
console.log(">>>> Change Detected: Beasts Check Carry Calculation <<<<");
|
|
getAttrs(["repeating_beasts_beast_mounted", "repeating_beasts_beast_strength"], function (values) {
|
|
const mounted = parseInt(values["repeating_beasts_beast_mounted"], 10) || 0,
|
|
strength = parseInt(values["repeating_beasts_beast_strength"], 10) || 0,
|
|
Carry = carry(strength, mounted);
|
|
setAttrs({
|
|
"repeating_beasts_beast_carry": Carry
|
|
});
|
|
});
|
|
});
|
|
|
|
/* Broken Indicator flags*/
|
|
// first create am array listing all 4 stats
|
|
const stats = ['strength', 'agility', 'wits', 'empathy'];
|
|
|
|
/* Update the Dice Pool indicator */
|
|
on("clicked:dice_pool_crafting clicked:dice_pool_might clicked:dice_pool_endurance clicked:dice_pool_melee clicked:dice_pool_stealth clicked:dice_pool_sleight_of_hand clicked:dice_pool_move clicked:dice_pool_marksmanship clicked:dice_pool_scouting clicked:dice_pool_lore clicked:dice_pool_survival clicked:dice_pool_insight clicked:dice_pool_manipulation clicked:dice_pool_performance clicked:dice_pool_healing clicked:dice_pool_animal_handling clicked:reputation-roll clicked:repeating_weapons:attack-roll clicked:repeating_monster:monster-attack-roll clicked:repeating_spells:spell-roll clicked:armor-roll clicked:shield-roll clicked:shield-shove-roll", function () {
|
|
console.log(">>>> Change Detected: Update Dice Pool <<<<");
|
|
getAttrs(["roll_the_dice_flag"], function (values) {
|
|
const flag = parseInt(values.roll_the_dice_flag, 10) || 0;
|
|
setAttrs({
|
|
roll_the_dice_flag: 1 - flag
|
|
});
|
|
});
|
|
});
|
|
|
|
on('sheet:opened change:roll_the_dice_flag', function (event) {
|
|
console.log(">>>> Change Detected: resetting roll_the_dice_flag to zero <<<<");
|
|
const flag = parseInt(event.newValue) || 0; // you dont need to include the ,10
|
|
if (flag === 1) setAttrs({
|
|
roll_the_dice_flag: 0
|
|
}, {
|
|
silent: true
|
|
});
|
|
});
|
|
|
|
/* translate push query */
|
|
on('sheet:opened', function () {
|
|
getAttrs(['translation_push_query'], v => {
|
|
if (v.translation_push_query !== getTranslationByKey('push-query')) {
|
|
setAttrs({
|
|
translation_push_query: getTranslationByKey('push-query')
|
|
});
|
|
}
|
|
});
|
|
});
|
|
|
|
// attribute and skill maximum
|
|
// function which takes an attribute name, its score, and its max, and checks the score is valid.
|
|
// if not, resets its value.
|
|
const checkMax = (stat, score, max) => {
|
|
const settings = {};
|
|
if (score > max) {
|
|
settings[stat] = max;
|
|
} else if (score < 0) {
|
|
settings[stat] = 0;
|
|
}
|
|
return settings;
|
|
};
|
|
stats.forEach(stat => {
|
|
on(`change:${stat} change:tab`, function () {
|
|
getAttrs([stat, 'tab'], function (values) {
|
|
const total = parseInt(values[stat], 10) || 0;
|
|
const tab = parseInt(values.tab, 10) || 0;
|
|
const max = (tab === 4 && stat === 'strength') ? 24 : 6;
|
|
const settings = checkMax(stat, total, max);
|
|
if (settings) setAttrs(settings);
|
|
});
|
|
});
|
|
});
|
|
Object.keys(attributes).forEach(stat => {
|
|
on(`change:${stat}`, function () {
|
|
getAttrs([stat], function (values) {
|
|
const total = parseInt(values[stat], 10) || 0;
|
|
const max = pools.skill.max;
|
|
const settings = checkMax(stat, total, max);
|
|
if (settings) setAttrs(settings);
|
|
});
|
|
});
|
|
});
|
|
|
|
</script>
|
|
|
|
<!--
|
|
------------- i18n-tags generated with ACSI V0.32 (Automated Character Sheet Internationalizer)-------------
|
|
ACSI author: https://github.com/Anduh
|
|
ACSI Sourcecode: https://github.com/Anduh/acsi
|
|
-->
|