mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-05 04:18:28 +02:00
Added subclass descriptions
This commit is contained in:
@@ -38,11 +38,11 @@ class App(npyscreen.NPSAppManaged):
|
||||
def save_character(self):
|
||||
# Save the file
|
||||
filename = self.getForm("SAVE").filename.value
|
||||
self.character.save(filename, template_file='empty_template.tex')
|
||||
self.character.save(filename, template_file='empty_template.txt')
|
||||
# Create the PDF character sheet
|
||||
if self.getForm('SAVE').make_pdf.value:
|
||||
log.debug("Creating PDF")
|
||||
self.character.to_pdf(filename, template_file='empty_template.tex')
|
||||
self.character.to_pdf(filename, template_file='empty_template.txt')
|
||||
subprocess.call(['makesheets', filename])
|
||||
|
||||
def update_max_hp(self):
|
||||
|
||||
Reference in New Issue
Block a user