Set a window icon and title
[naja.git] / data / location_decks / test_puzzle.yaml
1 description: "Test Puzzle"
2 puzzle: true
3
4 # This field is ignored, but it's a useful place to put some action definitions
5 # we can reference later.
6 _action_definitions:
7   # No-colour actions.
8   - &SET-BITS-DEFAULT
9     action_class: 'LoseHealthOrMSBAndSetBits'
10     required_bits: []
11   - &GAIN-HEALTH-DEFAULT
12     action_class: 'GainHealthAndClearBitsOrMSB'
13     required_bits: []
14   - &TOGGLE-BITS-DEFAULT
15     action_class: 'ToggleBits'
16     required_bits: []
17   - &BAD-DEFAULT
18     action_class: 'LoseHealthOrMSB'
19     required_bits: []
20
21   # One-colour actions.
22   - &SET-BITS-R
23     action_class: 'SetBits'
24     required_bits: [RED]
25   - &SET-BITS-G
26     action_class: 'SetBits'
27     required_bits: [GREEN]
28   - &SET-BITS-B
29     action_class: 'SetBits'
30     required_bits: [BLUE]
31
32   - &SHIFT-N
33     action_class: 'ShiftLocations'
34     required_bits: [BLUE]
35     data: {'direction': NORTH}
36   - &SHIFT-S
37     action_class: 'ShiftLocations'
38     required_bits: [BLUE]
39     data: {'direction': SOUTH}
40   - &SHIFT-E
41     action_class: 'ShiftLocations'
42     required_bits: [GREEN]
43     data: {'direction': EAST}
44   - &SHIFT-W
45     action_class: 'ShiftLocations'
46     required_bits: [GREEN]
47     data: {'direction': WEST}
48
49   - &ROT-CW
50     action_class: 'RotateLocations'
51     required_bits: [RED]
52     data: {'rot_direction': CLOCKWISE}
53   - &ROT-CCW
54     action_class: 'RotateLocations'
55     required_bits: [RED]
56     data: {'rot_direction': ANTICLOCKWISE}
57
58   # Two-colour actions.
59   - &KNIGHT-MOVE
60     action_class: 'AllowChessMove'
61     required_bits: [RED, GREEN]
62     data: {'chesspiece': KNIGHT}
63   - &CASTLE-MOVE
64     action_class: 'AllowChessMove'
65     required_bits: [RED, BLUE]
66     data: {'chesspiece': CASTLE}
67   - &BISHOP-MOVE
68     action_class: 'AllowChessMove'
69     required_bits: [GREEN, BLUE]
70     data: {'chesspiece': BISHOP}
71
72   - &HEAL-RG
73     action_class: 'GainHealth'
74     required_bits: [RED, GREEN]
75   - &HEAL-RB
76     action_class: 'GainHealth'
77     required_bits: [RED, BLUE]
78
79   # Three-colour actions.
80   - &ACQUIRE-WIN-TOKEN
81     action_class: 'AcquireWinToken'
82     required_bits: [RED, GREEN, BLUE]
83
84   # Test actions
85   - &TEST-WIN
86     action_class: 'AcquireWinToken'
87     required_bits: []
88   - &TEST-NULL
89     action_class: 'DoNothing'
90     required_bits: []
91
92 # This field is ignored, but it's a useful place to put some card definitions
93 # we can reference later.
94 _card_definitions:
95   - &TEST-WIN-CARD
96     actions:
97       - *TEST-WIN
98   - &TEST-BORING
99     actions:
100       - *TEST-NULL
101
102 cards:
103   - *TEST-WIN-CARD
104   - *TEST-BORING
105   - *TEST-BORING
106   - *TEST-BORING
107   - *TEST-WIN-CARD
108
109   - *TEST-BORING
110   - *TEST-BORING
111   - *TEST-BORING
112   - *TEST-BORING
113   - *TEST-BORING
114
115   - *TEST-BORING
116   - *TEST-BORING
117   - *TEST-BORING
118   - *TEST-BORING
119   - *TEST-BORING
120
121   - *TEST-BORING
122   - *TEST-BORING
123   - *TEST-BORING
124   - *TEST-BORING
125   - *TEST-BORING
126
127   - *TEST-WIN-CARD
128   - *TEST-BORING
129   - *TEST-BORING
130   - *TEST-BORING
131   - *TEST-WIN-CARD