Added subclass descriptions

This commit is contained in:
Ben Cook
2018-12-21 12:25:02 -05:00
parent 35b272be5f
commit 0dbe54605f
40 changed files with 1069 additions and 186 deletions
+2 -2
View File
@@ -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):