aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate_latex.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/generate_latex.py b/scripts/generate_latex.py
index 3cdc5cbe..71a99915 100755
--- a/scripts/generate_latex.py
+++ b/scripts/generate_latex.py
@@ -46,7 +46,7 @@ CARD_TEMPLATE = \
\\end{{document}}
"""
-SET_SYMBOLS = {'base': 'base', 'magic': 'magic', 'equipments': 'equipments', 'nautics': 'nautics', 'misc': ''}
+SET_SYMBOLS = {'base': 'base', 'magic': 'magic', 'equipments': 'equipments', 'nautics': 'nautics', 'misc': '', 'kraken': 'kraken'}
LATEX_ROOT = pathlib.Path(os.getcwd())
ASSETS_DIR = LATEX_ROOT / '../assets'
@@ -76,7 +76,12 @@ def generate_card(card_name: str, card: MutableMapping):
if card['type'] == 'unit':
stats = ''
+ if 'ai' in card:
+ stats += f'AI: {card["ai"]}'
+
if 'health' in card:
+ if stats:
+ stats += '\\\\ '
stats += f'Health: {card["health"]}'
if 'movement' in card: