required_bits: [GREEN]
data: {'direction': WEST}
+ - &ROT-CW
+ action_class: 'RotateLocations'
+ required_bits: [RED]
+ data: {'rot_direction': CLOCKWISE}
+ - &ROT-CCW
+ action_class: 'RotateLocations'
+ required_bits: [RED]
+ data: {'rot_direction': ANTICLOCKWISE}
+
# Two-colour actions.
- &KNIGHT-MOVE
action_class: 'AllowChessMove'
- *SHIFT-W
- *HEAL-RB
+ - &ROT-CW-AND-SET
+ actions:
+ - *TOGGLE-BITS-DEFAULT
+ - *ROT-CW
+ - *SET-BITS-B
+
+ - &ROT-CCW-AND-SET
+ actions:
+ - *TOGGLE-BITS-DEFAULT
+ - *ROT-CCW
+ - *SET-BITS-G
+
cards:
- *WIN-CARD-1
- *WIN-CARD-2
- *SHIFT-S-AND-HEAL
- *SHIFT-E-AND-HEAL
- *SHIFT-W-AND-HEAL
+ - *ROT-CW-AND-SET
+ - *ROT-CCW-AND-SET