From: Simon Cross Date: Sat, 17 May 2014 17:56:12 +0000 (+0200) Subject: Use GenericBits for NEWS. X-Git-Tag: 0.1~52 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=d93cb8cf618c2f77c4a2fe278b41708a5c5556dd;p=naja.git Use GenericBits for NEWS. --- diff --git a/data/location_decks/puzzles/chess.yaml b/data/location_decks/puzzles/chess.yaml index 364de02..03528df 100644 --- a/data/location_decks/puzzles/chess.yaml +++ b/data/location_decks/puzzles/chess.yaml @@ -36,20 +36,30 @@ _card_definitions: card_name: 'chess-south' bits: [SOUTH, EAST, WEST, RED, GREEN] actions: - - action_class: 'ToggleBits' - required_bits: [SOUTH] + - action_class: 'GenericBits' + required_bits: [] + data: + toggle: [RED, GREEN] + clear: [SOUTH, EAST, WEST] - &CHESS-EAST card_name: 'chess-east' bits: [NORTH, SOUTH, EAST, RED, BLUE] actions: - - action_class: 'ToggleBits' - required_bits: [EAST] + - action_class: 'GenericBits' + required_bits: [] + data: + toggle: [RED, BLUE] + clear: [NORTH, SOUTH, EAST] + - &CHESS-WEST card_name: 'chess-west' bits: [NORTH, SOUTH, WEST, BLUE, MSB] actions: - - action_class: 'ToggleBits' - required_bits: [WEST] + - action_class: 'GenericBits' + required_bits: [] + data: + toggle: [BLUE, MSB] + clear: [NORTH, SOUTH, WEST] cards: - *TEST-WIN-CARD