X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=data%2Flocation_decks%2Fpuzzles%2Fchess.yaml;h=d98e400fdfe1524a6c203b53827ef384a33e0c08;hb=51be7c66a7b60369a7165f3130f13951c21e53fa;hp=2fc0ac68fd32b81afcb691be1232281f91dc0992;hpb=08e63d519b207200f3d39a6f0726bb05799dfbd3;p=naja.git diff --git a/data/location_decks/puzzles/chess.yaml b/data/location_decks/puzzles/chess.yaml index 2fc0ac6..d98e400 100644 --- a/data/location_decks/puzzles/chess.yaml +++ b/data/location_decks/puzzles/chess.yaml @@ -11,9 +11,12 @@ _card_definitions: required_bits: [] data: chesspiece: BISHOP - - action_class: AcquireWinToken + - action_class: GenericBits required_bits: [RED, GREEN, BLUE] data: + clear: [NORTH, SOUTH, EAST, WEST, RED, GREEN, BLUE, MSB] + acquire_win: true + lose_health: true once: true - &CHESS-WIN-CARD-CASTLE card_name: 'chess-win-rook' @@ -49,22 +52,22 @@ _card_definitions: - &TEST-BORING card_name: 'test-boring' actions: - - action_class: 'DoNothing' + - action_class: DoNothing required_bits: [] - &CHESS-CENTRE card_name: 'chess-centre' bits: [NORTH, SOUTH, EAST, WEST] actions: - - action_class: 'SetBits' + - action_class: SetBits required_bits: [] - - action_class: 'AllowChessMove' + - action_class: AllowChessMove data: {'chesspiece': BISHOP} required_bits: [RED, GREEN, BLUE, MSB] - &CHESS-NORTH card_name: 'chess-north' bits: [NORTH, EAST, WEST, RED] actions: - - action_class: 'GenericBits' + - action_class: GenericBits required_bits: [] data: toggle: [RED] @@ -73,7 +76,7 @@ _card_definitions: card_name: 'chess-south' bits: [SOUTH, EAST, WEST, RED, GREEN] actions: - - action_class: 'GenericBits' + - action_class: GenericBits required_bits: [] data: toggle: [RED, GREEN] @@ -82,7 +85,7 @@ _card_definitions: card_name: 'chess-east' bits: [NORTH, SOUTH, EAST, RED, BLUE] actions: - - action_class: 'GenericBits' + - action_class: GenericBits required_bits: [] data: toggle: [RED, BLUE] @@ -92,7 +95,7 @@ _card_definitions: card_name: 'chess-west' bits: [NORTH, SOUTH, WEST, BLUE, MSB] actions: - - action_class: 'GenericBits' + - action_class: GenericBits required_bits: [] data: toggle: [BLUE, MSB]