rotation action
[naja.git] / data / location_decks / standard.yaml
index 31d0af5e1ca83f1dc150bc3e2e998a724bf7706f..d0d4056a04f957f9d2d7fc90e6b01792edd523fc 100644 (file)
@@ -45,6 +45,15 @@ _action_definitions:
     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'
@@ -140,6 +149,18 @@ _card_definitions:
       - *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
@@ -153,3 +174,5 @@ cards:
   - *SHIFT-S-AND-HEAL
   - *SHIFT-E-AND-HEAL
   - *SHIFT-W-AND-HEAL
+  - *ROT-CW-AND-SET
+  - *ROT-CCW-AND-SET