projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make chess puzzle level (Kasparov to F3) winnable.
[naja.git]
/
data
/
location_decks
/
puzzles
/
chess.yaml
diff --git
a/data/location_decks/puzzles/chess.yaml
b/data/location_decks/puzzles/chess.yaml
index aabfe7b151c1e2af6485410a6ddefc02de78f889..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,9
+58,9
@@
_card_definitions:
actions:
- action_class: LoseHealthOrMSB
required_bits: []
actions:
- action_class: LoseHealthOrMSB
required_bits: []
- - *
PYRRHIC
-VICTORY
- - &
TEST-
BORING
- card_name: '
test-
boring'
+ - *
ORDINARY
-VICTORY
+ - &BORING
+ card_name: 'boring'
actions:
- action_class: DoNothing
required_bits: []
actions:
- action_class: DoNothing
required_bits: []
@@
-107,31
+116,31
@@
_card_definitions:
cards:
- *CHESS-WIN-CARD-BISHOP
cards:
- *CHESS-WIN-CARD-BISHOP
- - *
TEST-
BORING
- - *
TEST-
BORING
- - *
TEST-
BORING
+ - *BORING
+ - *BORING
+ - *BORING
- *CHESS-WIN-CARD-KNIGHT
- *CHESS-WIN-CARD-KNIGHT
- - *
TEST-
BORING
- - *
TEST-
BORING
+ - *BORING
+ - *BORING
- *CHESS-NORTH
- *CHESS-NORTH
- - *
TEST-
BORING
- - *
TEST-
BORING
+ - *BORING
+ - *BORING
- - *
TEST-
BORING
+ - *BORING
- *CHESS-WEST
- *CHESS-CENTRE
- *CHESS-EAST
- *CHESS-WEST
- *CHESS-CENTRE
- *CHESS-EAST
- - *
TEST-
BORING
+ - *BORING
- - *
TEST-
BORING
- - *
TEST-
BORING
+ - *BORING
+ - *BORING
- *CHESS-SOUTH
- *CHESS-SOUTH
- - *
TEST-
BORING
- - *
TEST-
BORING
+ - *BORING
+ - *BORING
- *CHESS-WIN-CARD-CASTLE
- *CHESS-WIN-CARD-CASTLE
- - *
TEST-
BORING
- - *
TEST-
BORING
- - *
TEST-
BORING
+ - *BORING
+ - *BORING
+ - *BORING
- *CHESS-WIN-CARD-SEPPUKU
- *CHESS-WIN-CARD-SEPPUKU