Tweak some cards.
[naja.git] / data / location_decks / test.yaml
index 42a3d0004cd730cdff1dd700a5f945688775e211..d88978d41e94b1ed1d6d23c867ffbd350df9ff18 100644 (file)
@@ -3,22 +3,22 @@ description: "Test location deck."
 # This field is ignored, but it's a useful place to put some action definitions
 # we can reference later.
 _standard_actions:
-  set_bits_default: &SET-BITS-DEFAULT
+  - &SET-BITS-DEFAULT
     action_class: 'LoseHealthOrMSBAndSetBits'
     required_bits: []
-  gain_health_default: &GAIN-HEALTH-DEFAULT
+  - &GAIN-HEALTH-DEFAULT
     action_class: 'GainHealthAndClearBitsOrMSB'
     required_bits: []
-  bad_default: &BAD-DEFAULT
+  - &BAD-DEFAULT
     action_class: 'LoseHealthOrMSB'
     required_bits: []
-  toggle_bits_c: &TOGGLE-BITS-C
+  - &TOGGLE-BITS-C
     action_class: 'ToggleBits'
     required_bits: [BLUE]
-  set_bits_ym: &SET-BITS-YM
+  - &SET-BITS-YM
     action_class: 'SetBits'
     required_bits: [RED, GREEN]
-  acquire_win_token: &ACQUIRE-WIN-TOKEN
+  - &ACQUIRE-WIN-TOKEN
     action_class: 'AcquireWinToken'
     required_bits: [RED, GREEN, BLUE]
 
@@ -44,3 +44,19 @@ cards:
     - action_class: 'ShiftLocations'
       required_bits: [GREEN, BLUE]
       data: {'direction': NORTH}
+  - bits: [RED, GREEN]  # colour-blind robot!
+    actions:
+    - action_class: 'ToggleBits'
+      required_bits: [GREEN]
+  - actions:
+    - action_class: 'AllowChessMove'
+      required_bits: [RED, BLUE]
+      data: {'chesspiece': KNIGHT}
+  - actions:
+    - action_class: 'AllowChessMove'
+      required_bits: [RED, BLUE]
+      data: {'chesspiece': BISHOP}
+  - actions:
+    - action_class: 'AllowChessMove'
+      required_bits: [RED, BLUE]
+      data: {'chesspiece': CASTLE}