mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-01 04:32:28 +00:00
112 lines
4.8 KiB
Plaintext
112 lines
4.8 KiB
Plaintext
- var imagePath = 'https://raw.githubusercontent.com/mperes/Esper-Images/main';
|
|
|
|
-
|
|
const globalAttributesByCatagory = {
|
|
abilities: ['strength', 'dexterity', 'constitution', 'intelligence', 'wisdom', 'charisma'],
|
|
optionalAbilites: ['honor', 'sanity'],
|
|
alignments: ['Lawful Good', 'Neutral Good', 'Chaotic Good', 'Lawful Neutral', 'Neutral', 'Chaotic Neutral', 'Lawful Evil', 'Neutral Evil', 'Chaotic Evil'],
|
|
classes: ['artificer', 'bard', 'cleric', 'druid', 'paladin', 'ranger', 'sorcerer', 'warlock', 'wizard'],
|
|
sizes: ['Tiny', 'Small', 'Medium', 'Large', 'Huge', 'Gargantuan'],
|
|
diceSizes: ['d4', 'd6', 'd8', 'd10', 'd12']
|
|
};
|
|
|
|
|
|
include src/mixins/mixins.pug
|
|
|
|
input(name='attr_version' type='hidden' value!='3.0')
|
|
input.monster_confirm_flag(name='attr_monster_confirm_flag' type='hidden')
|
|
input.mancer_confirm_flag(name='attr_mancer_confirm_flag' type='hidden')
|
|
input.licensedsheet(name='attr_licensedsheet' type='hidden')
|
|
|
|
.licensecontainer.compendium-drop-target.monsters.ships(data-licensedsheet='attr_licensedsheet')
|
|
input.npc_toggle(name='attr_npc' type='hidden' value!='0')
|
|
input.npcspellcastingflag(name='attr_npcspellcastingflag' type='hidden' value!='0')
|
|
input.sheet-pc-type(name='attr_pc_sheet_type' type='hidden' value='pc')
|
|
input.npcspellcastingflag(name='attr_npcspellcastingflag' type='hidden')
|
|
input.toggleflag(name='attr_rtype' type='hidden')
|
|
.advantagetoggle
|
|
input.toggle-left(type='radio' name='attr_advantagetoggle' value!='{{query=1}} {{advantage=1}} {{r2=[[@{d20}')
|
|
span(data-i18n='adv-u') ADVANTAGE
|
|
input.toggle-center(type='radio' name='attr_advantagetoggle' value!='{{query=1}} {{normal=1}} {{r2=[[0d20' checked='checked')
|
|
span(data-i18n='norm-u') NORMAL
|
|
input.toggle-right(type='radio' name='attr_advantagetoggle' value!='{{query=1}} {{disadvantage=1}} {{r2=[[@{d20}')
|
|
span(data-i18n='disadv-u') DISADVANTAGE
|
|
input.toggleflag(name='attr_wtype' type='hidden')
|
|
.advantagetoggle.whispertoggle
|
|
input.toggle-left(name='attr_whispertoggle' type='radio' value!='' checked='checked')
|
|
span(data-i18n='public:-u') PUBLIC
|
|
input.toggle-right(name='attr_whispertoggle' type='radio' value!='/w gm ')
|
|
span(data-i18n='to-gm:-u')
|
|
| TO
|
|
span.togm GM
|
|
|
|
include src/npc/npc.pug
|
|
.container.pc
|
|
.sheet-pc-default
|
|
include src/pc/pc.pug
|
|
include src/pc/ship.pug
|
|
|
|
input(accept='Category' name='attr_drop_category' type='hidden')
|
|
input(accept='Name' name='attr_drop_name' type='hidden')
|
|
input(accept='data' name='attr_drop_data' type='hidden')
|
|
input(accept='Content' name='attr_drop_content' type='hidden')
|
|
|
|
.compendium_warning
|
|
span(data-i18n='accepting-drop-u') ACCEPTING DROP FROM COMPENDIUM
|
|
|
|
.monster_confirm
|
|
span(data-i18n='are_you_sure') Are you sure you want to turn this character into a
|
|
span(name='attr_drop_name')
|
|
span ?
|
|
div(style='margin-top: 20px;')
|
|
div(style='position: relative; display: inline-block; margin-right: 25px;')
|
|
input.yes(type='checkbox' name='attr_confirm')
|
|
span.yes(data-i18n='yes') Yes
|
|
div(style='position: relative; display: inline-block;')
|
|
input.cancel(type='checkbox' name='attr_cancel')
|
|
span.cancel(data-i18n='cancel') Cancel
|
|
|
|
.mancer_confirm
|
|
span(style='line-height: 25px' data-i18n='do_you_want_mancer') How do you want to create this character?
|
|
div(style='margin-top: 20px;')
|
|
//
|
|
div(style='position: relative; display: inline-block; width:130px;')
|
|
input.yes(type='checkbox' style='width:130px;' name='attr_mancer_confirm')
|
|
span.yes(style='width:130px;' data-i18n='mancer-confirm-yes') Use the Charactermancer
|
|
div(style='position: relative; display: inline-block; width:80px;')
|
|
input.yes(style='width:80px;' type='checkbox' name='attr_mancer_npc')
|
|
span.yes(style='width:80px;' data-i18n='npc-new') Create an NPC
|
|
div(style='position: relative; display: inline-block; width:90px;')
|
|
input.yes(type='checkbox' style='width:90px;' name='attr_mancer_cancel')
|
|
span.yes(style='width:90px;' data-i18n='manual') Edit sheet direclty
|
|
|
|
//- ROLL TEMPLATES
|
|
include src/rolltemplates/rolltemplates.html
|
|
|
|
//- CHARACTERMANCER REPEATING SECTIONS
|
|
include src/charactermancer/repeating/repeatingsections.html
|
|
|
|
//- CHARACTERMANCER LEVEL 1
|
|
include src/charactermancer/l1/l1.pug
|
|
|
|
//- CHARACTERMANCER LEVEL UP
|
|
include src/charactermancer/lp/lp.pug
|
|
|
|
//- HIDDEN INPUTS
|
|
include src/hiddeninputs/hiddeninputs.pug
|
|
|
|
//- SHEET WORKERS
|
|
script(type="text/worker")
|
|
include src/helpers/helperFunctions.js
|
|
include src/classes/SheetUtils/SheetUtils.js
|
|
include src/classes/FlagManager/FlagManager.js
|
|
include src/classes/SheetUpdater/SheetUpdater.js
|
|
include src/classes/DropClasses/DropClasses.js
|
|
include src/dragndrop/dropFunctions.js
|
|
include src/dragndrop/DragAndDrop.js
|
|
include src/charactermancer/l1/l1.js
|
|
include src/charactermancer/lp/lp.js
|
|
|
|
//include src/js/versioning.js
|
|
include sheetworkers.js
|