X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=data%2Flocation_decks%2Ftest.yaml;h=53a0c77dcd65e3f62701c7ee675c375bc841f20d;hb=03c2028fc11ba6d70ba8f8997b84f53dd7f0fd2c;hp=75f8690a88df0f0ff109eb5be162ab73a40bdd7d;hpb=3beea676f3bd4fc9101e9de1c24e8007011e952b;p=naja.git diff --git a/data/location_decks/test.yaml b/data/location_decks/test.yaml index 75f8690..53a0c77 100644 --- a/data/location_decks/test.yaml +++ b/data/location_decks/test.yaml @@ -1,10 +1,30 @@ -- actions: [] -- actions: - - action_class: 'DoNothing' +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] -- actions: - - action_class: 'DoNothing' - required_bits: [YELLOW] -- actions: - - action_class: 'DoNothing' + set_bits_ym: &SET-BITS-YM + action_class: 'SetBits' required_bits: [YELLOW, MAGENTA] + +cards: + - actions: + - *SET-BITS-DEFAULT + - actions: + - *BAD-DEFAULT + - *TOGGLE-BITS-C + - *SET-BITS-YM + - actions: + - action_class: 'ToggleBits' + required_bits: [YELLOW] + - actions: + - *SET-BITS-YM