From: Simon Cross Date: Sat, 17 May 2014 23:05:44 +0000 (+0200) Subject: Knights on conveyor belts. X-Git-Tag: 0.1~10^2~3 X-Git-Url: https://git.ctpug.org.za/?p=naja.git;a=commitdiff_plain;h=bc07a13f3410f44bdfe9fd0138c38ca7960662a3 Knights on conveyor belts. --- diff --git a/data/location_decks/puzzles/belts.yaml b/data/location_decks/puzzles/belts.yaml index 3fc31ed..4f402fd 100644 --- a/data/location_decks/puzzles/belts.yaml +++ b/data/location_decks/puzzles/belts.yaml @@ -15,6 +15,11 @@ _action_definitions: acquire_win: true lose_health: true once: true + - &KNIGHT + action_class: AllowChessMove + required_bits: [] + data: + chesspiece: KNIGHT # This field is ignored, but it's a useful place to put some card definitions # we can reference later. @@ -23,16 +28,17 @@ _card_definitions: card_name: 'win-card' bits: [RED, GREEN, BLUE] actions: - - *DO-NOTHING + - *KNIGHT - *WIN-ONCE - &BORING card_name: 'boring' actions: - - *DO-NOTHING + - *KNIGHT - &RED-CARD card_name: 'red-card' bits: [RED] actions: + - *KNIGHT - action_class: GenericBits required_bits: [] data: @@ -41,6 +47,7 @@ _card_definitions: card_name: 'blue-card' bits: [BLUE] actions: + - *KNIGHT - action_class: GenericBits required_bits: [] data: @@ -49,6 +56,7 @@ _card_definitions: card_name: 'green-card' bits: [GREEN] actions: + - *KNIGHT - action_class: GenericBits required_bits: [] data: @@ -57,6 +65,7 @@ _card_definitions: card_name: 'hospital' bits: [] actions: + - *KNIGHT - action_class: GenericBits required_bits: [] data: @@ -65,6 +74,7 @@ _card_definitions: card_name: 'universal-transporter' bits: [] actions: + - *KNIGHT - action_class: ShiftLocations required_bits: [] data: @@ -108,3 +118,6 @@ cards: - *BORING - *BORING - *WIN-CARD + +defaults: + initial_bits: 0x0