From 461ff8869e9a170e69d7f3c4831ce3ad737f1a76 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 18 May 2014 00:54:24 +0200 Subject: [PATCH] Start of conveyor belt puzzle. --- data/location_decks/puzzles/belts.yaml | 110 +++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 data/location_decks/puzzles/belts.yaml diff --git a/data/location_decks/puzzles/belts.yaml b/data/location_decks/puzzles/belts.yaml new file mode 100644 index 0000000..3fc31ed --- /dev/null +++ b/data/location_decks/puzzles/belts.yaml @@ -0,0 +1,110 @@ +description: "Moving the Mountain" +puzzle: true + +# This field is ignored, but it's a useful place to put some action definitions +# we can reference later. +_action_definitions: + - &DO-NOTHING + action_class: DoNothing + required_bits: [] + - &WIN-ONCE + action_class: GenericBits + required_bits: [RED, GREEN, BLUE] + data: + clear: [RED, GREEN, BLUE] + 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: + - &WIN-CARD + card_name: 'win-card' + bits: [RED, GREEN, BLUE] + actions: + - *DO-NOTHING + - *WIN-ONCE + - &BORING + card_name: 'boring' + actions: + - *DO-NOTHING + - &RED-CARD + card_name: 'red-card' + bits: [RED] + actions: + - action_class: GenericBits + required_bits: [] + data: + toggle: [RED] + - &BLUE-CARD + card_name: 'blue-card' + bits: [BLUE] + actions: + - action_class: GenericBits + required_bits: [] + data: + toggle: [BLUE] + - &GREEN-CARD + card_name: 'green-card' + bits: [GREEN] + actions: + - action_class: GenericBits + required_bits: [] + data: + toggle: [GREEN] + - &HOSPITAL + card_name: 'hospital' + bits: [] + actions: + - action_class: GenericBits + required_bits: [] + data: + gain_health: true + - &UNIVERSAL + card_name: 'universal-transporter' + bits: [] + actions: + - action_class: ShiftLocations + required_bits: [] + data: + direction: NORTH + skip_current: false + move_player: true + - action_class: ShiftLocations + required_bits: [] + data: + direction: WEST + skip_current: false + move_player: true + +cards: + - *WIN-CARD + - *BORING + - *BORING + - *BORING + - *WIN-CARD + + - *BORING + - *BORING + - *GREEN-CARD + - *BORING + - *BORING + + - *BORING + - *RED-CARD + - *UNIVERSAL + - *BLUE-CARD + - *BORING + + - *BORING + - *BORING + - *HOSPITAL + - *BORING + - *BORING + + - *WIN-CARD + - *BORING + - *BORING + - *BORING + - *WIN-CARD -- 2.34.1