|
|
|
|
|
|
|
|
if html: |
|
|
if html: |
|
|
out = ( |
|
|
out = ( |
|
|
f"<div id='theship' class='firstrow'>\n" |
|
|
f"<div id='theship' class='firstrow'>\n" |
|
|
|
|
|
f" <span class='head'>The Ship</span>\n" |
|
|
f" <span id='shipname'>\n" |
|
|
f" <span id='shipname'>\n" |
|
|
f" The {self.ship.fullname}!\n" |
|
|
f" The {self.ship.fullname}!\n" |
|
|
f" </span>\n" |
|
|
f" </span>\n" |
|
|
|
|
|
|
|
|
f" </span>\n" |
|
|
f" </span>\n" |
|
|
f"</div>\n" |
|
|
f"</div>\n" |
|
|
f"<div id='themission' class='firstrow'>\n" |
|
|
f"<div id='themission' class='firstrow'>\n" |
|
|
|
|
|
f" <span class='head'>The Mission</span>\n" |
|
|
f" <span id='missionloc'>\n" |
|
|
f" <span id='missionloc'>\n" |
|
|
f" The kobolds have been sent to {self.art} {self.params.loc_desc} {self.params.location}\n" |
|
|
f" The kobolds have been sent to {self.art} {self.params.loc_desc} {self.params.location}\n" |
|
|
f" </span><br>\n" |
|
|
f" </span><br>\n" |
|
|
|
|
|
|
|
|
f" </span>\n" |
|
|
f" </span>\n" |
|
|
f"</div>\n" |
|
|
f"</div>\n" |
|
|
f"<div id='theadversary' class='firstrow'>\n" |
|
|
f"<div id='theadversary' class='firstrow'>\n" |
|
|
|
|
|
f" <span class='head'>The Adversary</span>\n" |
|
|
f" They're challenged by <span id='advname'>{self.params.fullProblem}</span>!\n" |
|
|
f" They're challenged by <span id='advname'>{self.params.fullProblem}</span>!\n" |
|
|
f" <br>\n" |
|
|
f" <br>\n" |
|
|
f" <span id='problemstats'>\n" |
|
|
f" <span id='problemstats'>\n" |
|
|
|
|
|
|
|
|
def print_chars(self, html=False): |
|
|
def print_chars(self, html=False): |
|
|
if html: |
|
|
if html: |
|
|
print(f"<div id='thekobolds'>\n") |
|
|
print(f"<div id='thekobolds'>\n") |
|
|
|
|
|
print(f"<span class='head'>The Kobolds</span>\n") |
|
|
else: |
|
|
else: |
|
|
print("The kobolds:") |
|
|
print("The kobolds:") |
|
|
for k in self.characters: |
|
|
for k in self.characters: |