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/nautics | |
| 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/nautics')
| -rw-r--r-- | data/cards/nautics/barge.yml | 7 | ||||
| -rw-r--r-- | data/cards/nautics/captain.yml | 8 | ||||
| -rw-r--r-- | data/cards/nautics/fish_trap.yml | 5 | ||||
| -rw-r--r-- | data/cards/nautics/fisher.yml | 8 | ||||
| -rw-r--r-- | data/cards/nautics/galley.yml | 8 | ||||
| -rw-r--r-- | data/cards/nautics/sailor.yml | 7 |
6 files changed, 43 insertions, 0 deletions
diff --git a/data/cards/nautics/barge.yml b/data/cards/nautics/barge.yml new file mode 100644 index 00000000..20e26015 --- /dev/null +++ b/data/cards/nautics/barge.yml @@ -0,0 +1,7 @@ +name: Barge +type: unit +health: 3 +movement: 3 swimming +buy: 5 +upkeep: 1 +effect: Crew 6 diff --git a/data/cards/nautics/captain.yml b/data/cards/nautics/captain.yml new file mode 100644 index 00000000..fbab764f --- /dev/null +++ b/data/cards/nautics/captain.yml @@ -0,0 +1,8 @@ +name: Captain +type: unit +health: 1 +movement: 1 +attack: 1 +buy: 7 +upkeep: 2 +effect: Other units in the same pile have no upkeep cost diff --git a/data/cards/nautics/fish_trap.yml b/data/cards/nautics/fish_trap.yml new file mode 100644 index 00000000..c7082093 --- /dev/null +++ b/data/cards/nautics/fish_trap.yml @@ -0,0 +1,5 @@ +name: Fish Trap +type: artifact +token: true +effect: Adjacent Fisher have full_action(Gain 2 Resource) +latex_effect: "Adjacent Fisher have \\\\ \\enquote{~\\faRedo: Gain 2 Resource}" diff --git a/data/cards/nautics/fisher.yml b/data/cards/nautics/fisher.yml new file mode 100644 index 00000000..9708fc67 --- /dev/null +++ b/data/cards/nautics/fisher.yml @@ -0,0 +1,8 @@ +name: Fisher +type: unit +health: 2 +movement: 2 swimming +buy: 5 +upkeep: 1 +effect: Crew 2 +full_action: Create fish trap token on adjacent water tile diff --git a/data/cards/nautics/galley.yml b/data/cards/nautics/galley.yml new file mode 100644 index 00000000..c7da7c63 --- /dev/null +++ b/data/cards/nautics/galley.yml @@ -0,0 +1,8 @@ +name: Galley +type: unit +health: 4 +attack: 1 range 2 +movement: 3 swimming +buy: 7 +upkeep: 1 +effect: Crew 3 diff --git a/data/cards/nautics/sailor.yml b/data/cards/nautics/sailor.yml new file mode 100644 index 00000000..96c95b03 --- /dev/null +++ b/data/cards/nautics/sailor.yml @@ -0,0 +1,7 @@ +name: Sailor +type: unit +health: 1 +movement: 1 +attack: 1 +upkeep: 1 +effect: A crewed unit gets +1 movement while swimming |
