Knights on conveyor belts.
authorSimon Cross <hodgestar@gmail.com>
Sat, 17 May 2014 23:05:44 +0000 (01:05 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sat, 17 May 2014 23:06:45 +0000 (01:06 +0200)
data/location_decks/puzzles/belts.yaml

index 3fc31ed30312ded7d004db14e342da241752d8ca..4f402fd57531472460adeb21effdc46664ca99a3 100644 (file)
@@ -15,6 +15,11 @@ _action_definitions:
       acquire_win: true
       lose_health: true
       once: true
+  - &KNIGHT
+    action_class: AllowChessMove
+    required_bits: []
+    data:
+      chesspiece: KNIGHT
 
 # This field is ignored, but it's a useful place to put some card definitions
 # we can reference later.
@@ -23,16 +28,17 @@ _card_definitions:
     card_name: 'win-card'
     bits: [RED, GREEN, BLUE]
     actions:
-      - *DO-NOTHING
+      - *KNIGHT
       - *WIN-ONCE
   - &BORING
     card_name: 'boring'
     actions:
-      - *DO-NOTHING
+      - *KNIGHT
   - &RED-CARD
     card_name: 'red-card'
     bits: [RED]
     actions:
+      - *KNIGHT
       - action_class: GenericBits
         required_bits: []
         data:
@@ -41,6 +47,7 @@ _card_definitions:
     card_name: 'blue-card'
     bits: [BLUE]
     actions:
+      - *KNIGHT
       - action_class: GenericBits
         required_bits: []
         data:
@@ -49,6 +56,7 @@ _card_definitions:
     card_name: 'green-card'
     bits: [GREEN]
     actions:
+      - *KNIGHT
       - action_class: GenericBits
         required_bits: []
         data:
@@ -57,6 +65,7 @@ _card_definitions:
     card_name: 'hospital'
     bits: []
     actions:
+      - *KNIGHT
       - action_class: GenericBits
         required_bits: []
         data:
@@ -65,6 +74,7 @@ _card_definitions:
     card_name: 'universal-transporter'
     bits: []
     actions:
+      - *KNIGHT
       - action_class: ShiftLocations
         required_bits: []
         data:
@@ -108,3 +118,6 @@ cards:
   - *BORING
   - *BORING
   - *WIN-CARD
+
+defaults:
+  initial_bits: 0x0