Browse Source

Modify HTML

master
Noëlle 3 years ago
parent
commit
6a4fd4cfb2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      koboldgen.py

+ 2
- 2
koboldgen.py View File

@@ -180,7 +180,7 @@ class Character:

def print_name(self, html=False):
if html:
charText = f"<br>\n<h4>Name: {self.name} (Kobold {self.career})</h4>"
charText = f"<h4>Name: {self.name} (Kobold {self.career})</h4>"
else:
charText = f"\nName: {self.name} (Kobold {self.career})"
print(charText)
@@ -253,7 +253,7 @@ class Campaign:
print(f"<p style='padding-left: 10px;'>{lines[6]}: {lines[7]}</p>")
if self.params.thirdProblem:
print(f"<p style='padding-left: 20px;'>{lines[8]}: {lines[9]}</p>")
print("</p>\n<br>")
print("</p>")
else:
print(f"{lines[0]} {lines[1]} {lines[2]} -- {lines[3]}")
print(f"{lines[4]}: {lines[5]}")

Loading…
Cancel
Save