From: Simon Cross Date: Sat, 17 May 2014 19:34:24 +0000 (+0200) Subject: PHYRRIC Victory\! X-Git-Tag: 0.1~34^2~3 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=d1209c626b8eeb0f819d7af60c1d6cb04834d3cc;p=naja.git PHYRRIC Victory\! --- diff --git a/data/location_decks/puzzles/chess.yaml b/data/location_decks/puzzles/chess.yaml index d98e400..4234573 100644 --- a/data/location_decks/puzzles/chess.yaml +++ b/data/location_decks/puzzles/chess.yaml @@ -1,6 +1,18 @@ description: "Kasparov to F3" puzzle: true +# This field is ignored, but it's a useful place to put some action definitions +# we can reference later. +_action_defitions: + - &PHYRRIC-VICTORY + 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 + # This field is ignored, but it's a useful place to put some card definitions # we can reference later. _card_definitions: @@ -11,13 +23,7 @@ _card_definitions: required_bits: [] data: chesspiece: BISHOP - - 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 + - *PHYRRIC-VICTORY - &CHESS-WIN-CARD-CASTLE card_name: 'chess-win-rook' actions: @@ -25,10 +31,7 @@ _card_definitions: required_bits: [] data: chesspiece: CASTLE - - action_class: AcquireWinToken - required_bits: [RED, GREEN, BLUE] - data: - once: true + - *PHYRRIC-VICTORY - &CHESS-WIN-CARD-KNIGHT card_name: 'chess-win-knight' actions: @@ -36,19 +39,13 @@ _card_definitions: required_bits: [] data: chesspiece: KNIGHT - - action_class: AcquireWinToken - required_bits: [RED, GREEN, BLUE] - data: - once: true + - *PHYRRIC-VICTORY - &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 + - *PHYRRIC-VICTORY - &TEST-BORING card_name: 'test-boring' actions: