aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/tiles/deep_water_spawn_1.pngbin0 -> 18629 bytes
-rw-r--r--assets/tiles/deep_water_spawn_2.pngbin0 -> 20479 bytes
-rw-r--r--assets/tiles/deep_water_spawn_3.pngbin0 -> 20486 bytes
-rw-r--r--assets/tiles/deep_water_spawn_4.pngbin0 -> 19422 bytes
-rw-r--r--assets/tiles/player_spawn.pngbin0 -> 10884 bytes
-rw-r--r--assets/tiles/store.pngbin0 -> 15348 bytes
-rw-r--r--assets/tiles/the_kraken.pngbin0 -> 17017 bytes
-rw-r--r--data/kraken.ini80
-rw-r--r--latex/Makefile2
-rw-r--r--latex/cards/angry_squid.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/frost_pylon.tex19
-rw-r--r--latex/cards/ice_berg.tex19
-rw-r--r--latex/cards/sailfish.tex19
-rw-r--r--latex/cards/suprise.tex19
-rw-r--r--latex/cards/tentacle_slap.tex19
-rw-r--r--latex/cards/the_kraken.tex18
-rw-r--r--latex/cards/tides_change.tex19
-rw-r--r--latex/cards/unholy_cannonball.tex19
-rw-r--r--latex/sets/kraken.tex48
-rw-r--r--maps/the-kraken.map28
-rwxr-xr-xscripts/generate_latex.py7
24 files changed, 390 insertions, 2 deletions
diff --git a/assets/tiles/deep_water_spawn_1.png b/assets/tiles/deep_water_spawn_1.png
new file mode 100644
index 00000000..0f59d295
--- /dev/null
+++ b/assets/tiles/deep_water_spawn_1.png
Binary files differ
diff --git a/assets/tiles/deep_water_spawn_2.png b/assets/tiles/deep_water_spawn_2.png
new file mode 100644
index 00000000..55c7bf0b
--- /dev/null
+++ b/assets/tiles/deep_water_spawn_2.png
Binary files differ
diff --git a/assets/tiles/deep_water_spawn_3.png b/assets/tiles/deep_water_spawn_3.png
new file mode 100644
index 00000000..893eeca9
--- /dev/null
+++ b/assets/tiles/deep_water_spawn_3.png
Binary files differ
diff --git a/assets/tiles/deep_water_spawn_4.png b/assets/tiles/deep_water_spawn_4.png
new file mode 100644
index 00000000..c70d7ea4
--- /dev/null
+++ b/assets/tiles/deep_water_spawn_4.png
Binary files differ
diff --git a/assets/tiles/player_spawn.png b/assets/tiles/player_spawn.png
new file mode 100644
index 00000000..e2c55455
--- /dev/null
+++ b/assets/tiles/player_spawn.png
Binary files differ
diff --git a/assets/tiles/store.png b/assets/tiles/store.png
new file mode 100644
index 00000000..4f6181d8
--- /dev/null
+++ b/assets/tiles/store.png
Binary files differ
diff --git a/assets/tiles/the_kraken.png b/assets/tiles/the_kraken.png
new file mode 100644
index 00000000..4141ddca
--- /dev/null
+++ b/assets/tiles/the_kraken.png
Binary files differ
diff --git a/data/kraken.ini b/data/kraken.ini
new file mode 100644
index 00000000..4fdf6ab4
--- /dev/null
+++ b/data/kraken.ini
@@ -0,0 +1,80 @@
+[The Kraken]
+type = unit
+health = 5
+attack = 1
+
+[Frost Pylon]
+type = artifact
+buy = 5
+effect = 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.
+
+[Ice Berg]
+type = artifact
+play = 3
+effect = Solid 3
+
+[Clownfish]
+type = unit
+ai = Shy
+health = 1
+movement = 2 swimming
+buy = 10
+upkeep = 2
+full_action = Get 4 additional Ressource
+
+[Angry Squid]
+type = unit
+ai = Aggressive
+attack = 1 Range 2
+health = 1
+movement = 2 swimming
+buy = 7
+upkeep = 2
+
+[Chachalot]
+type = unit
+ai = Wandering
+attack = 2
+health = 2
+movement = 2 swimming
+buy = 10
+upkeep = 2
+effect = + 1 Armor
+
+[Sailfish]
+type = unit
+ai = Aggressive
+attack = 1
+health = 1
+movement = 3
+buy = 7
+upkeep = 1
+
+[Dolphin]
+type = unit
+ai = Supportive
+health = 2
+movement = 2
+buy = 7
+upkeep = 1
+full_action = Give random Unit in range 1 random buff
+
+[Tentacle Slap]
+type = spell
+play = 3
+effect = Each player discards their hand
+
+[Tides Change]
+type = spell
+play = 5
+effect = Redistribute all store cards
+
+[Suprise]
+type = spell
+play = 1
+effect = Place the next Unit played this turn next to a random enemy Unit
+
+[Unholy Cannonball]
+type = spell
+play = 5
+effect = 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
diff --git a/latex/Makefile b/latex/Makefile
index 3953d816..5eedeb05 100644
--- a/latex/Makefile
+++ b/latex/Makefile
@@ -36,7 +36,7 @@ all: $(PDF_DIR)/print.pdf $(PDFS_PREFIXED) $(CARD_PNGS_PREFIXED)
$(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) $^
+ $(VERBOSE) $(PDFLATEX_ENV) $(PDFLATEX) --output-directory $(PDF_DIR) print.tex
$(PDF_DIR)/cards.pdf: $(PDFS_PREFIXED) $(MAKEFILE_LIST)
@echo "building › › $@"
diff --git a/latex/cards/angry_squid.tex b/latex/cards/angry_squid.tex
new file mode 100644
index 00000000..4eb74177
--- /dev/null
+++ b/latex/cards/angry_squid.tex
@@ -0,0 +1,19 @@
+\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/chachalot.tex b/latex/cards/chachalot.tex
new file mode 100644
index 00000000..ae94e946
--- /dev/null
+++ b/latex/cards/chachalot.tex
@@ -0,0 +1,19 @@
+\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
new file mode 100644
index 00000000..dcb82f1e
--- /dev/null
+++ b/latex/cards/clownfish.tex
@@ -0,0 +1,19 @@
+\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
new file mode 100644
index 00000000..e687d623
--- /dev/null
+++ b/latex/cards/dolphin.tex
@@ -0,0 +1,19 @@
+\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/frost_pylon.tex b/latex/cards/frost_pylon.tex
new file mode 100644
index 00000000..54422837
--- /dev/null
+++ b/latex/cards/frost_pylon.tex
@@ -0,0 +1,19 @@
+\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/ice_berg.tex b/latex/cards/ice_berg.tex
new file mode 100644
index 00000000..dedb8303
--- /dev/null
+++ b/latex/cards/ice_berg.tex
@@ -0,0 +1,19 @@
+\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/sailfish.tex b/latex/cards/sailfish.tex
new file mode 100644
index 00000000..e174c7c6
--- /dev/null
+++ b/latex/cards/sailfish.tex
@@ -0,0 +1,19 @@
+\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/suprise.tex b/latex/cards/suprise.tex
new file mode 100644
index 00000000..ff8dc5e5
--- /dev/null
+++ b/latex/cards/suprise.tex
@@ -0,0 +1,19 @@
+\documentclass[]{standalone}
+
+% Pakete dazuladen
+\input{libs.tex}
+% Farbdefinitionen laden
+\input{colors.tex}
+% \card-Commands laden
+\input{tikzcards.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeSpell{Suprise}
+\cardcontent{Place the next Unit played this turn next to a random enemy Unit}
+\cardplaycost{1}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
+
diff --git a/latex/cards/tentacle_slap.tex b/latex/cards/tentacle_slap.tex
new file mode 100644
index 00000000..24292cb9
--- /dev/null
+++ b/latex/cards/tentacle_slap.tex
@@ -0,0 +1,19 @@
+\documentclass[]{standalone}
+
+% Pakete dazuladen
+\input{libs.tex}
+% Farbdefinitionen laden
+\input{colors.tex}
+% \card-Commands laden
+\input{tikzcards.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeSpell{Tentacle Slap}
+\cardcontent{Each player discards their hand}
+\cardplaycost{3}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
+
diff --git a/latex/cards/the_kraken.tex b/latex/cards/the_kraken.tex
new file mode 100644
index 00000000..21467fe7
--- /dev/null
+++ b/latex/cards/the_kraken.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}
+\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/tides_change.tex
new file mode 100644
index 00000000..4a82d49e
--- /dev/null
+++ b/latex/cards/tides_change.tex
@@ -0,0 +1,19 @@
+\documentclass[]{standalone}
+
+% Pakete dazuladen
+\input{libs.tex}
+% Farbdefinitionen laden
+\input{colors.tex}
+% \card-Commands laden
+\input{tikzcards.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeSpell{Tides Change}
+\cardcontent{Redistribute all store cards}
+\cardplaycost{5}
+\cardmodule{kraken}
+\cardborder
+\end{tikzpicture}
+\end{document}
+
diff --git a/latex/cards/unholy_cannonball.tex b/latex/cards/unholy_cannonball.tex
new file mode 100644
index 00000000..eb30a1c6
--- /dev/null
+++ b/latex/cards/unholy_cannonball.tex
@@ -0,0 +1,19 @@
+\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/sets/kraken.tex b/latex/sets/kraken.tex
new file mode 100644
index 00000000..274aaab3
--- /dev/null
+++ b/latex/sets/kraken.tex
@@ -0,0 +1,48 @@
+\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/the_kraken.tex}
+\hspace{5mm}
+\input{cards/frost_pylon.tex}
+\hspace{5mm}
+\input{cards/ice_berg.tex}
+\hspace{5mm}
+\input{cards/clownfish.tex}
+\vspace{5mm}
+
+\input{cards/angry_squid.tex}
+\hspace{5mm}
+\input{cards/chachalot.tex}
+\hspace{5mm}
+\input{cards/sailfish.tex}
+\hspace{5mm}
+\input{cards/dolphin.tex}
+\vspace{5mm}
+
+\input{cards/tentacle_slap.tex}
+\hspace{5mm}
+\input{cards/tides_change.tex}
+\hspace{5mm}
+\input{cards/suprise.tex}
+\hspace{5mm}
+\input{cards/unholy_cannonball.tex}
+\vspace{5mm}
+
+
+\end{center}
+\end{document}
+
diff --git a/maps/the-kraken.map b/maps/the-kraken.map
new file mode 100644
index 00000000..51b39b3d
--- /dev/null
+++ b/maps/the-kraken.map
@@ -0,0 +1,28 @@
+WWW4WWW
+W HK TW
+W 312 W
+WWWWWWW
+WWWWW W
+WWWW SW
+W WWDHW
+WSTWW W
+WF WWWW
+W WWWWW
+WWWWWWW
+WW DWW
+WS * W
+ ***
+
+K := the kraken
+T := tower
+H := house
+F := farm
+W := deep water
+S := store
+D := docks
+1 := deep water spawn 1
+2 := deep water spawn 2
+3 := deep water spawn 3
+4 := deep water spawn 4
+* := player spawn
+
diff --git a/scripts/generate_latex.py b/scripts/generate_latex.py
index 3cdc5cbe..71a99915 100755
--- a/scripts/generate_latex.py
+++ b/scripts/generate_latex.py
@@ -46,7 +46,7 @@ CARD_TEMPLATE = \
\\end{{document}}
"""
-SET_SYMBOLS = {'base': 'base', 'magic': 'magic', 'equipments': 'equipments', 'nautics': 'nautics', 'misc': ''}
+SET_SYMBOLS = {'base': 'base', 'magic': 'magic', 'equipments': 'equipments', 'nautics': 'nautics', 'misc': '', 'kraken': 'kraken'}
LATEX_ROOT = pathlib.Path(os.getcwd())
ASSETS_DIR = LATEX_ROOT / '../assets'
@@ -76,7 +76,12 @@ def generate_card(card_name: str, card: MutableMapping):
if card['type'] == 'unit':
stats = ''
+ if 'ai' in card:
+ stats += f'AI: {card["ai"]}'
+
if 'health' in card:
+ if stats:
+ stats += '\\\\ '
stats += f'Health: {card["health"]}'
if 'movement' in card: