X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=data%2Flocation_decks%2Ftest.yaml;h=b577ba34752972c4105a196648bbd76ec35b4878;hb=0cef06f581d48315a59a19ac06ca1d2be14cbb4c;hp=b5df649d1a1c2d573841b7d951a4ac08a13aa508;hpb=4354fb84c1cc1c778e3e7d2a4d487fb1c86a8ad4;p=naja.git diff --git a/data/location_decks/test.yaml b/data/location_decks/test.yaml index b5df649..b577ba3 100644 --- a/data/location_decks/test.yaml +++ b/data/location_decks/test.yaml @@ -1,16 +1,46 @@ 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: + set_bits_default: &SET-BITS-DEFAULT + action_class: 'LoseHealthOrMSBAndSetBits' + required_bits: [] + gain_health_default: &GAIN-HEALTH-DEFAULT + action_class: 'GainHealthAndClearBitsOrMSB' + 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] + acquire_win_token: &ACQUIRE-WIN-TOKEN + action_class: 'AcquireWinToken' + required_bits: [CYAN, MAGENTA, YELLOW] + 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 + - actions: + - *BAD-DEFAULT + - *ACQUIRE-WIN-TOKEN + - actions: + - *GAIN-HEALTH-DEFAULT + - *TOGGLE-BITS-C + - actions: + - action_class: 'ShiftLocations' + required_bits: [CYAN, MAGENTA] + data: {'direction': NORTH}