Use new GenericBits in chess puzzle.
authorSimon Cross <hodgestar@gmail.com>
Sat, 17 May 2014 17:48:49 +0000 (19:48 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sat, 17 May 2014 17:48:56 +0000 (19:48 +0200)
data/location_decks/puzzles/chess.yaml

index 8d8da1d87f43b59826cdbf3bbbb6bfe3f00ce962..364de026389bdc849d63684592eef466674d20fb 100644 (file)
@@ -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]