projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64cf509
)
Use new GenericBits in chess puzzle.
author
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 17:48:49 +0000
(19:48 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 17:48:56 +0000
(19:48 +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 8d8da1d87f43b59826cdbf3bbbb6bfe3f00ce962..364de026389bdc849d63684592eef466674d20fb 100644
(file)
--- a/
data/location_decks/puzzles/chess.yaml
+++ b/
data/location_decks/puzzles/chess.yaml
@@
-27,8
+27,11
@@
_card_definitions:
card_name: 'chess-north'
bits: [NORTH, EAST, WEST, RED]
actions:
- - action_class: 'ToggleBits'
- required_bits: [NORTH]
+ - action_class: 'GenericBits'
+ required_bits: []
+ data:
+ toggle: [RED]
+ clear: [NORTH, EAST, WEST]
- &CHESS-SOUTH
card_name: 'chess-south'
bits: [SOUTH, EAST, WEST, RED, GREEN]