From: Simon Cross Date: Sat, 17 May 2014 22:54:24 +0000 (+0200) Subject: Start of conveyor belt puzzle. X-Git-Tag: 0.1~10^2~6 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=461ff8869e9a170e69d7f3c4831ce3ad737f1a76;p=naja.git Start of conveyor belt puzzle. --- 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