From bc07a13f3410f44bdfe9fd0138c38ca7960662a3 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 18 May 2014 01:05:44 +0200 Subject: [PATCH] Knights on conveyor belts. --- data/location_decks/puzzles/belts.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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 -- 2.34.1