mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-31 04:02:29 +00:00
* Translation files Added new terms to translation dictionary created for Pendragon 5.2. * Colours and images Changed heading colour, linked to images.
100 lines
3.5 KiB
Plaintext
100 lines
3.5 KiB
Plaintext
input(name='attr_version' type='hidden' value='1')
|
|
|
|
|
|
//- INCLUDES
|
|
=============================
|
|
include src/pug/mixins.pug
|
|
|
|
//- VARIABLES
|
|
=============================
|
|
- const personalityTraits = {'chaste':'lustful', 'energetic':'lazy', 'forgiving':'vengeful', 'generous':'selfish', 'honest':'deceitful', 'just':'arbitrary', 'merciful':'cruel', 'modest':'proud', 'prudent':'reckless', 'temperate':'indulgent', 'trusting':'suspicious', 'valorous':'cowardly'};
|
|
- const attributes = ['size', 'dex', 'str', 'con', 'app'];
|
|
- const skills = ['awareness', 'chirurgery', 'faerie lore', 'first aid', 'folk lore', 'hunting', 'industry', 'recognize', 'religion', 'stewardship', 'swimming', 'courtesy', 'dancing', 'eloquence', 'falconry', 'gaming', 'heraldry', 'intrigue', 'languages', 'play', 'read', 'romance', 'singing'];
|
|
- const gmCharacters = ['name', 'glory', 'app', 'courtesy', 'romance', 'intrigue', 'chaste', 'modest', 'temperate'];
|
|
|
|
//- TABS
|
|
=============================
|
|
input(name='attr_sheet_type' type='hidden' value='character')
|
|
input(name='attr_character_type' type='hidden' value='knight')
|
|
input(name='attr_feast_type' type='hidden' value='feast')
|
|
|
|
//-NPC SHEET
|
|
=============================
|
|
.npc
|
|
.box.npc-flex
|
|
p NPC STUFF
|
|
.box.npc-flex
|
|
p MORE NPC STUFF
|
|
|
|
//-PC SHEET
|
|
=============================
|
|
.grid.tabs
|
|
.col.sheet-type
|
|
each val in ['character', 'holdings', 'entourage', 'feast']
|
|
label(data-i18n-title=`sheet type: ${val}`)
|
|
if val === 'character'
|
|
input(name=`attr_sheet_type` title=`@{sheet_type}` type='radio' value=val selected)
|
|
span.text-center(data-i18n=`${val}`)
|
|
else
|
|
input(name=`attr_sheet_type` title=`@{sheet_type}` type='radio' value=val)
|
|
span.text-center(data-i18n=`${val}`)
|
|
.col
|
|
select(name='attr_character_type' value='knight')
|
|
option(data-i18n='knight' value='knight' selected)
|
|
option(data-i18n='woman' value='woman')
|
|
select(name='attr_feast_type' value='feast')
|
|
option(data-i18n='feast record' value='record' selected)
|
|
option(data-i18n='gamemaster characters' value='characters')
|
|
|
|
include src/pug/character.pug
|
|
|
|
include src/pug/entourage.pug
|
|
|
|
include src/pug/holdings.pug
|
|
|
|
include src/pug/feast.pug
|
|
|
|
//-FOOTER
|
|
=============================
|
|
.footer
|
|
span ©2016 Nocturnal Media. Permission granted to copy for personal use only.
|
|
span v.
|
|
span(name='attr_version')
|
|
|
|
|
|
//-ROLL TEMPLATE
|
|
=============================
|
|
.rolltemplates
|
|
rolltemplate.sheet-rolltemplate-rolls
|
|
.sheet-template-container
|
|
// - Display a header on the template -
|
|
.sheet-template-header
|
|
| {{#header}}{{header}}{{/header}}
|
|
// - Display the dice roll in the template -
|
|
.sheet-template-body
|
|
| {{#dice}}
|
|
.sheet-template-row.sheet-template-roll
|
|
.sheet-template-col
|
|
span {{dice}}
|
|
span Rolled
|
|
| {{/dice}}
|
|
| {{#threshold}}
|
|
.sheet-template-col
|
|
span {{threshold}}
|
|
span Threshold
|
|
| {{/threshold}}
|
|
| {{#damage}}
|
|
.sheet-template-row.sheet-template-damage
|
|
.sheet-template-col
|
|
|{{damage}}
|
|
span Rolled
|
|
| {{/damage}}
|
|
//- Display a description. This is great for text included with a roll -
|
|
| {{#desc}}
|
|
.sheet-template-row
|
|
span.sheet-template-desc {{desc}}
|
|
| {{/desc}}
|
|
|
|
//- SCRIPTS
|
|
script(type="text/worker")
|
|
include src/js/scripts.js |