From: Simon Cross Date: Sat, 17 May 2014 17:48:49 +0000 (+0200) Subject: Use new GenericBits in chess puzzle. X-Git-Tag: 0.1~54 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=588b59406f8f944c51f72ae94f3688c9d8febe60;p=naja.git Use new GenericBits in chess puzzle. --- 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]