diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-10-16 12:02:08 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-10-18 14:32:19 +0200 |
| commit | 8cb970aee1340f905a965511d350e68b3f38ca1f (patch) | |
| tree | f5db1aef84778e28ba9c88437c4209c968717798 /scripts | |
| parent | a221ef53789bf2a4b66bc551deb99ce1b61d05c6 (diff) | |
| download | muhqs-game-8cb970aee1340f905a965511d350e68b3f38ca1f.tar.gz muhqs-game-8cb970aee1340f905a965511d350e68b3f38ca1f.zip | |
remove "Effekt: " suffix from unit effects
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/generate_latex.py | 4 |
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' |
