aboutsummaryrefslogtreecommitdiff
path: root/latex/cards/base
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-02-28 17:01:38 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-02-28 17:01:38 +0100
commit0692ccd33afc4fdd80550e9979b824c1c25e973b (patch)
tree8cf46b780af060d9fd6cf5a089729a9491eaa1c7 /latex/cards/base
parent5074205584de432892de5b0543b64efde4ddd6e3 (diff)
downloadmuhqs-game-0692ccd33afc4fdd80550e9979b824c1c25e973b.tar.gz
muhqs-game-0692ccd33afc4fdd80550e9979b824c1c25e973b.zip
rework how cards are defined and generated
Card definitions are now stored in data/cards/ in a subdirectory for each set as YAML files. YAML is still human readable but stricter and better to handle in code than ini. The latex filesystem layout resembles the card definition layout and is created by the Makefile from the YAML card definitions and must not be regenerated each time by hand.
Diffstat (limited to 'latex/cards/base')
-rw-r--r--latex/cards/base/advisor.tex12
-rw-r--r--latex/cards/base/archer.tex12
-rw-r--r--latex/cards/base/cavalry.tex12
-rw-r--r--latex/cards/base/cavalry_archer.tex12
-rw-r--r--latex/cards/base/fighter.tex12
-rw-r--r--latex/cards/base/great_sword.tex13
-rw-r--r--latex/cards/base/knight.tex12
-rw-r--r--latex/cards/base/misinformation.tex12
-rw-r--r--latex/cards/base/missionary.tex12
-rw-r--r--latex/cards/base/palisade.tex13
-rw-r--r--latex/cards/base/pikeman.tex12
-rw-r--r--latex/cards/base/pioneer.tex12
-rw-r--r--latex/cards/base/recruit.tex11
-rw-r--r--latex/cards/base/recruiter.tex12
-rw-r--r--latex/cards/base/shield.tex13
-rw-r--r--latex/cards/base/sword.tex13
-rw-r--r--latex/cards/base/tax_collector.tex12
-rw-r--r--latex/cards/base/tower_shield.tex13
-rw-r--r--latex/cards/base/wormtongue.tex12
19 files changed, 232 insertions, 0 deletions
diff --git a/latex/cards/base/advisor.tex b/latex/cards/base/advisor.tex
new file mode 100644
index 00000000..73b40ed9
--- /dev/null
+++ b/latex/cards/base/advisor.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\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}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/archer.tex b/latex/cards/base/archer.tex
new file mode 100644
index 00000000..a558454a
--- /dev/null
+++ b/latex/cards/base/archer.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Archer}
+\cardbuycost{5}
+\cardcontent{Health: 2\\Movement: 2\\Attack: 1 Range 2}
+\cardplaycost{1}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/cavalry.tex b/latex/cards/base/cavalry.tex
new file mode 100644
index 00000000..ead57ad0
--- /dev/null
+++ b/latex/cards/base/cavalry.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Cavalry}
+\cardbuycost{5}
+\cardcontent{Health: 1\\Movement: 3\\Attack: 2}
+\cardplaycost{2}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/cavalry_archer.tex b/latex/cards/base/cavalry_archer.tex
new file mode 100644
index 00000000..12dc9629
--- /dev/null
+++ b/latex/cards/base/cavalry_archer.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Cavalry Archer}
+\cardbuycost{10}
+\cardcontent{Health: 1\\Movement: 3\\Attack: 1 Range 2}
+\cardplaycost{2}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/fighter.tex b/latex/cards/base/fighter.tex
new file mode 100644
index 00000000..e92ce314
--- /dev/null
+++ b/latex/cards/base/fighter.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Fighter}
+\cardbuycost{7}
+\cardsplitcontent{Health: 2\\Movement: 2\\Attack: 1}{One additional attack action}
+\cardplaycost{1}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/great_sword.tex b/latex/cards/base/great_sword.tex
new file mode 100644
index 00000000..a791203e
--- /dev/null
+++ b/latex/cards/base/great_sword.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeEquipment{Great Sword}
+\cardbuycost{10}
+\cardsplitcontent{Durability: 3}{Equipped unit gains +2 Melee Damage}
+\cardplaycost{4}
+\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/knight.tex b/latex/cards/base/knight.tex
new file mode 100644
index 00000000..8bce19de
--- /dev/null
+++ b/latex/cards/base/knight.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Knight}
+\cardbuycost{7}
+\cardsplitcontent{Health: 2\\Movement: 2\\Attack: 2}{+ 1 Armor}
+\cardplaycost{2}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/misinformation.tex b/latex/cards/base/misinformation.tex
new file mode 100644
index 00000000..718b73ac
--- /dev/null
+++ b/latex/cards/base/misinformation.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeSpellToken{Misinformation}
+\cardcontent{Exile this card}
+\cardplaycost{5}
+\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/missionary.tex b/latex/cards/base/missionary.tex
new file mode 100644
index 00000000..d3f43f09
--- /dev/null
+++ b/latex/cards/base/missionary.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\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}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/palisade.tex b/latex/cards/base/palisade.tex
new file mode 100644
index 00000000..2c6c9c35
--- /dev/null
+++ b/latex/cards/base/palisade.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeArtifact{Palisade}
+\cardbuycost{7}
+\cardcontent{Solid 6}
+\cardplaycost{3}
+\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/pikeman.tex b/latex/cards/base/pikeman.tex
new file mode 100644
index 00000000..bb17dc7a
--- /dev/null
+++ b/latex/cards/base/pikeman.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Pikeman}
+\cardbuycost{5}
+\cardsplitcontent{Health: 2\\Movement: 1\\Attack: 1}{Range 2 against Units with Movement >= 3}
+\cardplaycost{1}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/pioneer.tex b/latex/cards/base/pioneer.tex
new file mode 100644
index 00000000..0964af43
--- /dev/null
+++ b/latex/cards/base/pioneer.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Pioneer}
+\cardbuycost{7}
+\cardsplitcontent{Health: 5\\Movement: 2}{\faRedo: Neutralize adjacent tile or Artifact}
+\cardplaycost{1}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/recruit.tex b/latex/cards/base/recruit.tex
new file mode 100644
index 00000000..8b88a6c6
--- /dev/null
+++ b/latex/cards/base/recruit.tex
@@ -0,0 +1,11 @@
+\documentclass{standalone}
+\input{common.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/base/recruiter.tex b/latex/cards/base/recruiter.tex
new file mode 100644
index 00000000..d5f53693
--- /dev/null
+++ b/latex/cards/base/recruiter.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Recruiter}
+\cardbuycost{10}
+\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}
+\end{document}
diff --git a/latex/cards/base/shield.tex b/latex/cards/base/shield.tex
new file mode 100644
index 00000000..3d51c1bc
--- /dev/null
+++ b/latex/cards/base/shield.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeEquipment{Shield}
+\cardbuycost{5}
+\cardsplitcontent{Durability: 3}{Equipped unit gains +1 Health}
+\cardplaycost{1}
+\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/sword.tex b/latex/cards/base/sword.tex
new file mode 100644
index 00000000..f4b34e62
--- /dev/null
+++ b/latex/cards/base/sword.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeEquipment{Sword}
+\cardbuycost{5}
+\cardsplitcontent{Durability: 3}{Equipped unit gains +1 Melee Damage}
+\cardplaycost{2}
+\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/tax_collector.tex b/latex/cards/base/tax_collector.tex
new file mode 100644
index 00000000..0989fecf
--- /dev/null
+++ b/latex/cards/base/tax_collector.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Tax Collector}
+\cardbuycost{5}
+\cardsplitcontent{Health: 1\\Movement: 2}{\faRedo: Get 2 additional Ressource}
+\cardplaycost{1}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/tower_shield.tex b/latex/cards/base/tower_shield.tex
new file mode 100644
index 00000000..b1e1d401
--- /dev/null
+++ b/latex/cards/base/tower_shield.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeEquipment{Tower Shield}
+\cardbuycost{7}
+\cardsplitcontent{Durability: 3}{Equipped unit has +2 Health}
+\cardplaycost{2}
+\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/base/wormtongue.tex b/latex/cards/base/wormtongue.tex
new file mode 100644
index 00000000..73a7ed36
--- /dev/null
+++ b/latex/cards/base/wormtongue.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Wormtongue}
+\cardbuycost{10}
+\cardsplitcontent{Health: 1\\Movement: 2}{\faRedo, 3: Add a Misinformation token to an opponents pile}
+\cardplaycost{2}\cardmodule{base}
+\cardborder
+\end{tikzpicture}
+\end{document}