From 8cb970aee1340f905a965511d350e68b3f38ca1f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 16 Oct 2020 12:02:08 +0200 Subject: remove "Effekt: " suffix from unit effects --- scripts/generate_latex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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' -- cgit v1.2.3