From 588b59406f8f944c51f72ae94f3688c9d8febe60 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 17 May 2014 19:48:49 +0200 Subject: [PATCH] Use new GenericBits in chess puzzle. --- data/location_decks/puzzles/chess.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/data/location_decks/puzzles/chess.yaml b/data/location_decks/puzzles/chess.yaml index 8d8da1d..364de02 100644 --- 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] -- 2.34.1