X-Git-Url: https://git.ctpug.org.za/?p=naja.git;a=blobdiff_plain;f=data%2Flocation_decks%2Fpuzzles%2Fbelts.yaml;fp=data%2Flocation_decks%2Fpuzzles%2Fbelts.yaml;h=4f402fd57531472460adeb21effdc46664ca99a3;hp=0000000000000000000000000000000000000000;hb=a4cb14512c07e5677c295d56b475a9562936a5e6;hpb=1dd7a53e5f3442d78e1db6d8142445f8185c817b diff --git a/data/location_decks/puzzles/belts.yaml b/data/location_decks/puzzles/belts.yaml new file mode 100644 index 0000000..4f402fd --- /dev/null +++ b/data/location_decks/puzzles/belts.yaml @@ -0,0 +1,123 @@ +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 + - &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. +_card_definitions: + - &WIN-CARD + card_name: 'win-card' + bits: [RED, GREEN, BLUE] + actions: + - *KNIGHT + - *WIN-ONCE + - &BORING + card_name: 'boring' + actions: + - *KNIGHT + - &RED-CARD + card_name: 'red-card' + bits: [RED] + actions: + - *KNIGHT + - action_class: GenericBits + required_bits: [] + data: + toggle: [RED] + - &BLUE-CARD + card_name: 'blue-card' + bits: [BLUE] + actions: + - *KNIGHT + - action_class: GenericBits + required_bits: [] + data: + toggle: [BLUE] + - &GREEN-CARD + card_name: 'green-card' + bits: [GREEN] + actions: + - *KNIGHT + - action_class: GenericBits + required_bits: [] + data: + toggle: [GREEN] + - &HOSPITAL + card_name: 'hospital' + bits: [] + actions: + - *KNIGHT + - action_class: GenericBits + required_bits: [] + data: + gain_health: true + - &UNIVERSAL + card_name: 'universal-transporter' + bits: [] + actions: + - *KNIGHT + - 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 + +defaults: + initial_bits: 0x0