* uploaded images * add sheet * updated readme * updated readme * updated readme * Update readme.md * upload gifs * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * fixed unskilled * Update readme.md * updated sheet.json * resized gifs to 400px width * pre-release fixes * pre-release fixes * removed obsolete image * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * renamed to SavageWorldsGraphPaper * renamed folder * Update readme.md * fixed image paths * skill lock does no longer lock mod/wd inputs * removed charset declaration * added wild die to roll templates * changed secondary container height for list items * removed style variable * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * extended Allies block and multiple fixes * removed default values for renaming options * added translation.json and some basic strings * Update readme.md * added more translation strings * added more translation hooks * added renaming option for integrity drawbacks * fixed wrong description * even more translations * remaining translation hooks, new mixin for vehicle weapons, some css reductions * Update readme.md * Update readme.md * updated translations * added * Update readme.md * Update readme.md typo * Update readme.md spelling error * Update readme.md added link * removed custom add item labels due to being not translatable * removed @charset UTF-8; * Update readme.md * yet even more translation stuff * dice parser includes renamed abbreviations * removed placeholder translations from hexfields * circumvented translation error for height * removed untranslatable label from empty list * removed die label from untrained bubble * circumvented translation error for height * updated settings strings * removed transition from damage roll toggle * updated readme * updated translations * Update readme.md * Update readme.md * ordered translations, removed UTF-8 declaration from CSS * added string interpolation * added preview image * Update readme.md * added extra sheet preview image * optimized image * Update readme.md * fixed meta field and extra preview image * string interpolation, missing translations, hyphens to underscore (fml) * fixed introduced errors from refactoring * translation fixes * resolved conflict due to underscore naming scheme * removed console log commands * resolved conflict due to underscore naming scheme #2 * fixed missing skill track labels * updated helper text * Update readme.md * removed obsolete leading whitespaces * prepared scss file for translation overrides * Update readme.md * some JS clean-up * added style option to disable skill die numbers * added settings.gif * Update readme.md * added roll preview * improved roll preview * Update readme.md * Update readme.md * updated list item label * reduced roll preview size * reduced extra sheet preview size * dice parser now captures X+ and X- references as well * made lightest text color slightly darker * switched global transitions to local ones to boost performance * added missing transition * updated readme.md * updated readme.md and sheet.json * added missing color transition * Update readme.md * fixed dice parser bug * added missing opacity transition * Update readme.md * added comment to BS script function * fixed positioning of hexfield * prepared rolltemplates for higher rate of fires * made max rof a global variable * increases rate of fire range to 8 * updated readme.md * added ammunition block * added new help section for ammunition * Update readme.md * Update readme.md * updated sheet.json and translations * Update readme.md * Update readme.md * fixed button color * added missing/changed translations, improved roll templates, extended skill settings * streamlined roll template hooks * added reroll button to roll templates * cleaned up directory, updated sheet.json and readme.md * optimized preview image * Update readme.md * Update readme.md * Update readme.md * added missing reroll, prepared skill rolls for referencing * removed test button * css fixes, added roll button and options to repeating lists * fixed critical bug in dice parser * added set max capacity to ammunition block * removed redundant css * updated sheet.json and readme.md * Update readme.md * updated sheet.json * updated/added preview gifs * Update readme.md * Update readme.md * Update readme.md * removed obsolete/redundant css (575 lines), improved performance * fixed button font-size * removed obsolete characters from css * removed more obsolete characters from css * further css reductions * pluralized label * add line ending * fixed attribute font-size * added dice parser to helper roll buttons * improved rate of fire handling * added rof toggle to repeating lists * Update readme.md * updated sheet.json * fixed sheet default options * refactored running * Update readme.md * updated help text for dice roller * fixed list rolls * added override for wild die in lists * added multiplier to augmentations * added damage button to weapon rolls * reduced html/css/translations * html reduction * updated readme.md * updated readme.md * added damage roll button to power list rolls * added help texts for raise damage, list item options, and extra sheet * updated readme.md * added setting toggles and injection options * added help entry for roll injections * updated readme.md and sheet.json * css fix for roll templates * another css fix * css fixes * updated readme * cleanup * icon position for lower resolutions * icon css reduction * added settings to hide silhouette/skill markers, improved css performance * rearranged some settings * added setting to hide augmentation markers * updated sheet.json * updated readme * alphabetically ordered settings * fixed critical bug in rolls, added toggles for global queries * updated readme * bugfix * small style adjusments * small style adjusments * new weight icon * small icon adjustment * updated sheet.json and preview image * fixed renaming feature * reduced file size of preview image * fixed some Firefox css issues * added three configurable custom buttons * updated readme and sheet.json * rof toggle is now applied to list damage rolls * fixed font-size for damage roll templates * small skill button width adjustment * text overflow fix for firefox * fixed missing silhouette switch * added gm roll toggle * fixed minor attribute inconsistency between wildcard and extras * shortened sheetworkers, added toggle for damage dice exploding * fixed exploding damage dice toggle default * fixed exploding damage dice toggle default for powers * refactored all skill rolls * updated readme and sheet.json * caught error with empty query modifier * extended rol template * extended settings * added abilities block * updated readme and sheet.json * fixed unskilled rolls
79 lines
3.4 KiB
Plaintext
79 lines
3.4 KiB
Plaintext
.sheet-buttons
|
|
.sheet-dice-roller
|
|
input(type='hidden', name='attr_dice_roller_code', value='0')
|
|
input(type='hidden',
|
|
name='attr_dice_roller_template',
|
|
value=`{{rof=[[ 0 + ?{@{query_rate_of_fire}|1} ]]}} ${maxRof.map(n => `{{roll${n}=[[ @{dice_roller_code} ]]}}`).join(' ')}`)
|
|
|
|
input(type='text',
|
|
name='attr_dice_roller_input',
|
|
placeholder= '2d6!+2',
|
|
data-i18n-placeholder='dice-roller-code-placeholder',
|
|
class='sheet-dice-roller__input')
|
|
|
|
button(type='roll',
|
|
name='roll_dice_roller_damage',
|
|
value!=`@{gm_roll} &{template:DamageRoll} {{header=@{name} ^{rolls} ^{damage}}} {{code=@{dice_roller_input}}} @{dice_roller_template} {{reroll=[r](~dice_roller_damage)}}`)
|
|
span(data-i18n='dice-roller-damage') Damage
|
|
|
|
button(type='roll',
|
|
name='roll_dice_roller_hidden',
|
|
value!=`/w gm &{template:DiceRoller} {{header=@{name} ^{rolls} @{dice_roller_input}}} @{dice_roller_template} {{reroll=[r](~dice_roller_hidden)}}`)
|
|
span(data-i18n='dice-roller-hidden') Hidden
|
|
|
|
button(type='roll',
|
|
name='roll_dice_roller_open',
|
|
value!=`&{template:DiceRoller} {{header=@{name} ^{rolls} @{dice_roller_input}}} @{dice_roller_template} {{reroll=[r](~dice_roller_open)}}`)
|
|
span(data-i18n='dice-roller-roll') Roll
|
|
|
|
.sheet-run-roller
|
|
input(type='hidden', name='attr_run_wounds', value='@{wound_mod}')
|
|
input(type='hidden', name='attr_run_fatigue', value='0')
|
|
input(type='hidden', name='attr_run_code', value='@{run_roll}')
|
|
|
|
button(type='roll',
|
|
name='roll_run',
|
|
value!='@{gm_roll} &{template:RunRoll} {{header=@{name} ^{runs-ellipsis} [[ @{run_code} + @{pace} - @{run_wounds} - @{run_fatigue} + ?{@{query_modifier}|0} ]]^{exclamation-mark}}} {{content=^{run} (@{pace} + @{run_code}) + ^{mod} (?{@{query_modifier}|0}) - ^{penalty} ([[ @{run_wounds} + @{run_fatigue} ]])}}')
|
|
span(data-i18n='dice-roller-run') Run
|
|
|
|
.sheet-raise-calculator
|
|
button(type='roll',
|
|
name='roll_raise_calculator',
|
|
value!='@{gm_roll} &{template:InfoBox} {{content=^{roll-of} (?{@{query_roll_result}}) ^{vs-tn} (?{@{query_target_number}|4}) = [[ floor((?{@{query_roll_result}} - ?{@{query_target_number}|4}) / 4) ]] ^{raises}}}')
|
|
span(data-i18n='raise-calculator') Raise Calculator
|
|
|
|
label.sheet-label-toggle
|
|
input(type='hidden', name=`attr_query_global_rof`, value='1')
|
|
input(type='checkbox', name='attr_toggle_global_rof')
|
|
span(data-i18n='query-rof') Query RoF
|
|
|
|
label.sheet-label-toggle
|
|
input(type='hidden', name=`attr_query_global_wd`, value='-10000-d20')
|
|
input(type='checkbox', name='attr_toggle_global_wd')
|
|
span(data-i18n='query-wd') Query WD
|
|
|
|
label.sheet-label-toggle
|
|
input(type='hidden', name=`attr_query_global_bonus_wd`, value='-10000-d20')
|
|
input(type='checkbox', name='attr_toggle_global_bonus_wd')
|
|
span(data-i18n='bonus-wd') Bonus WD
|
|
|
|
label.sheet-label-toggle
|
|
input(type='checkbox', name='attr_gm_roll', value='/w gm')
|
|
span(data-i18n='gm-roll') GM Roll
|
|
|
|
- var i = 0
|
|
|
|
while i < 3
|
|
- ++i
|
|
|
|
input(type='checkbox',
|
|
name=`attr_toggle_custom_button_${i}`,
|
|
class='sheet-hidden sheet-toggle')
|
|
|
|
.sheet-custom-button
|
|
button(type='roll',
|
|
name=`roll_custom_button_${i}`,
|
|
value!=`@{custom_button_${i}_macro}`)
|
|
span(name=`attr_rename_custom_button_${i}`)
|
|
= i == 1 ? 'UnShake' : `Button #${i}`
|