Set a window icon and title
[naja.git] / data / location_decks / test.yaml
1 description: "Test location deck."
2
3 # This field is ignored, but it's a useful place to put some action definitions
4 # we can reference later.
5 _standard_actions:
6   - &SET-BITS-DEFAULT
7     action_class: 'LoseHealthOrMSBAndSetBits'
8     required_bits: []
9   - &GAIN-HEALTH-DEFAULT
10     action_class: 'GainHealthAndClearBitsOrMSB'
11     required_bits: []
12   - &BAD-DEFAULT
13     action_class: 'LoseHealthOrMSB'
14     required_bits: []
15   - &TOGGLE-BITS-C
16     action_class: 'ToggleBits'
17     required_bits: [BLUE]
18   - &SET-BITS-YM
19     action_class: 'SetBits'
20     required_bits: [RED, GREEN]
21   - &ACQUIRE-WIN-TOKEN
22     action_class: 'AcquireWinToken'
23     required_bits: [RED, GREEN, BLUE]
24
25 cards:
26   - actions:
27     - *SET-BITS-DEFAULT
28   - actions:
29     - *BAD-DEFAULT
30     - *TOGGLE-BITS-C
31     - *SET-BITS-YM
32   - actions:
33     - action_class: 'ToggleBits'
34       required_bits: [RED]
35   - actions:
36     - *SET-BITS-YM
37   - actions:
38     - *BAD-DEFAULT
39     - *ACQUIRE-WIN-TOKEN
40   - actions:
41     - *GAIN-HEALTH-DEFAULT
42     - *TOGGLE-BITS-C
43   - actions:
44     - action_class: 'ShiftLocations'
45       required_bits: [GREEN, BLUE]
46       data: {'direction': NORTH}
47   - bits: [RED, GREEN]  # colour-blind robot!
48     actions:
49     - action_class: 'ToggleBits'
50       required_bits: [GREEN]
51   - actions:
52     - action_class: 'AllowChessMove'
53       required_bits: [RED, BLUE]
54       data: {'chesspiece': KNIGHT}
55   - actions:
56     - action_class: 'AllowChessMove'
57       required_bits: [RED, BLUE]
58       data: {'chesspiece': BISHOP}
59   - actions:
60     - action_class: 'AllowChessMove'
61       required_bits: [RED, BLUE]
62       data: {'chesspiece': CASTLE}