aboutsummaryrefslogtreecommitdiff
path: root/latex
diff options
context:
space:
mode:
Diffstat (limited to 'latex')
-rw-r--r--latex/Makefile100
-rw-r--r--latex/cards/advisor.tex19
-rw-r--r--latex/cards/angry_squid.tex19
-rw-r--r--latex/cards/archer.tex19
-rw-r--r--latex/cards/barge.tex19
-rw-r--r--latex/cards/base.tex50
-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.tex (renamed from latex/cards/great_sword.tex)11
-rw-r--r--latex/cards/base/knight.tex12
-rw-r--r--latex/cards/base/misinformation.tex (renamed from latex/cards/misinformation.tex)11
-rw-r--r--latex/cards/base/missionary.tex12
-rw-r--r--latex/cards/base/palisade.tex (renamed from latex/cards/palisade.tex)11
-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.tex (renamed from latex/cards/shield.tex)11
-rw-r--r--latex/cards/base/sword.tex (renamed from latex/cards/sword.tex)11
-rw-r--r--latex/cards/base/tax_collector.tex12
-rw-r--r--latex/cards/base/tower_shield.tex (renamed from latex/cards/tower_shield.tex)11
-rw-r--r--latex/cards/base/wormtongue.tex12
-rw-r--r--latex/cards/captain.tex19
-rw-r--r--latex/cards/cavalry.tex19
-rw-r--r--latex/cards/cavl._archer.tex19
-rw-r--r--latex/cards/chachalot.tex19
-rw-r--r--latex/cards/clownfish.tex19
-rw-r--r--latex/cards/dolphin.tex19
-rw-r--r--latex/cards/equipments/armor.tex (renamed from latex/cards/armor.tex)11
-rw-r--r--latex/cards/equipments/banner.tex (renamed from latex/cards/banner.tex)11
-rw-r--r--latex/cards/equipments/cloak.tex (renamed from latex/cards/cloak.tex)11
-rw-r--r--latex/cards/equipments/gear.tex (renamed from latex/cards/gear.tex)11
-rw-r--r--latex/cards/equipments/mace.tex (renamed from latex/cards/mace.tex)11
-rw-r--r--latex/cards/equipments/plate_armor.tex (renamed from latex/cards/plate_armor.tex)11
-rw-r--r--latex/cards/equipments/poisoned_dagger.tex (renamed from latex/cards/poisoned_dagger.tex)11
-rw-r--r--latex/cards/equipments/reclaim!.tex (renamed from latex/cards/reclaim!.tex)11
-rw-r--r--latex/cards/equipments/relic.tex (renamed from latex/cards/relic.tex)11
-rw-r--r--latex/cards/equipments/shatter!.tex (renamed from latex/cards/shatter!.tex)11
-rw-r--r--latex/cards/equipments/smith.tex12
-rw-r--r--latex/cards/equipments/spear.tex (renamed from latex/cards/spear.tex)11
-rw-r--r--latex/cards/farmer.tex18
-rw-r--r--latex/cards/fighter.tex19
-rw-r--r--latex/cards/fish_trap.tex18
-rw-r--r--latex/cards/fisher.tex19
-rw-r--r--latex/cards/frost_pylon.tex19
-rw-r--r--latex/cards/galley.tex19
-rw-r--r--latex/cards/ice_berg.tex19
-rw-r--r--latex/cards/king.tex18
-rw-r--r--latex/cards/knight.tex19
-rw-r--r--latex/cards/kraken/angry_squid.tex12
-rw-r--r--latex/cards/kraken/chachalot.tex12
-rw-r--r--latex/cards/kraken/clownfish.tex12
-rw-r--r--latex/cards/kraken/dolphin.tex12
-rw-r--r--latex/cards/kraken/frost_pylon.tex12
-rw-r--r--latex/cards/kraken/gigantic_hail.tex12
-rw-r--r--latex/cards/kraken/ice_berg.tex11
-rw-r--r--latex/cards/kraken/sailfish.tex12
-rw-r--r--latex/cards/kraken/suprise.tex (renamed from latex/cards/suprise.tex)11
-rw-r--r--latex/cards/kraken/tentacle_slap.tex (renamed from latex/cards/tentacle_slap.tex)11
-rw-r--r--latex/cards/kraken/the_kraken.tex11
-rw-r--r--latex/cards/kraken/tides_change.tex (renamed from latex/cards/tides_change.tex)11
-rw-r--r--latex/cards/kraken/unholy_cannonball.tex12
-rw-r--r--latex/cards/magic/action!.tex (renamed from latex/cards/action!.tex)11
-rw-r--r--latex/cards/magic/appear!.tex (renamed from latex/cards/appear!.tex)11
-rw-r--r--latex/cards/magic/attack!.tex (renamed from latex/cards/attack!.tex)11
-rw-r--r--latex/cards/magic/catalyst.tex (renamed from latex/cards/catalyst.tex)11
-rw-r--r--latex/cards/magic/clone!.tex (renamed from latex/cards/clone!.tex)11
-rw-r--r--latex/cards/magic/defense!.tex (renamed from latex/cards/defense!.tex)11
-rw-r--r--latex/cards/magic/die!.tex (renamed from latex/cards/die!.tex)11
-rw-r--r--latex/cards/magic/heal!.tex (renamed from latex/cards/heal!.tex)11
-rw-r--r--latex/cards/magic/isolate!.tex (renamed from latex/cards/isolate!.tex)11
-rw-r--r--latex/cards/magic/mine!.tex (renamed from latex/cards/mine!.tex)11
-rw-r--r--latex/cards/magic/more!.tex (renamed from latex/cards/more!.tex)11
-rw-r--r--latex/cards/magic/no!.tex (renamed from latex/cards/no!.tex)11
-rw-r--r--latex/cards/magic/pierce!.tex (renamed from latex/cards/pierce!.tex)11
-rw-r--r--latex/cards/magic/ritual!.tex (renamed from latex/cards/ritual!.tex)11
-rw-r--r--latex/cards/magic/rush!.tex (renamed from latex/cards/rush!.tex)11
-rw-r--r--latex/cards/magic/select!.tex (renamed from latex/cards/select!.tex)11
-rw-r--r--latex/cards/magic/shroud!.tex (renamed from latex/cards/shroud!.tex)11
-rw-r--r--latex/cards/magic/stumble!.tex (renamed from latex/cards/stumble!.tex)11
-rw-r--r--latex/cards/magic/switch!.tex (renamed from latex/cards/switch!.tex)11
-rw-r--r--latex/cards/magic/transmute!.tex (renamed from latex/cards/transmute!.tex)11
-rw-r--r--latex/cards/misc/farmer.tex11
-rw-r--r--latex/cards/misc/king.tex11
-rw-r--r--latex/cards/misc/stick_of_victory.tex (renamed from latex/cards/stick_of_victory.tex)11
-rw-r--r--latex/cards/missionary.tex19
-rw-r--r--latex/cards/nautics/barge.tex12
-rw-r--r--latex/cards/nautics/captain.tex12
-rw-r--r--latex/cards/nautics/fish_trap.tex11
-rw-r--r--latex/cards/nautics/fisher.tex12
-rw-r--r--latex/cards/nautics/galley.tex12
-rw-r--r--latex/cards/nautics/sailor.tex11
-rw-r--r--latex/cards/pikeman.tex19
-rw-r--r--latex/cards/pioneer.tex19
-rw-r--r--latex/cards/players_turn.tex52
-rw-r--r--latex/cards/recruit.tex18
-rw-r--r--latex/cards/recruiter.tex19
-rw-r--r--latex/cards/sailfish.tex19
-rw-r--r--latex/cards/sailor.tex18
-rw-r--r--latex/cards/smith.tex19
-rw-r--r--latex/cards/tax_collector.tex19
-rw-r--r--latex/cards/the_kraken.tex18
-rw-r--r--latex/cards/unholy_cannonball.tex19
-rw-r--r--latex/cards/wormtongue.tex19
-rw-r--r--latex/common.tex3
-rw-r--r--latex/libs.tex2
109 files changed, 527 insertions, 1091 deletions
diff --git a/latex/Makefile b/latex/Makefile
index 5eedeb05..ce98c59d 100644
--- a/latex/Makefile
+++ b/latex/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all clean
+.PHONY: all clean clean-all cards-tex cards-pdf cards-png
.DEFAULT_GOAL = all
@@ -6,57 +6,83 @@ PDFLATEX = lualatex
PDFTOPPM = pdftoppm
PDFUNITE = pdfunite
-PDFTOPPM_FLAGS = -singlefile -png -r 300
+GENERATE_CARD = $(GAME_ROOT)scripts/generate_card.py
-COMMON_TEX_FILES = libs.tex colors.tex tikzcards.tex
+PDFTOPPM_FLAGS = -singlefile -png -r 300
-CARDS_DIR = cards
-CARD_SOURCES = $(shell find $(CARDS_DIR) -name "*.tex")
+COMMON_TEX_FILES = common.tex libs.tex colors.tex tikzcards.tex
-SETS_DIR = sets
-SETS_SOURCES = $(shell find $(SETS_DIR) -name "*.tex")
+# The full path to the Makefile
+MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
+# The path to the directory of the Makefile
+MAKEFILE_DIR := $(dir $(MAKEFILE_PATH))
-VERBOSE = @
-PDF_DIR = ./build
+LATEX_ROOT := $(MAKEFILE_DIR)
+GAME_ROOT := $(MAKEFILE_DIR)/../
+DATA_ROOT := $(GAME_ROOT)/data
+CARDS_YML_DIR := $(DATA_ROOT)/cards
+CARDS_TEX_DIR := $(LATEX_ROOT)/cards
+BUILDDIR := $(LATEX_ROOT)/build
-ALL_SOURCES = $(CARD_SOURCES) $(SETS_SOURCES)
-PDFS = $(notdir $(ALL_SOURCES:.tex=.pdf))
-PDFS_PREFIXED = $(addprefix $(PDF_DIR)/,$(PDFS))
+ASSETS_PATH = $(GAME_ROOT)/assets
+PDFLATEX_ENV := TEXINPUTS=".:$(ASSETS_PATH):"
-CARD_PNGS = $(notdir $(CARD_SOURCES:.tex=.png))
-CARD_PNGS_PREFIXED = $(addprefix $(PDF_DIR)/,$(CARD_PNGS))
+SETS := $(shell find $(CARDS_YML_DIR) -mindepth 1 -type d -printf "%f\n")
+SETS_SOURCEDIRS := $(foreach set, $(SETS), $(addprefix $(CARDS_YML_DIR)/, $(set)))
+SETS_TEXDIRS := $(foreach set, $(SETS), $(addprefix $(CARDS_TEX_DIR)/, $(set)))
+SETS_BUILDDIRS := $(foreach set, $(SETS), $(addprefix $(BUILDDIR)/, $(set)))
-MAKEFILE_LIST = Makefile
+# Add yml dirs to VPATH, the place make will look for the source files
+VPATH = $(SETS_SOURCEDIRS) $(SETS_TEXDIRS)
-ASSETS_PATH = ../assets
-PDFLATEX_ENV := TEXINPUTS=".:$(ASSETS_PATH):"
+# Create a list of yaml card definitions
+CARDS_YAML := $(foreach dir,$(SETS_SOURCEDIRS),$(wildcard $(dir)/*.yml))
+CARDS_TEX := $(subst $(CARDS_YML_DIR),$(CARDS_TEX_DIR),$(CARDS_YAML:.yml=.tex))
+CARDS_PDF := $(subst $(CARDS_YML_DIR),$(BUILDDIR),$(CARDS_YAML:.yml=.pdf))
+CARDS_PNG = $(CARDS_PDF:.pdf=.png)
-all: $(PDF_DIR)/print.pdf $(PDFS_PREFIXED) $(CARD_PNGS_PREFIXED)
+VERBOSE = @
-$(PDF_DIR)/print.pdf: print.tex $(CARD_SOURCES) $(COMMON_TEX_FILES) $(MAKEFILE_LIST)
- @echo "building › › $@"
- @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi
- $(VERBOSE) $(PDFLATEX_ENV) $(PDFLATEX) --output-directory $(PDF_DIR) print.tex
+MAKEFILE_LIST = Makefile
-$(PDF_DIR)/cards.pdf: $(PDFS_PREFIXED) $(MAKEFILE_LIST)
+# Define the functions that will generate each rule
+define generatePdfRules
+$(1)/%.pdf: %.tex $(COMMON_TEX_FILES) $(MAKEFILE_LIST)
+ @echo building $$@
+ @if test \( ! \( -d $$(@D) \) \) ;then mkdir -p $$(@D);fi
+ $(VERBOSE)$(PDFLATEX_ENV) $(PDFLATEX) --output-directory $$(@D) $$<
+endef
+
+define generateTexRules
+$(1)/%.tex: %.yml
+ @echo building $$@
+ @if test \( ! \( -d $$(@D) \) \) ;then mkdir -p $$(@D);fi
+ $(VERBOSE)$(GENERATE_CARD) --latex-root $(LATEX_ROOT) $$<
+endef
+
+# Generate tex rules
+$(foreach texdir, $(SETS_TEXDIRS), $(eval $(call generateTexRules, $(texdir))))
+
+# Generate pdf rules
+$(foreach pdfdir, $(SETS_BUILDDIRS), $(eval $(call generatePdfRules, $(pdfdir))))
+
+all: cards-tex cards-pdf cards-png
+cards-tex: $(CARDS_TEX)
+cards-pdf: $(CARDS_PDF)
+cards-png: $(CARDS_PNG)
+
+$(BUILDDIR)/cards.pdf: $(CARDS_PDF) $(MAKEFILE_LIST)
@echo "building › › $@"
@if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi
- $(VERBOSE) $(PDFUNITE) $(PDFS_PREFIXED) $@
-
-$(PDF_DIR)/%.pdf : $(CARDS_DIR)/%.tex $(COMMON_TEX_FILES) $(MAKEFILE_LIST)
- @echo "card › $@"
- @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi
- $(VERBOSE) $(PDFLATEX_ENV) $(PDFLATEX) --output-directory $(PDF_DIR) $(CARDS_DIR)/$*.tex
+ $(VERBOSE)$(PDFUNITE) $(CARDS_PDF) $@
-$(PDF_DIR)/%.pdf : $(SETS_DIR)/%.tex $(CARD_SOURCES) $(COMMON_TEX_FILES) $(MAKEFILE_LIST)
- @echo "card › $@"
- @if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi
- $(VERBOSE) $(PDFLATEX_ENV) $(PDFLATEX) --output-directory $(PDF_DIR) $^
-
-$(PDF_DIR)/%.png : $(PDF_DIR)/%.pdf $(MAKEFILE_LIST)
+%.png: %.pdf $(MAKEFILE_LIST)
@echo "png › $@"
@if test \( ! \( -d $(@D) \) \) ;then mkdir -p $(@D);fi
- $(VERBOSE) $(PDFTOPPM) $(PDFTOPPM_FLAGS) $(PDF_DIR)/$*.pdf $(PDF_DIR)/$*
+ $(VERBOSE)$(PDFTOPPM) $(PDFTOPPM_FLAGS) $< $*
clean:
- rm -rf build/
+ rm -rf $(BUILDDIR)
+
+clean-all: clean
+ rm -rf $(CARDS_TEX_DIR)
diff --git a/latex/cards/advisor.tex b/latex/cards/advisor.tex
deleted file mode 100644
index d2fe6354..00000000
--- a/latex/cards/advisor.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/angry_squid.tex b/latex/cards/angry_squid.tex
deleted file mode 100644
index 4eb74177..00000000
--- a/latex/cards/angry_squid.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Angry Squid}
-\cardbuycost{7}
-\cardcontent{AI: Aggressive\\ Health: 1\\ Movement: 2 swimming\\ Attack: 1 Range 2}
-\cardplaycost{2}\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/archer.tex b/latex/cards/archer.tex
deleted file mode 100644
index d5acae5a..00000000
--- a/latex/cards/archer.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/barge.tex b/latex/cards/barge.tex
deleted file mode 100644
index eb82ae5c..00000000
--- a/latex/cards/barge.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Barge}
-\cardbuycost{5}
-\cardsplitcontent{Health: 3\\ Movement: 3 swimming}{Crew 6}
-\cardplaycost{1}\cardmodule{nautics}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/base.tex b/latex/cards/base.tex
deleted file mode 100644
index c7231e76..00000000
--- a/latex/cards/base.tex
+++ /dev/null
@@ -1,50 +0,0 @@
-\documentclass[a4paper,landscape]{article}
-
-% Ränder des Dokuments anpassen
-\usepackage[margin=6mm,top=5mm]{geometry}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\usepackage{standalone}
-
-\begin{document}
-\begin{center}
-\pagestyle{empty}
-\input{cards/sword.tex}
-\hspace{5mm}
-\input{cards/great_sword.tex}
-\hspace{5mm}
-\input{cards/shield.tex}
-\hspace{5mm}
-\input{cards/tower_shield.tex}
-\vspace{5mm}
-
-\input{cards/archer.tex}
-\hspace{5mm}
-\input{cards/knight.tex}
-\hspace{5mm}
-\input{cards/pikeman.tex}
-\hspace{5mm}
-\input{cards/cavalry.tex}
-\vspace{5mm}
-
-\input{cards/tax_collector.tex}
-\hspace{5mm}
-\input{cards/pioneer.tex}
-\hspace{5mm}
-\input{cards/recruiter.tex}
-\hspace{5mm}
-\input{cards/missionary.tex}
-\vspace{5mm}
-
-\input{cards/cavl._archer.tex}
-\hspace{5mm}
-
-\end{center}
-\end{document}
-
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/great_sword.tex b/latex/cards/base/great_sword.tex
index 1f4fcfca..a791203e 100644
--- a/latex/cards/great_sword.tex
+++ b/latex/cards/base/great_sword.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\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/misinformation.tex b/latex/cards/base/misinformation.tex
index e624df15..718b73ac 100644
--- a/latex/cards/misinformation.tex
+++ b/latex/cards/base/misinformation.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -16,4 +10,3 @@
\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/palisade.tex b/latex/cards/base/palisade.tex
index 049c3f85..2c6c9c35 100644
--- a/latex/cards/palisade.tex
+++ b/latex/cards/base/palisade.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\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/shield.tex b/latex/cards/base/shield.tex
index 015f695f..3d51c1bc 100644
--- a/latex/cards/shield.tex
+++ b/latex/cards/base/shield.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/sword.tex b/latex/cards/base/sword.tex
index 7773df30..f4b34e62 100644
--- a/latex/cards/sword.tex
+++ b/latex/cards/base/sword.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\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/tower_shield.tex b/latex/cards/base/tower_shield.tex
index fdaf1be7..b1e1d401 100644
--- a/latex/cards/tower_shield.tex
+++ b/latex/cards/base/tower_shield.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\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}
diff --git a/latex/cards/captain.tex b/latex/cards/captain.tex
deleted file mode 100644
index b7d9b0e6..00000000
--- a/latex/cards/captain.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Captain}
-\cardbuycost{7}
-\cardsplitcontent{Health: 1\\ Movement: 1\\ Attack: 1}{Other units in the same pile have no upkeep cost}
-\cardplaycost{2}\cardmodule{nautics}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/cavalry.tex b/latex/cards/cavalry.tex
deleted file mode 100644
index 729fcc77..00000000
--- a/latex/cards/cavalry.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/cavl._archer.tex b/latex/cards/cavl._archer.tex
deleted file mode 100644
index e004d367..00000000
--- a/latex/cards/cavl._archer.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Cavl. 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/chachalot.tex b/latex/cards/chachalot.tex
deleted file mode 100644
index ae94e946..00000000
--- a/latex/cards/chachalot.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Chachalot}
-\cardbuycost{10}
-\cardsplitcontent{AI: Wandering\\ Health: 2\\ Movement: 2 swimming\\ Attack: 2}{+ 1 Armor}
-\cardplaycost{2}\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/clownfish.tex b/latex/cards/clownfish.tex
deleted file mode 100644
index dcb82f1e..00000000
--- a/latex/cards/clownfish.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Clownfish}
-\cardbuycost{10}
-\cardsplitcontent{AI: Shy\\ Health: 1\\ Movement: 2 swimming}{\faRedo: Get 4 additional Ressource}
-\cardplaycost{2}\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/dolphin.tex b/latex/cards/dolphin.tex
deleted file mode 100644
index e687d623..00000000
--- a/latex/cards/dolphin.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Dolphin}
-\cardbuycost{7}
-\cardsplitcontent{AI: Supportive\\ Health: 2\\ Movement: 2}{\faRedo: Give random Unit in range 1 random buff}
-\cardplaycost{1}\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/armor.tex b/latex/cards/equipments/armor.tex
index 5cb37056..0a32f9ca 100644
--- a/latex/cards/armor.tex
+++ b/latex/cards/equipments/armor.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/banner.tex b/latex/cards/equipments/banner.tex
index 677c82ef..8baa86a1 100644
--- a/latex/cards/banner.tex
+++ b/latex/cards/equipments/banner.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/cloak.tex b/latex/cards/equipments/cloak.tex
index 77d72ee2..329b6e56 100644
--- a/latex/cards/cloak.tex
+++ b/latex/cards/equipments/cloak.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/gear.tex b/latex/cards/equipments/gear.tex
index 36e4ae8e..be937384 100644
--- a/latex/cards/gear.tex
+++ b/latex/cards/equipments/gear.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/mace.tex b/latex/cards/equipments/mace.tex
index e400ca34..41859143 100644
--- a/latex/cards/mace.tex
+++ b/latex/cards/equipments/mace.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/plate_armor.tex b/latex/cards/equipments/plate_armor.tex
index b8252f41..284c7592 100644
--- a/latex/cards/plate_armor.tex
+++ b/latex/cards/equipments/plate_armor.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/poisoned_dagger.tex b/latex/cards/equipments/poisoned_dagger.tex
index 1e39fcd6..c584dd27 100644
--- a/latex/cards/poisoned_dagger.tex
+++ b/latex/cards/equipments/poisoned_dagger.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/reclaim!.tex b/latex/cards/equipments/reclaim!.tex
index 628b3309..3708183b 100644
--- a/latex/cards/reclaim!.tex
+++ b/latex/cards/equipments/reclaim!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/relic.tex b/latex/cards/equipments/relic.tex
index 7c3dd250..68f1342c 100644
--- a/latex/cards/relic.tex
+++ b/latex/cards/equipments/relic.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/shatter!.tex b/latex/cards/equipments/shatter!.tex
index fd3c58b6..87a9de27 100644
--- a/latex/cards/shatter!.tex
+++ b/latex/cards/equipments/shatter!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/equipments/smith.tex b/latex/cards/equipments/smith.tex
new file mode 100644
index 00000000..92b7cb12
--- /dev/null
+++ b/latex/cards/equipments/smith.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Smith}
+\cardbuycost{10}
+\cardsplitcontent{Health: 1\\Movement: 2}{\faRedo, X: Create Copy of artifact with buy cost = X in range 1 on empty tile in range 1}
+\cardplaycost{2}\cardmodule{equipments}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/spear.tex b/latex/cards/equipments/spear.tex
index cda86b4c..cc2f81bc 100644
--- a/latex/cards/spear.tex
+++ b/latex/cards/equipments/spear.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/farmer.tex b/latex/cards/farmer.tex
deleted file mode 100644
index e9a33023..00000000
--- a/latex/cards/farmer.tex
+++ /dev/null
@@ -1,18 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Farmer}
-\cardcontent{Health: 1\\ Movement: 1\\ Attack: 1}
-\cardplaycost{1}\cardmodule{}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/fighter.tex b/latex/cards/fighter.tex
deleted file mode 100644
index 855cdd0a..00000000
--- a/latex/cards/fighter.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/fish_trap.tex b/latex/cards/fish_trap.tex
deleted file mode 100644
index 2c8231b8..00000000
--- a/latex/cards/fish_trap.tex
+++ /dev/null
@@ -1,18 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeArtifactToken{Fish Trap}
-\cardcontent{Adjacent Fisher have \\ \faRedo: Gain 2 Resource}
-\cardmodule{nautics}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/fisher.tex b/latex/cards/fisher.tex
deleted file mode 100644
index ead0fb27..00000000
--- a/latex/cards/fisher.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Fisher}
-\cardbuycost{5}
-\cardsplitcontent{Health: 2\\ Movement: 2 swimming}{Crew 2\\ \vspace{0.2cm} \faRedo: Create fish trap token on adjacent water tile}
-\cardplaycost{1}\cardmodule{nautics}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/frost_pylon.tex b/latex/cards/frost_pylon.tex
deleted file mode 100644
index 54422837..00000000
--- a/latex/cards/frost_pylon.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeArtifact{Frost Pylon}
-\cardbuycost{5}
-\cardcontent{Enemy units in range 1 can't activate abilities except: "\\faRedo: put a crack counter on Frost Pylon". If there are three or more crack counter on Frost Pylon destroy it. Frots Pylon can be played next to a random enemy unit.}
-\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/galley.tex b/latex/cards/galley.tex
deleted file mode 100644
index 55e26948..00000000
--- a/latex/cards/galley.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Galley}
-\cardbuycost{7}
-\cardsplitcontent{Health: 4\\ Movement: 3 swimming\\ Attack: 1 range 2}{Crew 3}
-\cardplaycost{1}\cardmodule{nautics}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/ice_berg.tex b/latex/cards/ice_berg.tex
deleted file mode 100644
index dedb8303..00000000
--- a/latex/cards/ice_berg.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeArtifact{Ice Berg}
-\cardcontent{Solid 3}
-\cardplaycost{3}
-\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/king.tex b/latex/cards/king.tex
deleted file mode 100644
index ddc379d5..00000000
--- a/latex/cards/king.tex
+++ /dev/null
@@ -1,18 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnitToken{King}
-\cardsplitcontent{Health: 5\\ Movement: 1\\ Attack: 1}{5 Resource: +shroud until end of turn. \\ Protection from Die!}
-\cardplaycost{0}\cardmodule{}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/knight.tex b/latex/cards/knight.tex
deleted file mode 100644
index 20ad1601..00000000
--- a/latex/cards/knight.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/kraken/angry_squid.tex b/latex/cards/kraken/angry_squid.tex
new file mode 100644
index 00000000..4b79bd2f
--- /dev/null
+++ b/latex/cards/kraken/angry_squid.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Angry Squid}
+\cardbuycost{7}
+\cardcontent{AI: Aggressive\\Health: 1\\Movement: 2 swimming\\Attack: 1 Range 2}
+\cardplaycost{2}\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/kraken/chachalot.tex b/latex/cards/kraken/chachalot.tex
new file mode 100644
index 00000000..8f980846
--- /dev/null
+++ b/latex/cards/kraken/chachalot.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Chachalot}
+\cardbuycost{10}
+\cardsplitcontent{AI: Wandering\\Health: 2\\Movement: 2 swimming\\Attack: 2}{+ 1 Armor}
+\cardplaycost{2}\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/kraken/clownfish.tex b/latex/cards/kraken/clownfish.tex
new file mode 100644
index 00000000..913a430e
--- /dev/null
+++ b/latex/cards/kraken/clownfish.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Clownfish}
+\cardbuycost{10}
+\cardsplitcontent{AI: Shy\\Health: 1\\Movement: 2 swimming}{\faRedo: Get 4 additional Ressource}
+\cardplaycost{2}\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/kraken/dolphin.tex b/latex/cards/kraken/dolphin.tex
new file mode 100644
index 00000000..ef8e5de0
--- /dev/null
+++ b/latex/cards/kraken/dolphin.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Dolphin}
+\cardbuycost{7}
+\cardsplitcontent{AI: Supportive\\Health: 2\\Movement: 2}{\faRedo: Give random Unit in range 1 random buff}
+\cardplaycost{1}\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/kraken/frost_pylon.tex b/latex/cards/kraken/frost_pylon.tex
new file mode 100644
index 00000000..0f25ac79
--- /dev/null
+++ b/latex/cards/kraken/frost_pylon.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeArtifact{Frost Pylon}
+\cardbuycost{5}
+\cardcontent{Enemy units in range 1 can't activate abilities except: \enquote{~\faRedo: put a crack counter on Frost Pylon}. \\ \vspace{0.3cm} If there are three or more crack counter on Frost Pylon destroy it. Frost Pylon can be played next to a random enemy unit}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/kraken/gigantic_hail.tex b/latex/cards/kraken/gigantic_hail.tex
new file mode 100644
index 00000000..433d264d
--- /dev/null
+++ b/latex/cards/kraken/gigantic_hail.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeSpell{Gigantic Hail}
+\cardcontent{Place an Ice Berg token on a random empty tile}
+\cardplaycost{3}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/kraken/ice_berg.tex b/latex/cards/kraken/ice_berg.tex
new file mode 100644
index 00000000..b9aff050
--- /dev/null
+++ b/latex/cards/kraken/ice_berg.tex
@@ -0,0 +1,11 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeArtifactToken{Ice Berg}
+\cardcontent{Solid 3}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/kraken/sailfish.tex b/latex/cards/kraken/sailfish.tex
new file mode 100644
index 00000000..4dfd1fab
--- /dev/null
+++ b/latex/cards/kraken/sailfish.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Sailfish}
+\cardbuycost{7}
+\cardcontent{AI: Aggressive\\Health: 1\\Movement: 3\\Attack: 1}
+\cardplaycost{1}\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/suprise.tex b/latex/cards/kraken/suprise.tex
index ff8dc5e5..bced6c08 100644
--- a/latex/cards/suprise.tex
+++ b/latex/cards/kraken/suprise.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -16,4 +10,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/tentacle_slap.tex b/latex/cards/kraken/tentacle_slap.tex
index 24292cb9..cb4b9463 100644
--- a/latex/cards/tentacle_slap.tex
+++ b/latex/cards/kraken/tentacle_slap.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -16,4 +10,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/kraken/the_kraken.tex b/latex/cards/kraken/the_kraken.tex
new file mode 100644
index 00000000..ab6d5dc3
--- /dev/null
+++ b/latex/cards/kraken/the_kraken.tex
@@ -0,0 +1,11 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{The Kraken}
+\cardcontent{Health: 5\\Attack: 1}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/tides_change.tex b/latex/cards/kraken/tides_change.tex
index 4a82d49e..9d44f674 100644
--- a/latex/cards/tides_change.tex
+++ b/latex/cards/kraken/tides_change.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -16,4 +10,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/kraken/unholy_cannonball.tex b/latex/cards/kraken/unholy_cannonball.tex
new file mode 100644
index 00000000..07cb51cb
--- /dev/null
+++ b/latex/cards/kraken/unholy_cannonball.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeSpell{Unholy Cannonball}
+\cardcontent{If no enemy Units are in range~2 of The Kraken gain 5~ressource and draw a card. \\ \vspace{0.3cm} Otherwise put a fear counter on all enemy Units in range~2 of The Kraken}
+\cardplaycost{5}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/action!.tex b/latex/cards/magic/action!.tex
index 7f855587..53cc73c7 100644
--- a/latex/cards/action!.tex
+++ b/latex/cards/magic/action!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/appear!.tex b/latex/cards/magic/appear!.tex
index 4d4a41f7..994d9ec4 100644
--- a/latex/cards/appear!.tex
+++ b/latex/cards/magic/appear!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/attack!.tex b/latex/cards/magic/attack!.tex
index d0f44924..20707bcc 100644
--- a/latex/cards/attack!.tex
+++ b/latex/cards/magic/attack!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/catalyst.tex b/latex/cards/magic/catalyst.tex
index b9037954..36fb937e 100644
--- a/latex/cards/catalyst.tex
+++ b/latex/cards/magic/catalyst.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/clone!.tex b/latex/cards/magic/clone!.tex
index 5f03c662..139147b6 100644
--- a/latex/cards/clone!.tex
+++ b/latex/cards/magic/clone!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/defense!.tex b/latex/cards/magic/defense!.tex
index e242c9f4..c0619ca9 100644
--- a/latex/cards/defense!.tex
+++ b/latex/cards/magic/defense!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/die!.tex b/latex/cards/magic/die!.tex
index fab8c909..8674a709 100644
--- a/latex/cards/die!.tex
+++ b/latex/cards/magic/die!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/heal!.tex b/latex/cards/magic/heal!.tex
index 4b7fab6a..65d46a3d 100644
--- a/latex/cards/heal!.tex
+++ b/latex/cards/magic/heal!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/isolate!.tex b/latex/cards/magic/isolate!.tex
index ac7ffcf5..88468866 100644
--- a/latex/cards/isolate!.tex
+++ b/latex/cards/magic/isolate!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/mine!.tex b/latex/cards/magic/mine!.tex
index 7485ea53..e585603c 100644
--- a/latex/cards/mine!.tex
+++ b/latex/cards/magic/mine!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/more!.tex b/latex/cards/magic/more!.tex
index 77b6559a..1168aac6 100644
--- a/latex/cards/more!.tex
+++ b/latex/cards/magic/more!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/no!.tex b/latex/cards/magic/no!.tex
index a887d472..3719eab3 100644
--- a/latex/cards/no!.tex
+++ b/latex/cards/magic/no!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/pierce!.tex b/latex/cards/magic/pierce!.tex
index bed00ace..6d3a8f93 100644
--- a/latex/cards/pierce!.tex
+++ b/latex/cards/magic/pierce!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/ritual!.tex b/latex/cards/magic/ritual!.tex
index 434c658e..217386fb 100644
--- a/latex/cards/ritual!.tex
+++ b/latex/cards/magic/ritual!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/rush!.tex b/latex/cards/magic/rush!.tex
index cf143c58..b5eb53f3 100644
--- a/latex/cards/rush!.tex
+++ b/latex/cards/magic/rush!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/select!.tex b/latex/cards/magic/select!.tex
index 5cfbad25..37d8ffad 100644
--- a/latex/cards/select!.tex
+++ b/latex/cards/magic/select!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/shroud!.tex b/latex/cards/magic/shroud!.tex
index c6b2ca7c..e1e9eade 100644
--- a/latex/cards/shroud!.tex
+++ b/latex/cards/magic/shroud!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/stumble!.tex b/latex/cards/magic/stumble!.tex
index ad62b63a..9a8766df 100644
--- a/latex/cards/stumble!.tex
+++ b/latex/cards/magic/stumble!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/switch!.tex b/latex/cards/magic/switch!.tex
index d2dfefb5..491a5115 100644
--- a/latex/cards/switch!.tex
+++ b/latex/cards/magic/switch!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/transmute!.tex b/latex/cards/magic/transmute!.tex
index 38c05db7..b18d00c5 100644
--- a/latex/cards/transmute!.tex
+++ b/latex/cards/magic/transmute!.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -17,4 +11,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/misc/farmer.tex b/latex/cards/misc/farmer.tex
new file mode 100644
index 00000000..7e9ac9c2
--- /dev/null
+++ b/latex/cards/misc/farmer.tex
@@ -0,0 +1,11 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Farmer}
+\cardcontent{Health: 1\\Movement: 1\\Attack: 1}
+\cardplaycost{1}\cardmodule{}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/misc/king.tex b/latex/cards/misc/king.tex
new file mode 100644
index 00000000..7e95025a
--- /dev/null
+++ b/latex/cards/misc/king.tex
@@ -0,0 +1,11 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnitToken{King}
+\cardsplitcontent{Health: 5\\Movement: 1\\Attack: 1}{5 Resource: +shroud until end of turn. \ Protection from Die!}
+\cardplaycost{0}\cardmodule{}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/stick_of_victory.tex b/latex/cards/misc/stick_of_victory.tex
index 6586d237..5bd28a96 100644
--- a/latex/cards/stick_of_victory.tex
+++ b/latex/cards/misc/stick_of_victory.tex
@@ -1,11 +1,5 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
+\documentclass{standalone}
+\input{common.tex}
\begin{document}
\begin{tikzpicture}
@@ -15,4 +9,3 @@
\cardborder
\end{tikzpicture}
\end{document}
-
diff --git a/latex/cards/missionary.tex b/latex/cards/missionary.tex
deleted file mode 100644
index 98b8a708..00000000
--- a/latex/cards/missionary.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/nautics/barge.tex b/latex/cards/nautics/barge.tex
new file mode 100644
index 00000000..fd00b98a
--- /dev/null
+++ b/latex/cards/nautics/barge.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Barge}
+\cardbuycost{5}
+\cardsplitcontent{Health: 3\\Movement: 3 swimming}{Crew 6}
+\cardplaycost{1}\cardmodule{nautics}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/nautics/captain.tex b/latex/cards/nautics/captain.tex
new file mode 100644
index 00000000..802e7d99
--- /dev/null
+++ b/latex/cards/nautics/captain.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Captain}
+\cardbuycost{7}
+\cardsplitcontent{Health: 1\\Movement: 1\\Attack: 1}{Other units in the same pile have no upkeep cost}
+\cardplaycost{2}\cardmodule{nautics}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/nautics/fish_trap.tex b/latex/cards/nautics/fish_trap.tex
new file mode 100644
index 00000000..7e616a7a
--- /dev/null
+++ b/latex/cards/nautics/fish_trap.tex
@@ -0,0 +1,11 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeArtifactToken{Fish Trap}
+\cardcontent{Adjacent Fisher have \\ \enquote{~\faRedo: Gain 2 Resource}}
+\cardmodule{nautics}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/nautics/fisher.tex b/latex/cards/nautics/fisher.tex
new file mode 100644
index 00000000..01a389df
--- /dev/null
+++ b/latex/cards/nautics/fisher.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Fisher}
+\cardbuycost{5}
+\cardsplitcontent{Health: 2\\Movement: 2 swimming}{Crew 2\\ \vspace{0.2cm} \faRedo: Create fish trap token on adjacent water tile}
+\cardplaycost{1}\cardmodule{nautics}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/nautics/galley.tex b/latex/cards/nautics/galley.tex
new file mode 100644
index 00000000..c58ad617
--- /dev/null
+++ b/latex/cards/nautics/galley.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Galley}
+\cardbuycost{7}
+\cardsplitcontent{Health: 4\\Movement: 3 swimming\\Attack: 1 range 2}{Crew 3}
+\cardplaycost{1}\cardmodule{nautics}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/nautics/sailor.tex b/latex/cards/nautics/sailor.tex
new file mode 100644
index 00000000..dc83a664
--- /dev/null
+++ b/latex/cards/nautics/sailor.tex
@@ -0,0 +1,11 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Sailor}
+\cardsplitcontent{Health: 1\\Movement: 1\\Attack: 1}{A crewed unit gets +1 movement while swimming}
+\cardplaycost{1}\cardmodule{nautics}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/pikeman.tex b/latex/cards/pikeman.tex
deleted file mode 100644
index 01159416..00000000
--- a/latex/cards/pikeman.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/pioneer.tex b/latex/cards/pioneer.tex
deleted file mode 100644
index e455c5c2..00000000
--- a/latex/cards/pioneer.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/players_turn.tex b/latex/cards/players_turn.tex
deleted file mode 100644
index fb822c3b..00000000
--- a/latex/cards/players_turn.tex
+++ /dev/null
@@ -1,52 +0,0 @@
-\documentclass[]{standalone}
-
-\usepackage{enumitem}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-
-\begin{document}
-\begin{tikzpicture}
-
-\pgfmathsetmacro{\textWidth}{(\cardwidth-\strippadding-\textpadding-0.5)*1cm}
-\pgfmathsetmacro{\textLeft}{(\contentLeft-\stripwidth)}
-
-\begin{scope}[even odd rule]
-% Define a clipping path. All paths outside shapeCard will
-% be cut because the even odd rule is set.
- \clip[cardcorners] \shapeCard;
-% Fill shapeLeftStripLong and shapeLeftStripShort.
-% Since the even odd rule is set, only the card will be filled.
- \fill[strip, tokenbg] \shapeLeftStripShort;
-\end{scope}
-
-\node at (\strippadding+0.5*\stripwidth,\cardheight-\strippadding-\strippadding-0.37) {\color{white}\Large{?}};
-\cardtitle{Player's Turn}
-
-\node(content)[above right, text width=\textWidth] at (\textLeft, \contentBottom) {
- {\small
- \begin{enumerate}[leftmargin=5pt]
- \setlength{\itemsep}{-1pt}
- \item Mix discard pile into empty deck
- \item Draw till you have three cards
- \item Upkeep
- \begin{enumerate}[leftmargin=5pt]
- \setlength{\itemsep}{-1pt}
- \item Gain Ressource
- \item Pay units upkeep cost
- \end{enumerate}
- \item Actions
- \item Buy a card
- \end{enumerate}
- }
-};
-
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/recruit.tex b/latex/cards/recruit.tex
deleted file mode 100644
index 14eaa349..00000000
--- a/latex/cards/recruit.tex
+++ /dev/null
@@ -1,18 +0,0 @@
-\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
deleted file mode 100644
index 1a183f63..00000000
--- a/latex/cards/recruiter.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/sailfish.tex b/latex/cards/sailfish.tex
deleted file mode 100644
index e174c7c6..00000000
--- a/latex/cards/sailfish.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Sailfish}
-\cardbuycost{7}
-\cardcontent{AI: Aggressive\\ Health: 1\\ Movement: 3\\ Attack: 1}
-\cardplaycost{1}\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/sailor.tex b/latex/cards/sailor.tex
deleted file mode 100644
index 5c4b0a0f..00000000
--- a/latex/cards/sailor.tex
+++ /dev/null
@@ -1,18 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Sailor}
-\cardsplitcontent{Health: 1\\ Movement: 1\\ Attack: 1}{A crewed unit gets +1 movement while swimming}
-\cardplaycost{1}\cardmodule{nautics}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/smith.tex b/latex/cards/smith.tex
deleted file mode 100644
index 5af8b486..00000000
--- a/latex/cards/smith.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{Smith}
-\cardbuycost{10}
-\cardsplitcontent{Health: 1\\ Movement: 2}{\faRedo: Pay X: Create Copy of artifact with buy cost = X in range 1 on empty tile in range 1}
-\cardplaycost{2}\cardmodule{equipments}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/tax_collector.tex b/latex/cards/tax_collector.tex
deleted file mode 100644
index 4b8f9414..00000000
--- a/latex/cards/tax_collector.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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/the_kraken.tex b/latex/cards/the_kraken.tex
deleted file mode 100644
index 21467fe7..00000000
--- a/latex/cards/the_kraken.tex
+++ /dev/null
@@ -1,18 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeUnit{The Kraken}
-\cardcontent{Health: 5\\ Attack: 1}
-\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/unholy_cannonball.tex b/latex/cards/unholy_cannonball.tex
deleted file mode 100644
index eb30a1c6..00000000
--- a/latex/cards/unholy_cannonball.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.tex}
-
-\begin{document}
-\begin{tikzpicture}
-\cardtypeSpell{Unholy Cannonball}
-\cardcontent{If no enemy Units are in range 2 of The Kraken gains 5 ressource and draws a card. \\ Otherwise put a fear counter on all enemy Units in range 2}
-\cardplaycost{5}
-\cardmodule{kraken}
-\cardborder
-\end{tikzpicture}
-\end{document}
-
diff --git a/latex/cards/wormtongue.tex b/latex/cards/wormtongue.tex
deleted file mode 100644
index 0c011b70..00000000
--- a/latex/cards/wormtongue.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\documentclass[]{standalone}
-
-% Pakete dazuladen
-\input{libs.tex}
-% Farbdefinitionen laden
-\input{colors.tex}
-% \card-Commands laden
-\input{tikzcards.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}
-
diff --git a/latex/common.tex b/latex/common.tex
new file mode 100644
index 00000000..552c0686
--- /dev/null
+++ b/latex/common.tex
@@ -0,0 +1,3 @@
+\input{libs.tex}
+\input{colors.tex}
+\input{tikzcards.tex}
diff --git a/latex/libs.tex b/latex/libs.tex
index 41529443..43ad3456 100644
--- a/latex/libs.tex
+++ b/latex/libs.tex
@@ -20,6 +20,8 @@
\usepackage{xparse} % for getnodedim macro
+\usepackage{csquotes}
+
% symbols
\usepackage{fourier-orns}
% \usepackage{amssymb} % Rsh