1 description: "Standard location deck."
3 # This field is ignored, but it's a useful place to put some action definitions
4 # we can reference later.
8 action_class: 'LoseHealthOrMSBAndSetBits'
10 - &GAIN-HEALTH-DEFAULT
11 action_class: 'GainHealthAndClearBitsOrMSB'
13 - &TOGGLE-BITS-DEFAULT
14 action_class: 'ToggleBits'
16 - &TOGGLE-BITS-HARM-DEFAULT
17 action_class: 'ToggleBitsAndHarm'
20 action_class: 'LoseHealthOrMSB'
23 action_class: 'GainMSB'
27 action_class: 'AllowChessMoveIfMSB'
29 data: {'chesspiece': KNIGHT}
31 action_class: 'AllowChessMoveIfMSB'
33 data: {'chesspiece': CASTLE}
35 action_class: 'AllowChessMoveIfMSB'
37 data: {'chesspiece': BISHOP}
41 action_class: 'SetBits'
44 action_class: 'SetBits'
45 required_bits: [GREEN]
47 action_class: 'SetBits'
51 action_class: 'ShiftLocations'
53 data: {'direction': NORTH}
55 action_class: 'ShiftLocations'
57 data: {'direction': SOUTH}
59 action_class: 'ShiftLocations'
60 required_bits: [GREEN]
61 data: {'direction': EAST}
63 action_class: 'ShiftLocations'
64 required_bits: [GREEN]
65 data: {'direction': WEST}
68 action_class: 'RotateLocations'
70 data: {'rot_direction': CLOCKWISE}
72 action_class: 'RotateLocations'
74 data: {'rot_direction': ANTICLOCKWISE}
78 action_class: 'AllowChessMove'
79 required_bits: [RED, GREEN]
80 data: {'chesspiece': KNIGHT}
82 action_class: 'AllowChessMove'
83 required_bits: [RED, BLUE]
84 data: {'chesspiece': CASTLE}
86 action_class: 'AllowChessMove'
87 required_bits: [GREEN, BLUE]
88 data: {'chesspiece': BISHOP}
91 action_class: 'GainHealth'
92 required_bits: [RED, GREEN]
94 action_class: 'GainHealth'
95 required_bits: [RED, BLUE]
98 action_class: 'ShiftBits'
99 required_bits: [RED, BLUE]
105 action_class: 'ShiftBits'
106 required_bits: [GREEN, BLUE]
108 'direction': 'right',
112 # Three-colour actions.
114 action_class: 'AcquireWinToken'
115 required_bits: [RED, GREEN, BLUE]
117 # Three-colour actions.
118 - &ACQUIRE-WIN-TOKEN-AND-LOSE-HEALTH
119 action_class: 'AcquireWinTokenAndLoseHealth'
120 required_bits: [RED, GREEN, BLUE]
122 # This field is ignored, but it's a useful place to put some card definitions
123 # we can reference later.
136 - *ACQUIRE-WIN-TOKEN-AND-LOSE-HEALTH
145 card_name: 'knight_set'
151 card_name: 'castle_set'
157 card_name: 'bishop_set'
164 card_name: 'bishop_set_knight'
166 - *BISHOP-MSB-DEFAULT
170 card_name: 'knight_set_castle'
172 - *KNIGHT-MSB-DEFAULT
176 card_name: 'castle_set_bishop'
178 - *CASTLE-MSB-DEFAULT
183 card_name: 'toggle-rg-r'
184 bits: [RED, GREEN] # Colour-blind robot!
186 - *GAIN-HEALTH-DEFAULT
187 - action_class: 'ToggleBits'
189 - action_class: 'SetBits'
190 required_bits: [GREEN, BLUE]
192 card_name: 'toggle-rg-g'
193 bits: [RED, GREEN] # Colour-blind robot!
195 - *GAIN-HEALTH-DEFAULT
196 - action_class: 'ToggleBits'
197 required_bits: [GREEN]
198 - action_class: 'SetBits'
199 required_bits: [RED, BLUE]
202 card_name: 'shift-n-heal'
204 - *TOGGLE-BITS-DEFAULT
208 card_name: 'shift-s-heal'
210 - *TOGGLE-BITS-DEFAULT
214 card_name: 'shift-e-heal'
216 - *TOGGLE-BITS-DEFAULT
220 card_name: 'shift-w-heal'
222 - *TOGGLE-BITS-DEFAULT
227 card_name: 'shift-n-harm'
229 - *TOGGLE-BITS-HARM-DEFAULT
233 card_name: 'shift-s-harm'
235 - *TOGGLE-BITS-HARM-DEFAULT
239 card_name: 'shift-e-harm'
241 - *TOGGLE-BITS-HARM-DEFAULT
245 card_name: 'shift-w-harm'
247 - *TOGGLE-BITS-HARM-DEFAULT
252 card_name: 'rot-cw-set'
254 - *TOGGLE-BITS-DEFAULT
259 card_name: 'rot-ccw-set'
261 - *TOGGLE-BITS-DEFAULT
266 card_name: 'shift-e-bitshift'
271 card_name: 'shift-w-bitshift'
277 card_name: 'mean-card'
282 card_name: 'mean-card'
284 - action_class: 'ClearBitsAndHealth'
286 - action_class: 'LoseHealthOrMSB'