From: Simon Cross Date: Sat, 17 May 2014 18:30:51 +0000 (+0200) Subject: Chess piece moves are in the corner. X-Git-Tag: 0.1~46 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=08e63d519b207200f3d39a6f0726bb05799dfbd3;p=naja.git Chess piece moves are in the corner. --- diff --git a/data/location_decks/puzzles/chess.yaml b/data/location_decks/puzzles/chess.yaml index 3c677af..2fc0ac6 100644 --- a/data/location_decks/puzzles/chess.yaml +++ b/data/location_decks/puzzles/chess.yaml @@ -4,10 +4,45 @@ puzzle: true # This field is ignored, but it's a useful place to put some card definitions # we can reference later. _card_definitions: - - &TEST-WIN-CARD - card_name: 'test-win' + - &CHESS-WIN-CARD-BISHOP + card_name: 'chess-win-bishop' actions: - - action_class: 'AcquireWinToken' + - action_class: AllowChessMove + required_bits: [] + data: + chesspiece: BISHOP + - action_class: AcquireWinToken + required_bits: [RED, GREEN, BLUE] + data: + once: true + - &CHESS-WIN-CARD-CASTLE + card_name: 'chess-win-rook' + actions: + - action_class: AllowChessMove + required_bits: [] + data: + chesspiece: CASTLE + - action_class: AcquireWinToken + required_bits: [RED, GREEN, BLUE] + data: + once: true + - &CHESS-WIN-CARD-KNIGHT + card_name: 'chess-win-knight' + actions: + - action_class: AllowChessMove + required_bits: [] + data: + chesspiece: KNIGHT + - action_class: AcquireWinToken + required_bits: [RED, GREEN, BLUE] + data: + once: true + - &CHESS-WIN-CARD-SEPPUKU + card_name: 'chess-win-seppuku' + actions: + - action_class: LoseHealthOrMSB + required_bits: [] + - action_class: AcquireWinToken required_bits: [RED, GREEN, BLUE] data: once: true @@ -64,11 +99,11 @@ _card_definitions: clear: [NORTH, SOUTH, WEST] cards: - - *TEST-WIN-CARD + - *CHESS-WIN-CARD-BISHOP - *TEST-BORING - *TEST-BORING - *TEST-BORING - - *TEST-WIN-CARD + - *CHESS-WIN-CARD-KNIGHT - *TEST-BORING - *TEST-BORING @@ -88,8 +123,8 @@ cards: - *TEST-BORING - *TEST-BORING - - *TEST-WIN-CARD + - *CHESS-WIN-CARD-CASTLE - *TEST-BORING - *TEST-BORING - *TEST-BORING - - *TEST-WIN-CARD + - *CHESS-WIN-CARD-SEPPUKU