From 51c3abafdca8b817e5e7ce62db4d9bb1a8ebd94a Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 17 May 2014 22:45:06 +0200 Subject: [PATCH] Marathon is long but doable. --- data/location_decks/puzzles/marathon.yaml | 45 ++++++++++++++++++++--- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/data/location_decks/puzzles/marathon.yaml b/data/location_decks/puzzles/marathon.yaml index 22d41ff..b310620 100644 --- a/data/location_decks/puzzles/marathon.yaml +++ b/data/location_decks/puzzles/marathon.yaml @@ -13,21 +13,54 @@ _action_definitions: 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: 'test-win' + card_name: 'win-card' bits: [RED, GREEN, BLUE] actions: - *DO-NOTHING - *WIN-ONCE - &BORING - card_name: 'test-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 cards: - *WIN-CARD @@ -38,19 +71,19 @@ cards: - *BORING - *BORING - - *BORING + - *GREEN-CARD - *BORING - *BORING - *BORING + - *RED-CARD - *BORING - - *BORING - - *BORING + - *BLUE-CARD - *BORING - *BORING - *BORING - - *BORING + - *HOSPITAL - *BORING - *BORING -- 2.34.1