aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-10-16 12:02:08 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-10-18 14:32:19 +0200
commit8cb970aee1340f905a965511d350e68b3f38ca1f (patch)
treef5db1aef84778e28ba9c88437c4209c968717798 /scripts
parenta221ef53789bf2a4b66bc551deb99ce1b61d05c6 (diff)
downloadmuhqs-game-8cb970aee1340f905a965511d350e68b3f38ca1f.tar.gz
muhqs-game-8cb970aee1340f905a965511d350e68b3f38ca1f.zip
remove "Effekt: " suffix from unit effects
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate_latex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate_latex.py b/scripts/generate_latex.py
index cabed084..f2906308 100755
--- a/scripts/generate_latex.py
+++ b/scripts/generate_latex.py
@@ -99,7 +99,7 @@ def generate_card(card_name: str, card: MutableMapping):
effect = card.get('effect', None)
if effect:
- ability_block += f'Effect: {effect}'
+ ability_block += f'{effect}'
full_action = card.get('full_action', None)
if full_action:
@@ -127,7 +127,7 @@ def generate_card(card_name: str, card: MutableMapping):
# card_content += f'\cardsplitcontent{{\\faRecycle: {card["durability"]}}}{{{card["effect"]}}}'
card_content += f'\cardsplitcontent{{Durability: {card["durability"]}}}{{{card["effect"]}}}\n'
else:
- print('WARNING: unknown card type {card["type"]}!')
+ print(f'WARNING: unknown card type {card["type"]}!')
if 'play' in card:
card_content += f'\cardplaycost{{{card["play"]}}}\n'