data:
clear: [RED, GREEN, BLUE]
acquire_win: true
+ lose_health: true
once: true
# This field is ignored, but it's a useful place to put some card definitions
# we can reference later.
_card_definitions:
- &WIN-CARD
- card_name: 'test-win'
+ card_name: 'win-card'
bits: [RED, GREEN, BLUE]
actions:
- *DO-NOTHING
- *WIN-ONCE
- &BORING
- card_name: 'test-boring'
+ card_name: 'boring'
actions:
- *DO-NOTHING
+ - &RED-CARD
+ card_name: 'red-card'
+ bits: [RED]
+ actions:
+ - action_class: GenericBits
+ required_bits: []
+ data:
+ toggle: [RED]
+ - &BLUE-CARD
+ card_name: 'blue-card'
+ bits: [BLUE]
+ actions:
+ - action_class: GenericBits
+ required_bits: []
+ data:
+ toggle: [BLUE]
+ - &GREEN-CARD
+ card_name: 'green-card'
+ bits: [GREEN]
+ actions:
+ - action_class: GenericBits
+ required_bits: []
+ data:
+ toggle: [GREEN]
+ - &HOSPITAL
+ card_name: 'hospital'
+ bits: []
+ actions:
+ - action_class: GenericBits
+ required_bits: []
+ data:
+ gain_health: true
cards:
- *WIN-CARD
- *BORING
- *BORING
- - *BORING
+ - *GREEN-CARD
- *BORING
- *BORING
- *BORING
+ - *RED-CARD
- *BORING
- - *BORING
- - *BORING
+ - *BLUE-CARD
- *BORING
- *BORING
- *BORING
- - *BORING
+ - *HOSPITAL
- *BORING
- *BORING