X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=data%2Flocation_decks%2Ftest.yaml;h=53a0c77dcd65e3f62701c7ee675c375bc841f20d;hb=03c2028fc11ba6d70ba8f8997b84f53dd7f0fd2c;hp=b5df649d1a1c2d573841b7d951a4ac08a13aa508;hpb=4354fb84c1cc1c778e3e7d2a4d487fb1c86a8ad4;p=naja.git diff --git a/data/location_decks/test.yaml b/data/location_decks/test.yaml index b5df649..53a0c77 100644 --- a/data/location_decks/test.yaml +++ b/data/location_decks/test.yaml @@ -1,16 +1,30 @@ description: "Test location deck." + +# This field is ignored, but it's a useful place to put some action definitions +# we can reference later. +_standard_actions: + bad_default: &SET-BITS-DEFAULT + action_class: 'LoseHealthOrMSBAndSetBits' + required_bits: [] + bad_default: &BAD-DEFAULT + action_class: 'LoseHealthOrMSB' + required_bits: [] + toggle_bits_c: &TOGGLE-BITS-C + action_class: 'ToggleBits' + required_bits: [CYAN] + set_bits_ym: &SET-BITS-YM + action_class: 'SetBits' + required_bits: [YELLOW, MAGENTA] + cards: - - actions: [] - actions: - - action_class: 'LoseHealthOrMSB' - required_bits: [] - - action_class: 'ToggleBits' - required_bits: [CYAN] - - action_class: 'SetBits' - required_bits: [YELLOW, MAGENTA] + - *SET-BITS-DEFAULT + - actions: + - *BAD-DEFAULT + - *TOGGLE-BITS-C + - *SET-BITS-YM - actions: - action_class: 'ToggleBits' required_bits: [YELLOW] - actions: - - action_class: 'SetBits' - required_bits: [YELLOW, CYAN] + - *SET-BITS-YM