projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c31d52d
)
Knights on conveyor belts.
author
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 23:05:44 +0000
(
01:05
+0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sat, 17 May 2014 23:06:45 +0000
(
01:06
+0200)
data/location_decks/puzzles/belts.yaml
patch
|
blob
|
history
diff --git
a/data/location_decks/puzzles/belts.yaml
b/data/location_decks/puzzles/belts.yaml
index 3fc31ed30312ded7d004db14e342da241752d8ca..4f402fd57531472460adeb21effdc46664ca99a3 100644
(file)
--- a/
data/location_decks/puzzles/belts.yaml
+++ b/
data/location_decks/puzzles/belts.yaml
@@
-15,6
+15,11
@@
_action_definitions:
acquire_win: true
lose_health: true
once: true
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.
# 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:
card_name: 'win-card'
bits: [RED, GREEN, BLUE]
actions:
- - *
DO-NOTHING
+ - *
KNIGHT
- *WIN-ONCE
- &BORING
card_name: 'boring'
actions:
- *WIN-ONCE
- &BORING
card_name: 'boring'
actions:
- - *
DO-NOTHING
+ - *
KNIGHT
- &RED-CARD
card_name: 'red-card'
bits: [RED]
actions:
- &RED-CARD
card_name: 'red-card'
bits: [RED]
actions:
+ - *KNIGHT
- action_class: GenericBits
required_bits: []
data:
- action_class: GenericBits
required_bits: []
data:
@@
-41,6
+47,7
@@
_card_definitions:
card_name: 'blue-card'
bits: [BLUE]
actions:
card_name: 'blue-card'
bits: [BLUE]
actions:
+ - *KNIGHT
- action_class: GenericBits
required_bits: []
data:
- action_class: GenericBits
required_bits: []
data:
@@
-49,6
+56,7
@@
_card_definitions:
card_name: 'green-card'
bits: [GREEN]
actions:
card_name: 'green-card'
bits: [GREEN]
actions:
+ - *KNIGHT
- action_class: GenericBits
required_bits: []
data:
- action_class: GenericBits
required_bits: []
data:
@@
-57,6
+65,7
@@
_card_definitions:
card_name: 'hospital'
bits: []
actions:
card_name: 'hospital'
bits: []
actions:
+ - *KNIGHT
- action_class: GenericBits
required_bits: []
data:
- action_class: GenericBits
required_bits: []
data:
@@
-65,6
+74,7
@@
_card_definitions:
card_name: 'universal-transporter'
bits: []
actions:
card_name: 'universal-transporter'
bits: []
actions:
+ - *KNIGHT
- action_class: ShiftLocations
required_bits: []
data:
- action_class: ShiftLocations
required_bits: []
data:
@@
-108,3
+118,6
@@
cards:
- *BORING
- *BORING
- *WIN-CARD
- *BORING
- *BORING
- *WIN-CARD
+
+defaults:
+ initial_bits: 0x0