mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-01 04:32:28 +00:00
* Fixed header banner * Added source drop-down fields for talents and quirks. * Removed hard-coded talents and quirks. Any data that was in these fields in v1.5 will be automatically migrated as a new row in their respective repeating sections. * Fixed upgrades/downgrades so be rules-correct for D20/D4 cases, respectively. * Moved Equipment and Campaign Notes to their own tabs. * Display version # in banner. * Updated preview image. * Include banner graphic in repository.
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
include fields.pug
|
|
include tabs.pug
|
|
|
|
+input('hidden', 'character_sheet')(value='TailsOfEquestria', style='display: none;')
|
|
+input('hidden', 'debug')(value='', style='display: none;')
|
|
+input('checkbox', 'useApiExplodingHoof')(style="display: none;")
|
|
|
|
.top
|
|
img(src='https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/TailsOfEquestria/banner.jpeg')
|
|
.mask
|
|
.version Version SCRIPT_VERSION
|
|
|
|
+tabs('sheet_type', [
|
|
{ id: 'sheetTabPC', label: 'PC', include: 'tabPC.pug', tooltip: 'Main sheet for Player Characters.' },
|
|
{ id: 'sheetTabNPC', label: 'NPC', include: 'tabNPC.pug', tooltip: 'Main sheet for Non-Player Characters.' },
|
|
{ id: 'sheetTabVehicle', label: 'Vehicle', include: 'tabVehicle.pug', tooltip: 'Main sheet for Vehicles.' },
|
|
{ id: 'sheetTabEquipment', label: 'Equipment', include: 'tabEquipment.pug', tooltip: 'Keep track of your character\'s equipment here.' },
|
|
{ id: 'sheetTabNotes', label: 'Campaign Notes', include: 'tabNotes.pug', tooltip: 'Record additional notes about your character, the campaign world, or anything else here.' }
|
|
])
|
|
mixin renderTab(id)
|
|
.main-container
|
|
if id === 'sheetTabPC'
|
|
include tabPC.pug
|
|
if id === 'sheetTabNPC'
|
|
include tabNPC.pug
|
|
if id === 'sheetTabEquipment'
|
|
include tabEquipment.pug
|
|
if id === 'sheetTabVehicle'
|
|
include tabVehicle.pug
|
|
if id === 'sheetTabNotes'
|
|
include tabNotes.pug
|
|
|
|
script(type='text/worker')
|
|
include ../js/worker.js
|
|
|
|
include rolltemplate.pug
|