From: Simon Cross Date: Sun, 8 Jun 2014 20:04:15 +0000 (+0200) Subject: Make chess puzzle level (Kasparov to F3) winnable. X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=naja.git Make chess puzzle level (Kasparov to F3) winnable. --- diff --git a/data/location_decks/puzzles/chess.yaml b/data/location_decks/puzzles/chess.yaml index 7af047b..1f96f70 100644 --- a/data/location_decks/puzzles/chess.yaml +++ b/data/location_decks/puzzles/chess.yaml @@ -12,6 +12,15 @@ _action_defitions: acquire_win: true lose_health: true once: true + - &ORDINARY-VICTORY + action_class: GenericBits + required_bits: [RED, GREEN, BLUE] + data: + clear: [NORTH, SOUTH, EAST, WEST, RED, GREEN, BLUE, MSB] + acquire_win: true + lose_health: false + once: true + # This field is ignored, but it's a useful place to put some card definitions # we can reference later. @@ -49,7 +58,7 @@ _card_definitions: actions: - action_class: LoseHealthOrMSB required_bits: [] - - *PYRRHIC-VICTORY + - *ORDINARY-VICTORY - &BORING card_name: 'boring' actions: