Files
roll20-character-sheets/Mythras/render_templates.py
T
Matthew Carpenter 0d00cb4f4d v2.0 Mythras Sheet (#4924)
* Spanish translation and minor fixes

* Rounding movement measurements

* Adding linguistics option to campaign settings

* Removing NPC stuff from the json options

* Saving Mythras v2 progress

* Modify mythras sheet.json for new options

* stash

* Restored tranlastions and all but mook css

* Automation script added to help building Mythras sheets

* Autocalc migration up to skills, Mythras

* sheetwork autocalc for standard skills

* Auto calc up to passions

* Fix tenacity

* Finish migrating skills to shett workers

* Finished skills auto calc

* Half done with compat tab

* Stash work up to mostly finish mook skills

* Fixed percent symbol on Athletics mook btn

* Added up to psionic powers for mooks and added collapse to magic sections

* Stash mook sup to animism

* more stashed edits

* Stash commits

* v2 Mythras

* A few edits to Mythras changelog, typos and spelling

* Style adjustments for Firefox
2019-04-10 16:25:37 -05:00

15 lines
340 B
Python
Executable File

#!/usr/bin/env python3
from jinja2 import Environment, FileSystemLoader, select_autoescape
env = Environment(
loader=FileSystemLoader('./templates'),
autoescape=select_autoescape(['html', 'xml'])
)
html_template = env.get_template('base.html')
with open('./Mythras.html', 'w') as f:
f.write(html_template.render())
f.closed