projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8012c68
)
Make chess puzzle level (Kasparov to F3) winnable.
master
author
Simon Cross
<hodgestar@gmail.com>
Sun, 8 Jun 2014 20:04:15 +0000
(22:04 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sun, 8 Jun 2014 20:04:15 +0000
(22:04 +0200)
data/location_decks/puzzles/chess.yaml
patch
|
blob
|
history
diff --git
a/data/location_decks/puzzles/chess.yaml
b/data/location_decks/puzzles/chess.yaml
index 7af047b35cae371d9d7db5974b2075469e9e8209..1f96f70c2f0cf59d85d7392e5cff18b3287a7114 100644
(file)
--- a/
data/location_decks/puzzles/chess.yaml
+++ b/
data/location_decks/puzzles/chess.yaml
@@
-12,6
+12,15
@@
_action_defitions:
acquire_win: true
lose_health: true
once: true
acquire_win: true
lose_health: true
once: true
+ - &ORDINARY-VICTORY
+ action_class: GenericBits
+ required_bits: [RED, GREEN, BLUE]
+ data:
+ clear: [NORTH, SOUTH, EAST, WEST, RED, GREEN, BLUE, MSB]
+ acquire_win: true
+ lose_health: false
+ once: true
+
# This field is ignored, but it's a useful place to put some card definitions
# we can reference later.
# This field is ignored, but it's a useful place to put some card definitions
# we can reference later.
@@
-49,7
+58,7
@@
_card_definitions:
actions:
- action_class: LoseHealthOrMSB
required_bits: []
actions:
- action_class: LoseHealthOrMSB
required_bits: []
- - *
PYRRHIC
-VICTORY
+ - *
ORDINARY
-VICTORY
- &BORING
card_name: 'boring'
actions:
- &BORING
card_name: 'boring'
actions: