From 0692ccd33afc4fdd80550e9979b824c1c25e973b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 28 Feb 2021 17:01:38 +0100 Subject: 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. --- latex/cards/base/advisor.tex | 12 ++++++++++++ latex/cards/base/archer.tex | 12 ++++++++++++ latex/cards/base/cavalry.tex | 12 ++++++++++++ latex/cards/base/cavalry_archer.tex | 12 ++++++++++++ latex/cards/base/fighter.tex | 12 ++++++++++++ latex/cards/base/great_sword.tex | 13 +++++++++++++ latex/cards/base/knight.tex | 12 ++++++++++++ latex/cards/base/misinformation.tex | 12 ++++++++++++ latex/cards/base/missionary.tex | 12 ++++++++++++ latex/cards/base/palisade.tex | 13 +++++++++++++ latex/cards/base/pikeman.tex | 12 ++++++++++++ latex/cards/base/pioneer.tex | 12 ++++++++++++ latex/cards/base/recruit.tex | 11 +++++++++++ latex/cards/base/recruiter.tex | 12 ++++++++++++ latex/cards/base/shield.tex | 13 +++++++++++++ latex/cards/base/sword.tex | 13 +++++++++++++ latex/cards/base/tax_collector.tex | 12 ++++++++++++ latex/cards/base/tower_shield.tex | 13 +++++++++++++ latex/cards/base/wormtongue.tex | 12 ++++++++++++ 19 files changed, 232 insertions(+) create mode 100644 latex/cards/base/advisor.tex create mode 100644 latex/cards/base/archer.tex create mode 100644 latex/cards/base/cavalry.tex create mode 100644 latex/cards/base/cavalry_archer.tex create mode 100644 latex/cards/base/fighter.tex create mode 100644 latex/cards/base/great_sword.tex create mode 100644 latex/cards/base/knight.tex create mode 100644 latex/cards/base/misinformation.tex create mode 100644 latex/cards/base/missionary.tex create mode 100644 latex/cards/base/palisade.tex create mode 100644 latex/cards/base/pikeman.tex create mode 100644 latex/cards/base/pioneer.tex create mode 100644 latex/cards/base/recruit.tex create mode 100644 latex/cards/base/recruiter.tex create mode 100644 latex/cards/base/shield.tex create mode 100644 latex/cards/base/sword.tex create mode 100644 latex/cards/base/tax_collector.tex create mode 100644 latex/cards/base/tower_shield.tex create mode 100644 latex/cards/base/wormtongue.tex (limited to 'latex/cards/base') 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} -- cgit v1.2.3