aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-10-08 10:34:36 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2021-10-08 10:42:15 +0200
commit687b692604f642ae4fdb2fc4fe8125d509605325 (patch)
treef15745ef433118f23469318fe2bf6640a2d3448e
parentfd3a0f6f5e4c102cc913442514e38d4c23a8c788 (diff)
downloadmuhqs-game-687b692604f642ae4fdb2fc4fe8125d509605325.tar.gz
muhqs-game-687b692604f642ae4fdb2fc4fe8125d509605325.zip
add unfinished potions set
Potions are designed as a different on field resource to diversify game play. Potions may be used offensively or defensively. They are a on field equivalent to spells with harder timing restrictions, public information but artifact synergies and thus should be cheaper than their spell equivalent. In particular because unused spells can be used to generate resource by discarding two cards. Played potions are "dead" until they are used.
-rw-r--r--data/cards/potions/brewery.yml12
-rw-r--r--data/cards/potions/courier.yml14
-rw-r--r--data/cards/potions/heal_potion.yml9
-rw-r--r--data/cards/potions/toxic_gas_vial.yml9
-rw-r--r--data/cards/potions/vial_smasher.yml11
-rw-r--r--latex/cards/de/potions/brewery.tex13
-rw-r--r--latex/cards/de/potions/courier.tex12
-rw-r--r--latex/cards/de/potions/heal_potion.tex13
-rw-r--r--latex/cards/de/potions/toxic_gas_vial.tex13
-rw-r--r--latex/cards/de/potions/vial_smasher.tex12
-rw-r--r--latex/cards/en/potions/brewery.tex13
-rw-r--r--latex/cards/en/potions/courier.tex12
-rw-r--r--latex/cards/en/potions/heal_potion.tex13
-rw-r--r--latex/cards/en/potions/toxic_gas_vial.tex13
-rw-r--r--latex/cards/en/potions/vial_smasher.tex12
-rw-r--r--latex/sets/de/potions.tex16
-rw-r--r--latex/sets/en/potions.tex16
-rw-r--r--latex/tikzcards.tex7
-rw-r--r--rules/de/rules.md7
-rw-r--r--rules/en/rules.md12
-rwxr-xr-xscripts/generate_card.py10
21 files changed, 246 insertions, 3 deletions
diff --git a/data/cards/potions/brewery.yml b/data/cards/potions/brewery.yml
new file mode 100644
index 00000000..942b3bc2
--- /dev/null
+++ b/data/cards/potions/brewery.yml
@@ -0,0 +1,12 @@
+type: artifact
+name:
+ en: Brewery
+ de: Brauerei
+buy: 7
+play: 5
+effect:
+ en: Solid 2. Potions you play cost 1 less
+ de: Solide 2. Tränke die du spielst kosten 1 weniger
+latex_effect:
+ en: "Solid 2.\\\\ \\vspace{0.3cm} Potions you play cost 1 less"
+ de: "Solide 2.\\\\ \\vspace{0.3cm} Tränke die du spielst kosten 1 weniger"
diff --git a/data/cards/potions/courier.yml b/data/cards/potions/courier.yml
new file mode 100644
index 00000000..60b43041
--- /dev/null
+++ b/data/cards/potions/courier.yml
@@ -0,0 +1,14 @@
+type: unit
+name:
+ en: Courier
+ de: Kurier
+health: 1
+movement: 2
+buy: 5
+upkeep: 1
+effect:
+ en: "If Courier has already moved 4 tiles this turn it gains an additional movement action. 0: Move a piled artifcat between allied units in range 1"
+ de: "Falls Kurier sich bereits 4 Felder diesen Zug bewegt hat erhaelt er eine zusaetzliche Bewegungs-Aktion. 0: Versetze ein gestapeltes Artefakt zwischen verbuendeten Units in Range 1"
+latex_effect:
+ en: "If Courier has already moved 4 tiles this turn it gains an additional movement action.\\\\ \\vspace{0.1cm} 0: Move a piled artifcat between allied units in range 1"
+ de: "Falls Kurier sich bereits 4 Felder diesen Zug bewegt hat erhält er eine zusätzliche Bewegungs-Aktion.\\\\ \\vspace{0.1cm} 0: Versetze ein gestapeltes Artefakt zwischen verbündeten Units in Range 1"
diff --git a/data/cards/potions/heal_potion.yml b/data/cards/potions/heal_potion.yml
new file mode 100644
index 00000000..f8cdb91e
--- /dev/null
+++ b/data/cards/potions/heal_potion.yml
@@ -0,0 +1,9 @@
+name:
+ en: Heal Potion
+ de: Heiltrank
+type: potion
+play: 2
+buy: 4
+use:
+ en: "Sacrifice Heal Potion: Remove one damage or all poison marks from target unit in range 1"
+ de: "Opfere Heil Trank: Entferne einen Schaden oder alle Gift Marken von einer Ziel-Unit in Range 1"
diff --git a/data/cards/potions/toxic_gas_vial.yml b/data/cards/potions/toxic_gas_vial.yml
new file mode 100644
index 00000000..a12fec0d
--- /dev/null
+++ b/data/cards/potions/toxic_gas_vial.yml
@@ -0,0 +1,9 @@
+name:
+ en: Toxic Gas Vial
+ de: Gift Gas Phiole
+type: potion
+play: 5
+buy: 5
+use:
+ en: "Sacrifice Toxic Gas Vial: Put a poison mark on each unit in range 1"
+ de: "Opfere Gift Gas Phiole: Lege eine Gift Marke auf jede Unit in Range 1"
diff --git a/data/cards/potions/vial_smasher.yml b/data/cards/potions/vial_smasher.yml
new file mode 100644
index 00000000..5f525228
--- /dev/null
+++ b/data/cards/potions/vial_smasher.yml
@@ -0,0 +1,11 @@
+type: unit
+name:
+ en: Vial Smasher
+ de: Phiolenwerfer
+health: 1
+movement: 2
+buy: 5
+upkeep: 1
+effect:
+ en: "Vial Smasher may use equipped potions as if it would be placed on target tile in range 2"
+ de: "Phiolenwerfer kann ausgerüstete Tränke verwenden als ob er auf einem beliebigen Ziel-Feld in Range 2 stehen würde"
diff --git a/latex/cards/de/potions/brewery.tex b/latex/cards/de/potions/brewery.tex
new file mode 100644
index 00000000..a8d7e60a
--- /dev/null
+++ b/latex/cards/de/potions/brewery.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeArtifact{Brauerei}
+\cardbuycost{7}
+\cardcontent{Solide 2.\\ \vspace{0.3cm} Tränke die du spielst kosten 1 weniger}
+\cardplaycost{5}
+\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/de/potions/courier.tex b/latex/cards/de/potions/courier.tex
new file mode 100644
index 00000000..b9f0c1e8
--- /dev/null
+++ b/latex/cards/de/potions/courier.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Kurier}
+\cardbuycost{5}
+\cardsplitcontent{Leben: 1\\Bewegung: 2}{Falls Kurier sich bereits 4 Felder diesen Zug bewegt hat erhält er eine zusätzliche Bewegungs-Aktion.\\ \vspace{0.1cm} 0: Versetze ein gestapeltes Artefakt zwischen verbündeten Units in Range 1}
+\cardplaycost{1}\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/de/potions/heal_potion.tex b/latex/cards/de/potions/heal_potion.tex
new file mode 100644
index 00000000..eb757750
--- /dev/null
+++ b/latex/cards/de/potions/heal_potion.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypePotion{Heiltrank}
+\cardbuycost{5}
+\cardcontent{\textit{Gebrauch} - Opfere Heiltrank: Entferne einen Schaden oder alle Gift Marken von einer Ziel-Unit in Range 1}
+\cardplaycost{3}
+\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/de/potions/toxic_gas_vial.tex b/latex/cards/de/potions/toxic_gas_vial.tex
new file mode 100644
index 00000000..e9fcc194
--- /dev/null
+++ b/latex/cards/de/potions/toxic_gas_vial.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypePotion{Gift Gas Phiole}
+\cardbuycost{5}
+\cardcontent{\textit{Gebrauch} - Opfere Gift Gas Phiole: Lege eine Gift Marke auf jede Unit in Range 1}
+\cardplaycost{5}
+\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/de/potions/vial_smasher.tex b/latex/cards/de/potions/vial_smasher.tex
new file mode 100644
index 00000000..e6fe4413
--- /dev/null
+++ b/latex/cards/de/potions/vial_smasher.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Phiolenwerfer}
+\cardbuycost{5}
+\cardsplitcontent{Leben: 1\\Bewegung: 2}{Phiolenwerfer kann ausgerüstete Tränke verwenden als ob er auf einem beliebigen Ziel-Feld in Range 2 stehen würde}
+\cardplaycost{1}\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/en/potions/brewery.tex b/latex/cards/en/potions/brewery.tex
new file mode 100644
index 00000000..b19d39a0
--- /dev/null
+++ b/latex/cards/en/potions/brewery.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeArtifact{Brewery}
+\cardbuycost{7}
+\cardcontent{Solid 2.\\ \vspace{0.3cm} Potions you play cost 1 less}
+\cardplaycost{5}
+\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/en/potions/courier.tex b/latex/cards/en/potions/courier.tex
new file mode 100644
index 00000000..0f3af5aa
--- /dev/null
+++ b/latex/cards/en/potions/courier.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Courier}
+\cardbuycost{5}
+\cardsplitcontent{Health: 1\\Movement: 2}{If Courier has already moved 4 tiles this turn it gains an additional movement action.\\ \vspace{0.1cm} 0: Move a piled artifcat between allied units in range 1}
+\cardplaycost{1}\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/en/potions/heal_potion.tex b/latex/cards/en/potions/heal_potion.tex
new file mode 100644
index 00000000..2398f19c
--- /dev/null
+++ b/latex/cards/en/potions/heal_potion.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypePotion{Heal Potion}
+\cardbuycost{5}
+\cardcontent{\textit{Use} - Sacrifice Heal Potion: Remove one damage or all poison marks from target unit in range 1}
+\cardplaycost{3}
+\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/en/potions/toxic_gas_vial.tex b/latex/cards/en/potions/toxic_gas_vial.tex
new file mode 100644
index 00000000..1da8e945
--- /dev/null
+++ b/latex/cards/en/potions/toxic_gas_vial.tex
@@ -0,0 +1,13 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypePotion{Toxic Gas Vial}
+\cardbuycost{5}
+\cardcontent{\textit{Use} - Sacrifice Toxic Gas Vial: Put a poison mark on each unit in range 1}
+\cardplaycost{5}
+\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/cards/en/potions/vial_smasher.tex b/latex/cards/en/potions/vial_smasher.tex
new file mode 100644
index 00000000..a88a3ae2
--- /dev/null
+++ b/latex/cards/en/potions/vial_smasher.tex
@@ -0,0 +1,12 @@
+\documentclass{standalone}
+\input{common.tex}
+
+\begin{document}
+\begin{tikzpicture}
+\cardtypeUnit{Vial Smasher}
+\cardbuycost{5}
+\cardsplitcontent{Health: 1\\Movement: 2}{Vial Smasher may use equipped potions as if it would be placed on target tile in range 2}
+\cardplaycost{1}\cardmodule{potions}
+\cardborder
+\end{tikzpicture}
+\end{document}
diff --git a/latex/sets/de/potions.tex b/latex/sets/de/potions.tex
new file mode 100644
index 00000000..2575a0a6
--- /dev/null
+++ b/latex/sets/de/potions.tex
@@ -0,0 +1,16 @@
+\documentclass[a4paper,landscape]{article}
+\usepackage[margin=6mm,top=5mm]{geometry}
+\input{libs.tex}
+\input{colors.tex}
+\input{tikzcards.tex}
+\usepackage{standalone}
+\begin{document}
+\begin{center}
+\pagestyle{empty}
+\includestandalone{cards/de/potions/brewery}
+\includestandalone{cards/de/potions/courier}
+\includestandalone{cards/de/potions/heal_potion}
+\includestandalone{cards/de/potions/toxic_gas_vial}
+\includestandalone{cards/de/potions/vial_smasher}
+\end{center}
+\end{document}
diff --git a/latex/sets/en/potions.tex b/latex/sets/en/potions.tex
new file mode 100644
index 00000000..149806c2
--- /dev/null
+++ b/latex/sets/en/potions.tex
@@ -0,0 +1,16 @@
+\documentclass[a4paper,landscape]{article}
+\usepackage[margin=6mm,top=5mm]{geometry}
+\input{libs.tex}
+\input{colors.tex}
+\input{tikzcards.tex}
+\usepackage{standalone}
+\begin{document}
+\begin{center}
+\pagestyle{empty}
+\includestandalone{cards/en/potions/brewery}
+\includestandalone{cards/en/potions/courier}
+\includestandalone{cards/en/potions/heal_potion}
+\includestandalone{cards/en/potions/toxic_gas_vial}
+\includestandalone{cards/en/potions/vial_smasher}
+\end{center}
+\end{document}
diff --git a/latex/tikzcards.tex b/latex/tikzcards.tex
index 08bca480..8d3a29ae 100644
--- a/latex/tikzcards.tex
+++ b/latex/tikzcards.tex
@@ -170,6 +170,13 @@
\cardtype{equipmentbg}{Equipment}{\huge\dag}{#1}{#1}
}
+\newcommand{
+ \cardtypePotion}[1]{\cardtype{equipmentbg}{Potion}{\Large\faFlask}{#1}{#1}
+}
+\newcommand{\cardtypePotionToken}[1]{
+ \cardtype{equipmentbg}{Potion}{\Large\faFlask}{TOKEN}{\Large TOKEN}
+}
+
% Titel der Karte
\newcommand{\cardtitle}[1]{
%\draw[pattern=soft crosshatch,rounded corners=0.1cm] \shapeTitleArea;
diff --git a/rules/de/rules.md b/rules/de/rules.md
index 57b2fac4..9b57e1de 100644
--- a/rules/de/rules.md
+++ b/rules/de/rules.md
@@ -402,6 +402,13 @@ Für jedes Permanent des Stapels
* Immer wenn der **Stapel** eines Equipments *fallen gelassen* wird dessen Haltbarkeit um 1 reduziert
* Eine **Unit** kann statt einer Bewegung oder eines Angriffs ein **Equipment** in **Range** 1 *ausrüsten*
+## Tränke
+
+* **Tränke** sind **Artefakte**
+* **Tränke** sind **Equipments**
+* **Tränke** haben **Haltbarkeit** 1
+* Ein *ausgerüsteter* **Trank** kann statt einer **Bewegung** oder eines **Angriffs** von der *ausgerüsteten* **Unit** verwendet werden.
+
# Zauber
* **Zauber** sind Karten mit einem einmaligen Effekt
diff --git a/rules/en/rules.md b/rules/en/rules.md
index 762535ef..813836f7 100644
--- a/rules/en/rules.md
+++ b/rules/en/rules.md
@@ -381,8 +381,16 @@ Additional States a **Unit** is in are represented by putting appropriate State
* **Equipments** are **artifacts**
* **Equipments** have a **durability** value
* **Equipments** with a **durability** < 1 are *destroyed*
-* **Equipments** can be *equiped* by **Units**
+* **Equipments** can be *equipped* by **Units**
* An **equipment** forms a pile on the *equipped* **Unit**
* An **equipment** can be played normally or already *equipped* by the next played **unit**
-* Whenever a **pile** containing an equiped is *dropped* reduce its **durability** by 1
+* Reduce the **durability** of each **equipment** in a **pile** by one if the **pile** gets *dropped*
* An adjacent **Unit** can *equip* an **equipment** using either a **move** or **attack action**
+
+
+## Potions
+
+* **Potions** are **artifacts**
+* **Potions** are **equipments**
+* **Potions** have **durability** 1
+* An *equipped* **potion** may be used as either a **move** or **atack action** of the *equipped* **unit**
diff --git a/scripts/generate_card.py b/scripts/generate_card.py
index c45810b9..69af713b 100755
--- a/scripts/generate_card.py
+++ b/scripts/generate_card.py
@@ -23,7 +23,8 @@ SET_SYMBOLS = {
'nautics': 'nautics',
'misc': '',
'kraken': 'kraken',
- 'exp1': 'exp1'
+ 'exp1': 'exp1',
+ 'potions': 'potions',
}
SCRIPT_PATH = Path(__file__).parent
@@ -53,6 +54,7 @@ FORMATTED_KEYS = {
'attack': 'Angriff',
'effect': 'Effekt',
'durability': 'Haltbarkeit',
+ 'use': 'Gebrauch',
}
}
@@ -173,6 +175,12 @@ def generate_latex(card: MutableMapping, language='en'):
stats = f'{formatted_durability}: {durability}'
effect, _ = get_latex_field(card, 'effect', language)
card_content += f'\\cardsplitcontent{{{stats}}}{{{effect}}}\n'
+
+ elif card['type'] == 'potion':
+ formatted_use = get_formatted_key('use', language)
+ use, _ = get_latex_field(card, 'use', language)
+ card_content += f'\\cardcontent{{\\textit{{{formatted_use}}} - {use}}}\n'
+
else:
print(f'WARNING: unknown card type {card["type"]}!')