aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/base.ini11
-rw-r--r--latex/base.tex6
-rw-r--r--latex/cards.tex5
-rw-r--r--latex/cards/advisor.tex3
-rw-r--r--latex/cards/appear!.tex3
-rw-r--r--latex/cards/archer.tex3
-rw-r--r--latex/cards/armor.tex3
-rw-r--r--latex/cards/attack!.tex3
-rw-r--r--latex/cards/banner.tex3
-rw-r--r--latex/cards/catalyst.tex3
-rw-r--r--latex/cards/cavalry.tex3
-rw-r--r--latex/cards/cavl._archer.tex3
-rw-r--r--latex/cards/charge!.tex3
-rw-r--r--latex/cards/cloak.tex3
-rw-r--r--latex/cards/clone!.tex3
-rw-r--r--latex/cards/defense!.tex3
-rw-r--r--latex/cards/die!.tex3
-rw-r--r--latex/cards/fighter.tex3
-rw-r--r--latex/cards/gear.tex3
-rw-r--r--latex/cards/great_sword.tex5
-rw-r--r--latex/cards/heal!.tex3
-rw-r--r--latex/cards/isolate!.tex3
-rw-r--r--latex/cards/knight.tex3
-rw-r--r--latex/cards/mace.tex3
-rw-r--r--latex/cards/mine!.tex3
-rw-r--r--latex/cards/missionary.tex3
-rw-r--r--latex/cards/more!.tex3
-rw-r--r--latex/cards/move!.tex3
-rw-r--r--latex/cards/no!.tex3
-rw-r--r--latex/cards/palisade.tex3
-rw-r--r--latex/cards/pierce!.tex3
-rw-r--r--latex/cards/pikeman.tex3
-rw-r--r--latex/cards/pioneer.tex3
-rw-r--r--latex/cards/plate_armor.tex3
-rw-r--r--latex/cards/poisoned_dagger.tex3
-rw-r--r--latex/cards/reclaim!.tex3
-rw-r--r--latex/cards/recruit.tex18
-rw-r--r--latex/cards/recruiter.tex5
-rw-r--r--latex/cards/relic.tex3
-rw-r--r--latex/cards/ritual!.tex3
-rw-r--r--latex/cards/rush!.tex3
-rw-r--r--latex/cards/select!.tex3
-rw-r--r--latex/cards/shatter!.tex3
-rw-r--r--latex/cards/shield.tex3
-rw-r--r--latex/cards/shroud!.tex3
-rw-r--r--latex/cards/smith.tex3
-rw-r--r--latex/cards/spear.tex3
-rw-r--r--latex/cards/stumble!.tex3
-rw-r--r--latex/cards/switch!.tex3
-rw-r--r--latex/cards/sword.tex3
-rw-r--r--latex/cards/tax_collector.tex3
-rw-r--r--latex/cards/tower_shield.tex3
-rw-r--r--latex/cards/transmute!.tex3
-rw-r--r--latex/colors.tex1
-rw-r--r--latex/tikzcards.tex25
-rwxr-xr-xscripts/generate_latex.py7
56 files changed, 112 insertions, 112 deletions
diff --git a/data/base.ini b/data/base.ini
index 36735456..2fa165dc 100644
--- a/data/base.ini
+++ b/data/base.ini
@@ -92,7 +92,16 @@ health = 2
movement = 2
buy = 10
upkeep = 1
-effect = Spawn units in Range 1
+effect = Allow Units to be played in Range 1
+full_action = Create Recruit token on adjacent tile
+
+[Recruit]
+type = unit
+token = true
+attack = 1
+health = 1
+movement = 1
+upkeep = 0
[Missionary]
type = unit
diff --git a/latex/base.tex b/latex/base.tex
index 04b432b1..8419f84a 100644
--- a/latex/base.tex
+++ b/latex/base.tex
@@ -42,15 +42,17 @@
\input{cards/recruiter.tex}
\vspace{5mm}
+\input{cards/recruit.tex}
+\hspace{5mm}
\input{cards/missionary.tex}
\hspace{5mm}
\input{cards/advisor.tex}
\hspace{5mm}
\input{cards/cavl._archer.tex}
-\hspace{5mm}
-\input{cards/palisade.tex}
\vspace{5mm}
+\input{cards/palisade.tex}
+\hspace{5mm}
\end{center}
\end{document}
diff --git a/latex/cards.tex b/latex/cards.tex
index 7f19f0d6..c3b90f1b 100644
--- a/latex/cards.tex
+++ b/latex/cards.tex
@@ -132,6 +132,11 @@
\input{cards/catalyst.tex}
\hspace{5mm}
+\newpage
+
+\input{cards/recruit.tex}
+\hspace{5mm}
+
\end{center}
\end{document}
diff --git a/latex/cards/advisor.tex b/latex/cards/advisor.tex
index a44156b4..715d3538 100644
--- a/latex/cards/advisor.tex
+++ b/latex/cards/advisor.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Advisor}
+\cardtypeUnit{Advisor}
\cardbuycost{10}
\cardsplitcontent{Health: 1\\ Movement: 2}{\faRedo: Draw 1 card. You may exile 1 card from your hand.}
\cardplaycost{2}\cardmodule{base}
diff --git a/latex/cards/appear!.tex b/latex/cards/appear!.tex
index 64aa5253..51c3966b 100644
--- a/latex/cards/appear!.tex
+++ b/latex/cards/appear!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Appear!}
+\cardtypeSpell{Appear!}
\cardbuycost{7}
\cardcontent{Play one unit costing X on any free tile.}
\cardplaycost{3X}
diff --git a/latex/cards/archer.tex b/latex/cards/archer.tex
index 899191d6..d5acae5a 100644
--- a/latex/cards/archer.tex
+++ b/latex/cards/archer.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Archer}
+\cardtypeUnit{Archer}
\cardbuycost{5}
\cardcontent{Health: 2\\ Movement: 2\\ Attack: 1 Range 2}
\cardplaycost{1}\cardmodule{base}
diff --git a/latex/cards/armor.tex b/latex/cards/armor.tex
index ea4329eb..5cb37056 100644
--- a/latex/cards/armor.tex
+++ b/latex/cards/armor.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Armor}
+\cardtypeEquipment{Armor}
\cardbuycost{7}
\cardsplitcontent{Durability: 3}{Equipped unit gains + 1 Armor}
\cardplaycost{2}
diff --git a/latex/cards/attack!.tex b/latex/cards/attack!.tex
index 6a7720a3..b735ab45 100644
--- a/latex/cards/attack!.tex
+++ b/latex/cards/attack!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Attack!}
+\cardtypeSpell{Attack!}
\cardbuycost{5}
\cardcontent{Two units gain +1 Damage until end of turn}
\cardplaycost{2}
diff --git a/latex/cards/banner.tex b/latex/cards/banner.tex
index 7aa2f1ae..677c82ef 100644
--- a/latex/cards/banner.tex
+++ b/latex/cards/banner.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeArtifact
-\cardtitle{Banner}
+\cardtypeArtifact{Banner}
\cardbuycost{2}
\cardcontent{Units you control in range 1 gain +1 attack damage and +1 movement}
\cardplaycost{7}
diff --git a/latex/cards/catalyst.tex b/latex/cards/catalyst.tex
index da6362c0..781c1f8b 100644
--- a/latex/cards/catalyst.tex
+++ b/latex/cards/catalyst.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeArtifact
-\cardtitle{catalyst}
+\cardtypeArtifact{catalyst}
\cardbuycost{3}
\cardcontent{Spells any player controlling the most units in range 1 playes cost one less resource.}
\cardplaycost{5}
diff --git a/latex/cards/cavalry.tex b/latex/cards/cavalry.tex
index b5be0692..7c69c061 100644
--- a/latex/cards/cavalry.tex
+++ b/latex/cards/cavalry.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Cavalry}
+\cardtypeUnit{Cavalry}
\cardbuycost{5}
\cardcontent{Health: 1\\ Movement: 4\\ Attack: 2}
\cardplaycost{2}\cardmodule{base}
diff --git a/latex/cards/cavl._archer.tex b/latex/cards/cavl._archer.tex
index 455cc858..9fe82be9 100644
--- a/latex/cards/cavl._archer.tex
+++ b/latex/cards/cavl._archer.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Cavl. Archer}
+\cardtypeUnit{Cavl. Archer}
\cardbuycost{10}
\cardcontent{Health: 1\\ Movement: 4\\ Attack: 1 Range 2}
\cardplaycost{2}\cardmodule{base}
diff --git a/latex/cards/charge!.tex b/latex/cards/charge!.tex
index faab2730..deda4191 100644
--- a/latex/cards/charge!.tex
+++ b/latex/cards/charge!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Charge!}
+\cardtypeSpell{Charge!}
\cardbuycost{5}
\cardcontent{Two units gain +2 Movement until end of turn}
\cardplaycost{2}
diff --git a/latex/cards/cloak.tex b/latex/cards/cloak.tex
index 46b98b6c..77d72ee2 100644
--- a/latex/cards/cloak.tex
+++ b/latex/cards/cloak.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Cloak}
+\cardtypeEquipment{Cloak}
\cardbuycost{3}
\cardsplitcontent{Durability: 2}{Equipped unit gains shroud (can't be targeted)}
\cardplaycost{7}
diff --git a/latex/cards/clone!.tex b/latex/cards/clone!.tex
index 4b94e62d..296a36be 100644
--- a/latex/cards/clone!.tex
+++ b/latex/cards/clone!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Clone!}
+\cardtypeSpell{Clone!}
\cardbuycost{7}
\cardcontent{Copy next card you play}
\cardplaycost{3}
diff --git a/latex/cards/defense!.tex b/latex/cards/defense!.tex
index 36e9b0fe..e242c9f4 100644
--- a/latex/cards/defense!.tex
+++ b/latex/cards/defense!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Defense!}
+\cardtypeSpell{Defense!}
\cardbuycost{5}
\cardcontent{Two units gain +1 Armor until end of turn}
\cardplaycost{3}
diff --git a/latex/cards/die!.tex b/latex/cards/die!.tex
index 0ceeb06a..a39e365e 100644
--- a/latex/cards/die!.tex
+++ b/latex/cards/die!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Die!}
+\cardtypeSpell{Die!}
\cardbuycost{10}
\cardcontent{Destroy target Unit.}
\cardplaycost{6}
diff --git a/latex/cards/fighter.tex b/latex/cards/fighter.tex
index 75514ea3..81506905 100644
--- a/latex/cards/fighter.tex
+++ b/latex/cards/fighter.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Fighter}
+\cardtypeUnit{Fighter}
\cardbuycost{7}
\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 1}{Effect: One additional attack action}
\cardplaycost{1}\cardmodule{base}
diff --git a/latex/cards/gear.tex b/latex/cards/gear.tex
index aed668c9..36e4ae8e 100644
--- a/latex/cards/gear.tex
+++ b/latex/cards/gear.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Gear}
+\cardtypeEquipment{Gear}
\cardbuycost{2}
\cardsplitcontent{Durability: 3}{Equipped unit gain +1 movement}
\cardplaycost{3}
diff --git a/latex/cards/great_sword.tex b/latex/cards/great_sword.tex
index 06d9e7aa..1f4fcfca 100644
--- a/latex/cards/great_sword.tex
+++ b/latex/cards/great_sword.tex
@@ -9,10 +9,9 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Great Sword}
+\cardtypeEquipment{Great Sword}
\cardbuycost{10}
-\cardsplitcontent{Durability: 3}{equipped unit gains +2 Melee Damage}
+\cardsplitcontent{Durability: 3}{Equipped unit gains +2 Melee Damage}
\cardplaycost{4}
\cardmodule{base}
\cardborder
diff --git a/latex/cards/heal!.tex b/latex/cards/heal!.tex
index 9fad42bb..535a6f9f 100644
--- a/latex/cards/heal!.tex
+++ b/latex/cards/heal!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Heal!}
+\cardtypeSpell{Heal!}
\cardbuycost{5}
\cardcontent{Target unit gains 1 Health or remove up to 2 Poison from it}
\cardplaycost{2}
diff --git a/latex/cards/isolate!.tex b/latex/cards/isolate!.tex
index eb17ddec..ac7ffcf5 100644
--- a/latex/cards/isolate!.tex
+++ b/latex/cards/isolate!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Isolate!}
+\cardtypeSpell{Isolate!}
\cardbuycost{5}
\cardcontent{Target unit can not receive or deal damage this turn}
\cardplaycost{2}
diff --git a/latex/cards/knight.tex b/latex/cards/knight.tex
index 1ac5a1f9..e7bfaa1d 100644
--- a/latex/cards/knight.tex
+++ b/latex/cards/knight.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Knight}
+\cardtypeUnit{Knight}
\cardbuycost{7}
\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 2}{Effect: + 1 Armor}
\cardplaycost{2}\cardmodule{base}
diff --git a/latex/cards/mace.tex b/latex/cards/mace.tex
index 8502fa79..e400ca34 100644
--- a/latex/cards/mace.tex
+++ b/latex/cards/mace.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Mace}
+\cardtypeEquipment{Mace}
\cardbuycost{2}
\cardsplitcontent{Durability: 3}{Equipped unit afflicts Paralysis when dealing damage in melee combat}
\cardplaycost{6}
diff --git a/latex/cards/mine!.tex b/latex/cards/mine!.tex
index 31e7d519..7485ea53 100644
--- a/latex/cards/mine!.tex
+++ b/latex/cards/mine!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Mine!}
+\cardtypeSpell{Mine!}
\cardbuycost{5}
\cardcontent{Steal 2 resource from opponent}
\cardplaycost{2}
diff --git a/latex/cards/missionary.tex b/latex/cards/missionary.tex
index 3f62e645..82a61fdc 100644
--- a/latex/cards/missionary.tex
+++ b/latex/cards/missionary.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Missionary}
+\cardtypeUnit{Missionary}
\cardbuycost{10}
\cardsplitcontent{Health: 1\\ Movement: 2}{\faRedo: Put two faith counters on target Unit. If there are more faith counters than the units buying cost you control target unit.}
\cardplaycost{2}\cardmodule{base}
diff --git a/latex/cards/more!.tex b/latex/cards/more!.tex
index df773e9a..77b6559a 100644
--- a/latex/cards/more!.tex
+++ b/latex/cards/more!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{More!}
+\cardtypeSpell{More!}
\cardbuycost{5}
\cardcontent{Draw two cards}
\cardplaycost{2}
diff --git a/latex/cards/move!.tex b/latex/cards/move!.tex
index e4f22f99..52b652f5 100644
--- a/latex/cards/move!.tex
+++ b/latex/cards/move!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Move!}
+\cardtypeSpell{Move!}
\cardbuycost{5}
\cardcontent{Move target unit}
\cardplaycost{3}
diff --git a/latex/cards/no!.tex b/latex/cards/no!.tex
index e2af3b5e..b0339070 100644
--- a/latex/cards/no!.tex
+++ b/latex/cards/no!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{No!}
+\cardtypeSpell{No!}
\cardbuycost{5}
\cardcontent{Counter target spell.}
\cardplaycost{2}
diff --git a/latex/cards/palisade.tex b/latex/cards/palisade.tex
index 1cf92e5a..049c3f85 100644
--- a/latex/cards/palisade.tex
+++ b/latex/cards/palisade.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeArtifact
-\cardtitle{Palisade}
+\cardtypeArtifact{Palisade}
\cardbuycost{7}
\cardcontent{Solid 6}
\cardplaycost{3}
diff --git a/latex/cards/pierce!.tex b/latex/cards/pierce!.tex
index 940e14a9..bed00ace 100644
--- a/latex/cards/pierce!.tex
+++ b/latex/cards/pierce!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Pierce!}
+\cardtypeSpell{Pierce!}
\cardbuycost{5}
\cardcontent{Ignore X Armor of target unit this turn}
\cardplaycost{1X}
diff --git a/latex/cards/pikeman.tex b/latex/cards/pikeman.tex
index 83355440..295bf005 100644
--- a/latex/cards/pikeman.tex
+++ b/latex/cards/pikeman.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Pikeman}
+\cardtypeUnit{Pikeman}
\cardbuycost{5}
\cardsplitcontent{Health: 2\\ Movement: 1\\ Attack: 1}{Effect: Range 2 against Units with Movement >= 3}
\cardplaycost{1}\cardmodule{base}
diff --git a/latex/cards/pioneer.tex b/latex/cards/pioneer.tex
index aefa6ec6..55de8e95 100644
--- a/latex/cards/pioneer.tex
+++ b/latex/cards/pioneer.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Pioneer}
+\cardtypeUnit{Pioneer}
\cardbuycost{7}
\cardsplitcontent{Health: 5\\ Movement: 1}{\faRedo: Neutralize adjacent tile or Artifact}
\cardplaycost{1}\cardmodule{base}
diff --git a/latex/cards/plate_armor.tex b/latex/cards/plate_armor.tex
index 239235dc..9ca1b07c 100644
--- a/latex/cards/plate_armor.tex
+++ b/latex/cards/plate_armor.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Plate Armor}
+\cardtypeEquipment{Plate Armor}
\cardbuycost{8}
\cardsplitcontent{Durability: 1}{Equipped unit has +2 Armor and can't move}
\cardplaycost{3}
diff --git a/latex/cards/poisoned_dagger.tex b/latex/cards/poisoned_dagger.tex
index dc647abf..1e39fcd6 100644
--- a/latex/cards/poisoned_dagger.tex
+++ b/latex/cards/poisoned_dagger.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Poisoned Dagger}
+\cardtypeEquipment{Poisoned Dagger}
\cardbuycost{3}
\cardsplitcontent{Durability: 2}{Equipped unit deals damage as poison counters in melee combat}
\cardplaycost{7}
diff --git a/latex/cards/reclaim!.tex b/latex/cards/reclaim!.tex
index 49a942f2..8799f713 100644
--- a/latex/cards/reclaim!.tex
+++ b/latex/cards/reclaim!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Reclaim!}
+\cardtypeSpell{Reclaim!}
\cardbuycost{5}
\cardcontent{Teleport target Artifact with Playcost X to a free spawn tile.}
\cardplaycost{X}
diff --git a/latex/cards/recruit.tex b/latex/cards/recruit.tex
new file mode 100644
index 00000000..14eaa349
--- /dev/null
+++ b/latex/cards/recruit.tex
@@ -0,0 +1,18 @@
+\documentclass[]{standalone}
+
+% Pakete dazuladen
+\input{libs.tex}
+% Farbdefinitionen laden
+\input{colors.tex}
+% \card-Commands laden
+\input{tikzcards.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnitToken{Recruit}
+\cardcontent{Health: 1\\ Movement: 1\\ Attack: 1}
+\cardplaycost{0}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
+
diff --git a/latex/cards/recruiter.tex b/latex/cards/recruiter.tex
index e0461eae..5d700aca 100644
--- a/latex/cards/recruiter.tex
+++ b/latex/cards/recruiter.tex
@@ -9,10 +9,9 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Recruiter}
+\cardtypeUnit{Recruiter}
\cardbuycost{10}
-\cardsplitcontent{Health: 2\\ Movement: 2\\ Attack: 1}{Effect: Spawn units in Range 1}
+\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}
\cardplaycost{1}\cardmodule{base}
\cardborder
\end{tikzpicture}
diff --git a/latex/cards/relic.tex b/latex/cards/relic.tex
index 8a085f17..7c3dd250 100644
--- a/latex/cards/relic.tex
+++ b/latex/cards/relic.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeArtifact
-\cardtitle{Relic}
+\cardtypeArtifact{Relic}
\cardbuycost{3}
\cardcontent{In your upkeep the player controlling the most units in range 1 gains 1 resource. On ties all tied players gain 1 resource.}
\cardplaycost{7}
diff --git a/latex/cards/ritual!.tex b/latex/cards/ritual!.tex
index 161a83e3..434c658e 100644
--- a/latex/cards/ritual!.tex
+++ b/latex/cards/ritual!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Ritual!}
+\cardtypeSpell{Ritual!}
\cardbuycost{7}
\cardcontent{Gain 3 Ressource}
\cardplaycost{1}
diff --git a/latex/cards/rush!.tex b/latex/cards/rush!.tex
index b006f813..9bca3de1 100644
--- a/latex/cards/rush!.tex
+++ b/latex/cards/rush!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Rush!}
+\cardtypeSpell{Rush!}
\cardbuycost{5}
\cardcontent{One unit gains +4 Movement until end of turn}
\cardplaycost{2}
diff --git a/latex/cards/select!.tex b/latex/cards/select!.tex
index b1b2b1fd..178ca1bf 100644
--- a/latex/cards/select!.tex
+++ b/latex/cards/select!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Select!}
+\cardtypeSpell{Select!}
\cardbuycost{7}
\cardcontent{Scry 1. Draw 1}
\cardplaycost{1}
diff --git a/latex/cards/shatter!.tex b/latex/cards/shatter!.tex
index 998d7ea9..fd3c58b6 100644
--- a/latex/cards/shatter!.tex
+++ b/latex/cards/shatter!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Shatter!}
+\cardtypeSpell{Shatter!}
\cardbuycost{5}
\cardcontent{Destroy target artifact with buy = X}
\cardplaycost{X}
diff --git a/latex/cards/shield.tex b/latex/cards/shield.tex
index bba23b4a..015f695f 100644
--- a/latex/cards/shield.tex
+++ b/latex/cards/shield.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Shield}
+\cardtypeEquipment{Shield}
\cardbuycost{5}
\cardsplitcontent{Durability: 3}{Equipped unit gains +1 Health}
\cardplaycost{1}
diff --git a/latex/cards/shroud!.tex b/latex/cards/shroud!.tex
index 5ab466c9..c6b2ca7c 100644
--- a/latex/cards/shroud!.tex
+++ b/latex/cards/shroud!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Shroud!}
+\cardtypeSpell{Shroud!}
\cardbuycost{5}
\cardcontent{Target unit can not be targeted this turn}
\cardplaycost{2}
diff --git a/latex/cards/smith.tex b/latex/cards/smith.tex
index e84db445..bced3f14 100644
--- a/latex/cards/smith.tex
+++ b/latex/cards/smith.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Smith}
+\cardtypeUnit{Smith}
\cardbuycost{10}
\cardsplitcontent{Health: 1\\ Movement: 1}{\faRedo: Pay X: Create Copy of artifact with buy cost = X in range 1 on empty tile in range 1}
\cardplaycost{2}\cardmodule{equipments}
diff --git a/latex/cards/spear.tex b/latex/cards/spear.tex
index cb668cc6..cda86b4c 100644
--- a/latex/cards/spear.tex
+++ b/latex/cards/spear.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Spear}
+\cardtypeEquipment{Spear}
\cardbuycost{2}
\cardsplitcontent{Durability: 3}{Equipped unit gains +1 Attack and Range 2 against unit with M >= 3}
\cardplaycost{7}
diff --git a/latex/cards/stumble!.tex b/latex/cards/stumble!.tex
index 12ad9e6c..ad62b63a 100644
--- a/latex/cards/stumble!.tex
+++ b/latex/cards/stumble!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Stumble!}
+\cardtypeSpell{Stumble!}
\cardbuycost{5}
\cardcontent{Target unit can not move or attack this turn}
\cardplaycost{2}
diff --git a/latex/cards/switch!.tex b/latex/cards/switch!.tex
index 7c98ed36..d2dfefb5 100644
--- a/latex/cards/switch!.tex
+++ b/latex/cards/switch!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Switch!}
+\cardtypeSpell{Switch!}
\cardbuycost{5}
\cardcontent{Switch the positions of two permanents you control}
\cardplaycost{2}
diff --git a/latex/cards/sword.tex b/latex/cards/sword.tex
index efde5d29..7773df30 100644
--- a/latex/cards/sword.tex
+++ b/latex/cards/sword.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Sword}
+\cardtypeEquipment{Sword}
\cardbuycost{5}
\cardsplitcontent{Durability: 3}{Equipped unit gains +1 Melee Damage}
\cardplaycost{2}
diff --git a/latex/cards/tax_collector.tex b/latex/cards/tax_collector.tex
index 81207749..4b8f9414 100644
--- a/latex/cards/tax_collector.tex
+++ b/latex/cards/tax_collector.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeUnit
-\cardtitle{Tax Collector}
+\cardtypeUnit{Tax Collector}
\cardbuycost{5}
\cardsplitcontent{Health: 1\\ Movement: 2}{\faRedo: Get 2 additional Ressource}
\cardplaycost{1}\cardmodule{base}
diff --git a/latex/cards/tower_shield.tex b/latex/cards/tower_shield.tex
index 9eb419bf..fdaf1be7 100644
--- a/latex/cards/tower_shield.tex
+++ b/latex/cards/tower_shield.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeEquipment
-\cardtitle{Tower Shield}
+\cardtypeEquipment{Tower Shield}
\cardbuycost{7}
\cardsplitcontent{Durability: 3}{Equipped unit has +2 Health}
\cardplaycost{2}
diff --git a/latex/cards/transmute!.tex b/latex/cards/transmute!.tex
index 321caaaf..d4ad8a93 100644
--- a/latex/cards/transmute!.tex
+++ b/latex/cards/transmute!.tex
@@ -9,8 +9,7 @@
\begin{document}
\begin{tikzpicture}
-\cardtypeSpell
-\cardtitle{Transmute!}
+\cardtypeSpell{Transmute!}
\cardbuycost{5}
\cardcontent{Take one of your cards from the store and put it into your bin. Exile ths card.}
\cardplaycost{5}
diff --git a/latex/colors.tex b/latex/colors.tex
index fd3cf46f..c34c30c1 100644
--- a/latex/colors.tex
+++ b/latex/colors.tex
@@ -5,6 +5,7 @@
\definecolor{titlebg}{RGB}{30,30,30}
% Farben der "Fähnchen" zur Kennzeichnung der unterschiedlichen Kartentypen
+\definecolor{tokenbg}{RGB}{51,51,51}
\definecolor{unitbg}{RGB}{0,100,200}
\definecolor{spellbg}{RGB}{80,180,0}
\definecolor{artifactbg}{RGB}{200,50,50}
diff --git a/latex/tikzcards.tex b/latex/tikzcards.tex
index ca08316c..a7cf2158 100644
--- a/latex/tikzcards.tex
+++ b/latex/tikzcards.tex
@@ -76,7 +76,12 @@
}
% Kategorie der Karte
-\newcommand{\cardtype}[3]{
+% arg1: Background
+% arg2: Type
+% arg3: TypeIcon
+% arg4: Text for left stripe
+% arg5: Title
+\newcommand{\cardtype}[5]{
% First we fill the intersecting area
% The \clip command does not allow options, therefore
% we have to use a scope to set the even odd rule.
@@ -87,17 +92,25 @@
% Fill shapeLeftStripLong and shapeLeftStripShort.
% Since the even odd rule is set, only the card will be filled.
\fill[strip,#1] \shapeLeftStripLong node[rotate=90,above left=0.9mm,font=\normalsize] {
- \color{white}\uppercase{#2}
+ \color{white}\uppercase{#4 - #2}
};
\fill[strip,#1] \shapeLeftStripShort;
\end{scope}
\node at (\strippadding+0.5*\stripwidth,\cardheight-\strippadding-\strippadding-0.37) {\color{white}#3};
+
+ \cardtitle{#5}
}
-\newcommand{\cardtypeUnit}{\cardtype{unitbg}{Unit}{\LARGE\sympawn}}
-\newcommand{\cardtypeSpell}{\cardtype{spellbg}{Spell}{\Large\faBolt}}
-\newcommand{\cardtypeArtifact}{\cardtype{artifactbg}{Artifact}{\LARGE\decoone}}
-\newcommand{\cardtypeEquipment}{\cardtype{equipmentbg}{Equipment}{\huge\dag}}
+\newcommand{\cardtypeUnitToken}[1]{\cardtype{tokenbg}{Unit}{\LARGE\sympawn}{TOKEN}{{\Large TOKEN} \\ #1}}
+\newcommand{\cardtypeUnit}[1]{\cardtype{unitbg}{Unit}{\LARGE\sympawn}{#1}{#1}}
+
+\newcommand{\cardtypeSpell}[1]{\cardtype{spellbg}{Spell}{\Large\faBolt}{#1}{#1}}
+
+\newcommand{\cardtypeArtifactToken}[1]{\cardtype{tokenbg}{Artifact}{\LARGE\decoone}{TOKEN}{{\Large TOKEN} \\ #1}}
+\newcommand{\cardtypeArtifact}[1]{\cardtype{artifactbg}{Artifact}{\LARGE\decoone}{#1}{#1}}
+
+\newcommand{\cardtypeEquipmentToken}[1]{\cardtype{tokenbg}{Equipment}{\huge\dag}{TOKEN}{{\Large TOKEN} \\ #1}}
+\newcommand{\cardtypeEquipment}[1]{\cardtype{equipmentbg}{Equipment}{\huge\dag}{#1}{#1}}
% Titel der Karte
\newcommand{\cardtitle}[1]{
diff --git a/scripts/generate_latex.py b/scripts/generate_latex.py
index 2a7b5aa0..f9f6eb21 100755
--- a/scripts/generate_latex.py
+++ b/scripts/generate_latex.py
@@ -68,10 +68,11 @@ def generate_card(card_name: str, card: MutableMapping):
card_content += f'\\cardbackground{{{image_file.name}}}\n'
break
- card_content += f'\cardtype{card["type"].capitalize()}\n'
- card_content += f'\cardtitle{{{card_name}}}\n'
+ card_content += f'\cardtype{card["type"].capitalize()}{"Token" if "token" in card else ""}{{{card_name}}}\n'
+ # card_content += f'\cardtitle{{{card_name}}}\n'
- card_content += f'\cardbuycost{{{card["buy"]}}}\n'
+ if 'buy' in card:
+ card_content += f'\cardbuycost{{{card["buy"]}}}\n'
if card['type'] == 'unit':
health = card['health']