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 | |
| parent | a221ef53789bf2a4b66bc551deb99ce1b61d05c6 (diff) | |
| download | muhqs-game-8cb970aee1340f905a965511d350e68b3f38ca1f.tar.gz muhqs-game-8cb970aee1340f905a965511d350e68b3f38ca1f.zip | |
remove "Effekt: " suffix from unit effects
| -rw-r--r-- | latex/cards/barge.tex | 2 | ||||
| -rw-r--r-- | latex/cards/fighter.tex | 2 | ||||
| -rw-r--r-- | latex/cards/galley.tex | 2 | ||||
| -rw-r--r-- | latex/cards/knight.tex | 2 | ||||
| -rw-r--r-- | latex/cards/pikeman.tex | 2 | ||||
| -rw-r--r-- | latex/cards/recruiter.tex | 2 | ||||
| -rw-r--r-- | latex/cards/sailor.tex | 2 | ||||
| -rwxr-xr-x | scripts/generate_latex.py | 4 |
8 files changed, 9 insertions, 9 deletions
diff --git a/latex/cards/barge.tex b/latex/cards/barge.tex index 32147453..eb82ae5c 100644 --- a/latex/cards/barge.tex +++ b/latex/cards/barge.tex @@ -11,7 +11,7 @@ \begin{tikzpicture} \cardtypeUnit{Barge} \cardbuycost{5} -\cardsplitcontent{Health: 3\\ Movement: 3 swimming}{Effect: Crew 6} +\cardsplitcontent{Health: 3\\ Movement: 3 swimming}{Crew 6} \cardplaycost{1}\cardmodule{nautics} \cardborder \end{tikzpicture} diff --git a/latex/cards/fighter.tex b/latex/cards/fighter.tex index 81506905..855cdd0a 100644 --- a/latex/cards/fighter.tex +++ b/latex/cards/fighter.tex @@ -11,7 +11,7 @@ \begin{tikzpicture} \cardtypeUnit{Fighter} \cardbuycost{7} -\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 1}{Effect: One additional attack action} +\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 1}{One additional attack action} \cardplaycost{1}\cardmodule{base} \cardborder \end{tikzpicture} diff --git a/latex/cards/galley.tex b/latex/cards/galley.tex index 51953fd5..55e26948 100644 --- a/latex/cards/galley.tex +++ b/latex/cards/galley.tex @@ -11,7 +11,7 @@ \begin{tikzpicture} \cardtypeUnit{Galley} \cardbuycost{7} -\cardsplitcontent{Health: 4\\ Movement: 3 swimming\\ Attack: 1 range 2}{Effect: Crew 3} +\cardsplitcontent{Health: 4\\ Movement: 3 swimming\\ Attack: 1 range 2}{Crew 3} \cardplaycost{1}\cardmodule{nautics} \cardborder \end{tikzpicture} diff --git a/latex/cards/knight.tex b/latex/cards/knight.tex index e7bfaa1d..20ad1601 100644 --- a/latex/cards/knight.tex +++ b/latex/cards/knight.tex @@ -11,7 +11,7 @@ \begin{tikzpicture} \cardtypeUnit{Knight} \cardbuycost{7} -\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 2}{Effect: + 1 Armor} +\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 2}{+ 1 Armor} \cardplaycost{2}\cardmodule{base} \cardborder \end{tikzpicture} diff --git a/latex/cards/pikeman.tex b/latex/cards/pikeman.tex index 295bf005..01159416 100644 --- a/latex/cards/pikeman.tex +++ b/latex/cards/pikeman.tex @@ -11,7 +11,7 @@ \begin{tikzpicture} \cardtypeUnit{Pikeman} \cardbuycost{5} -\cardsplitcontent{Health: 2\\ Movement: 1\\ Attack: 1}{Effect: Range 2 against Units with Movement >= 3} +\cardsplitcontent{Health: 2\\ Movement: 1\\ Attack: 1}{Range 2 against Units with Movement >= 3} \cardplaycost{1}\cardmodule{base} \cardborder \end{tikzpicture} diff --git a/latex/cards/recruiter.tex b/latex/cards/recruiter.tex index 5d700aca..1a183f63 100644 --- a/latex/cards/recruiter.tex +++ b/latex/cards/recruiter.tex @@ -11,7 +11,7 @@ \begin{tikzpicture} \cardtypeUnit{Recruiter} \cardbuycost{10} -\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 1}{Effect: Allow Units to be played in Range 1\\ \vspace{0.2cm} \faRedo: Create Recruit token on adjacent tile} +\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 1}{Allow Units to be played in Range 1\\ \vspace{0.2cm} \faRedo: Create Recruit token on adjacent tile} \cardplaycost{1}\cardmodule{base} \cardborder \end{tikzpicture} diff --git a/latex/cards/sailor.tex b/latex/cards/sailor.tex index 5cd8986c..5c4b0a0f 100644 --- a/latex/cards/sailor.tex +++ b/latex/cards/sailor.tex @@ -10,7 +10,7 @@ \begin{document} \begin{tikzpicture} \cardtypeUnit{Sailor} -\cardsplitcontent{Health: 1\\ Movement: 1\\ Attack: 1}{Effect: A crewed unit gets +1 movement while swimming} +\cardsplitcontent{Health: 1\\ Movement: 1\\ Attack: 1}{A crewed unit gets +1 movement while swimming} \cardplaycost{1}\cardmodule{nautics} \cardborder \end{tikzpicture} 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' |
