diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2021-02-28 17:01:38 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2021-02-28 17:01:38 +0100 |
| commit | 0692ccd33afc4fdd80550e9979b824c1c25e973b (patch) | |
| tree | 8cf46b780af060d9fd6cf5a089729a9491eaa1c7 /data/cards/equipments | |
| parent | 5074205584de432892de5b0543b64efde4ddd6e3 (diff) | |
| download | muhqs-game-0692ccd33afc4fdd80550e9979b824c1c25e973b.tar.gz muhqs-game-0692ccd33afc4fdd80550e9979b824c1c25e973b.zip | |
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.
Diffstat (limited to 'data/cards/equipments')
| -rw-r--r-- | data/cards/equipments/armor.yml | 6 | ||||
| -rw-r--r-- | data/cards/equipments/banner.yml | 5 | ||||
| -rw-r--r-- | data/cards/equipments/cloak.yml | 6 | ||||
| -rw-r--r-- | data/cards/equipments/gear.yml | 6 | ||||
| -rw-r--r-- | data/cards/equipments/mace.yml | 6 | ||||
| -rw-r--r-- | data/cards/equipments/plate_armor.yml | 6 | ||||
| -rw-r--r-- | data/cards/equipments/poisoned_dagger.yml | 6 | ||||
| -rw-r--r-- | data/cards/equipments/reclaim!.yml | 5 | ||||
| -rw-r--r-- | data/cards/equipments/relic.yml | 5 | ||||
| -rw-r--r-- | data/cards/equipments/shatter!.yml | 5 | ||||
| -rw-r--r-- | data/cards/equipments/smith.yml | 11 | ||||
| -rw-r--r-- | data/cards/equipments/spear.yml | 6 |
12 files changed, 73 insertions, 0 deletions
diff --git a/data/cards/equipments/armor.yml b/data/cards/equipments/armor.yml new file mode 100644 index 00000000..c7ebb3c2 --- /dev/null +++ b/data/cards/equipments/armor.yml @@ -0,0 +1,6 @@ +name: Armor +type: equipment +buy: 7 +play: 2 +durability: 3 +effect: Equipped unit gains + 1 Armor diff --git a/data/cards/equipments/banner.yml b/data/cards/equipments/banner.yml new file mode 100644 index 00000000..57a6c976 --- /dev/null +++ b/data/cards/equipments/banner.yml @@ -0,0 +1,5 @@ +name: Banner +type: artifact +play: 7 +buy: 2 +effect: Units you control in range 1 gain +1 attack damage and +1 movement diff --git a/data/cards/equipments/cloak.yml b/data/cards/equipments/cloak.yml new file mode 100644 index 00000000..df3f605f --- /dev/null +++ b/data/cards/equipments/cloak.yml @@ -0,0 +1,6 @@ +name: Cloak +type: equipment +play: 7 +buy: 3 +durability: 2 +effect: Equipped unit gains shroud (can't be targeted) diff --git a/data/cards/equipments/gear.yml b/data/cards/equipments/gear.yml new file mode 100644 index 00000000..e344779b --- /dev/null +++ b/data/cards/equipments/gear.yml @@ -0,0 +1,6 @@ +name: Gear +type: equipment +play: 3 +buy: 2 +durability: 3 +effect: Equipped unit gain +1 movement diff --git a/data/cards/equipments/mace.yml b/data/cards/equipments/mace.yml new file mode 100644 index 00000000..1d52190e --- /dev/null +++ b/data/cards/equipments/mace.yml @@ -0,0 +1,6 @@ +name: Mace +type: equipment +play: 6 +buy: 2 +durability: 3 +effect: Equipped unit afflicts Paralysis when dealing damage in melee combat diff --git a/data/cards/equipments/plate_armor.yml b/data/cards/equipments/plate_armor.yml new file mode 100644 index 00000000..df37de72 --- /dev/null +++ b/data/cards/equipments/plate_armor.yml @@ -0,0 +1,6 @@ +name: Plate Armor +type: equipment +buy: 8 +play: 3 +durability: 1 +effect: Equipped unit has +2 Armor and -2 Movement diff --git a/data/cards/equipments/poisoned_dagger.yml b/data/cards/equipments/poisoned_dagger.yml new file mode 100644 index 00000000..03ea2ee5 --- /dev/null +++ b/data/cards/equipments/poisoned_dagger.yml @@ -0,0 +1,6 @@ +name: Poisoned Dagger +type: equipment +play: 7 +buy: 3 +durability: 2 +effect: Equipped unit deals damage as poison counters in melee combat diff --git a/data/cards/equipments/reclaim!.yml b/data/cards/equipments/reclaim!.yml new file mode 100644 index 00000000..d264c7ad --- /dev/null +++ b/data/cards/equipments/reclaim!.yml @@ -0,0 +1,5 @@ +name: Reclaim! +type: spell +buy: 5 +play: X +effect: Teleport target Artifact you own with Playcost X to a free spawn tile of yours. diff --git a/data/cards/equipments/relic.yml b/data/cards/equipments/relic.yml new file mode 100644 index 00000000..8adfa12a --- /dev/null +++ b/data/cards/equipments/relic.yml @@ -0,0 +1,5 @@ +name: Relic +type: artifact +play: 7 +buy: 3 +effect: In your upkeep the player controlling the most units in range 1 gains 1 resource. On ties all tied players gain 1 resource. diff --git a/data/cards/equipments/shatter!.yml b/data/cards/equipments/shatter!.yml new file mode 100644 index 00000000..90e7f570 --- /dev/null +++ b/data/cards/equipments/shatter!.yml @@ -0,0 +1,5 @@ +name: Shatter! +type: spell +buy: 5 +play: X +effect: Destroy target artifact with buy = X diff --git a/data/cards/equipments/smith.yml b/data/cards/equipments/smith.yml new file mode 100644 index 00000000..1d3d55cf --- /dev/null +++ b/data/cards/equipments/smith.yml @@ -0,0 +1,11 @@ +name: Smith +type: unit +buy: 10 +upkeep: 2 +health: 1 +movement: 2 +full_action: + cost: X + effect: Create Copy of artifact with buy cost = X in range 1 on empty tile in range 1 + +latex_full_action: "\\faRedo, X: Create Copy of artifact with buy cost = X in range 1 on empty tile in range 1" diff --git a/data/cards/equipments/spear.yml b/data/cards/equipments/spear.yml new file mode 100644 index 00000000..4a7bc13c --- /dev/null +++ b/data/cards/equipments/spear.yml @@ -0,0 +1,6 @@ +name: Spear +type: equipment +play: 7 +buy: 2 +durability: 3 +effect: Equipped unit gains +1 Attack and Range 2 against unit with M >= 3 |
