From 0692ccd33afc4fdd80550e9979b824c1c25e973b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 28 Feb 2021 17:01:38 +0100 Subject: rework how cards are defined and generated Card definitions are now stored in data/cards/ in a subdirectory for each set as YAML files. YAML is still human readable but stricter and better to handle in code than ini. The latex filesystem layout resembles the card definition layout and is created by the Makefile from the YAML card definitions and must not be regenerated each time by hand. --- data/cards/kraken/angry_squid.yml | 8 ++++++++ data/cards/kraken/chachalot.yml | 9 +++++++++ data/cards/kraken/clownfish.yml | 8 ++++++++ data/cards/kraken/dolphin.yml | 8 ++++++++ data/cards/kraken/frost_pylon.yml | 5 +++++ data/cards/kraken/gigantic_hail.yml | 4 ++++ data/cards/kraken/ice_berg.yml | 4 ++++ data/cards/kraken/sailfish.yml | 8 ++++++++ data/cards/kraken/suprise.yml | 4 ++++ data/cards/kraken/tentacle_slap.yml | 4 ++++ data/cards/kraken/the_kraken.yml | 4 ++++ data/cards/kraken/tides_change.yml | 4 ++++ data/cards/kraken/unholy_cannonball.yml | 6 ++++++ 13 files changed, 76 insertions(+) create mode 100644 data/cards/kraken/angry_squid.yml create mode 100644 data/cards/kraken/chachalot.yml create mode 100644 data/cards/kraken/clownfish.yml create mode 100644 data/cards/kraken/dolphin.yml create mode 100644 data/cards/kraken/frost_pylon.yml create mode 100644 data/cards/kraken/gigantic_hail.yml create mode 100644 data/cards/kraken/ice_berg.yml create mode 100644 data/cards/kraken/sailfish.yml create mode 100644 data/cards/kraken/suprise.yml create mode 100644 data/cards/kraken/tentacle_slap.yml create mode 100644 data/cards/kraken/the_kraken.yml create mode 100644 data/cards/kraken/tides_change.yml create mode 100644 data/cards/kraken/unholy_cannonball.yml (limited to 'data/cards/kraken') diff --git a/data/cards/kraken/angry_squid.yml b/data/cards/kraken/angry_squid.yml new file mode 100644 index 00000000..ac948323 --- /dev/null +++ b/data/cards/kraken/angry_squid.yml @@ -0,0 +1,8 @@ +name: Angry Squid +type: unit +ai: Aggressive +attack: 1 Range 2 +health: 1 +movement: 2 swimming +buy: 7 +upkeep: 2 diff --git a/data/cards/kraken/chachalot.yml b/data/cards/kraken/chachalot.yml new file mode 100644 index 00000000..ed45f7d2 --- /dev/null +++ b/data/cards/kraken/chachalot.yml @@ -0,0 +1,9 @@ +name: Chachalot +type: unit +ai: Wandering +attack: 2 +health: 2 +movement: 2 swimming +buy: 10 +upkeep: 2 +effect: + 1 Armor diff --git a/data/cards/kraken/clownfish.yml b/data/cards/kraken/clownfish.yml new file mode 100644 index 00000000..1762a848 --- /dev/null +++ b/data/cards/kraken/clownfish.yml @@ -0,0 +1,8 @@ +name: Clownfish +type: unit +ai: Shy +health: 1 +movement: 2 swimming +buy: 10 +upkeep: 2 +full_action: Get 4 additional Ressource diff --git a/data/cards/kraken/dolphin.yml b/data/cards/kraken/dolphin.yml new file mode 100644 index 00000000..f9a0c26c --- /dev/null +++ b/data/cards/kraken/dolphin.yml @@ -0,0 +1,8 @@ +name: Dolphin +type: unit +ai: Supportive +health: 2 +movement: 2 +buy: 7 +upkeep: 1 +full_action: Give random Unit in range 1 random buff diff --git a/data/cards/kraken/frost_pylon.yml b/data/cards/kraken/frost_pylon.yml new file mode 100644 index 00000000..70ba8d0f --- /dev/null +++ b/data/cards/kraken/frost_pylon.yml @@ -0,0 +1,5 @@ +name: Frost Pylon +type: artifact +buy: 5 +effect: Enemy units in range 1 can't activate abilities except full_Action(put a crack counter on Frost Pylon). If there are three or more crack counter on Frost Pylon destroy it. Frost Pylon can be played next to a random enemy unit +latex_effect: "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" diff --git a/data/cards/kraken/gigantic_hail.yml b/data/cards/kraken/gigantic_hail.yml new file mode 100644 index 00000000..d25433f2 --- /dev/null +++ b/data/cards/kraken/gigantic_hail.yml @@ -0,0 +1,4 @@ +name: Gigantic Hail +type: spell +play: 3 +effect: Place an Ice Berg token on a random empty tile diff --git a/data/cards/kraken/ice_berg.yml b/data/cards/kraken/ice_berg.yml new file mode 100644 index 00000000..02f9e53e --- /dev/null +++ b/data/cards/kraken/ice_berg.yml @@ -0,0 +1,4 @@ +name: Ice Berg +type: artifact +token: true +effect: Solid 3 diff --git a/data/cards/kraken/sailfish.yml b/data/cards/kraken/sailfish.yml new file mode 100644 index 00000000..baf03f16 --- /dev/null +++ b/data/cards/kraken/sailfish.yml @@ -0,0 +1,8 @@ +name: Sailfish +type: unit +ai: Aggressive +attack: 1 +health: 1 +movement: 3 +buy: 7 +upkeep: 1 diff --git a/data/cards/kraken/suprise.yml b/data/cards/kraken/suprise.yml new file mode 100644 index 00000000..68701310 --- /dev/null +++ b/data/cards/kraken/suprise.yml @@ -0,0 +1,4 @@ +name: Suprise +type: spell +play: 1 +effect: Place the next Unit played this turn next to a random enemy Unit diff --git a/data/cards/kraken/tentacle_slap.yml b/data/cards/kraken/tentacle_slap.yml new file mode 100644 index 00000000..c4a7d5f4 --- /dev/null +++ b/data/cards/kraken/tentacle_slap.yml @@ -0,0 +1,4 @@ +name: Tentacle Slap +type: spell +play: 3 +effect: Each player discards their hand diff --git a/data/cards/kraken/the_kraken.yml b/data/cards/kraken/the_kraken.yml new file mode 100644 index 00000000..096446ba --- /dev/null +++ b/data/cards/kraken/the_kraken.yml @@ -0,0 +1,4 @@ +name: The Kraken +type: unit +health: 5 +attack: 1 diff --git a/data/cards/kraken/tides_change.yml b/data/cards/kraken/tides_change.yml new file mode 100644 index 00000000..1da2aa38 --- /dev/null +++ b/data/cards/kraken/tides_change.yml @@ -0,0 +1,4 @@ +name: Tides Change +type: spell +play: 5 +effect: Redistribute all store cards diff --git a/data/cards/kraken/unholy_cannonball.yml b/data/cards/kraken/unholy_cannonball.yml new file mode 100644 index 00000000..39618ebe --- /dev/null +++ b/data/cards/kraken/unholy_cannonball.yml @@ -0,0 +1,6 @@ +name: Unholy Cannonball +type: spell +play: 5 +effect: If no enemy Units are in range 2 of The Kraken gain 5 ressource and draw a card. Otherwise put a fear counter on all enemy Units in range 2 of The Kraken + +effect: 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 -- cgit v1.2.3