Update examples, convert to YAML

This commit is contained in:
Adam Goldsmith 2019-01-14 23:37:16 -05:00
parent 0338ea365a
commit 38f96f29bd
6 changed files with 74 additions and 53 deletions

View File

@ -1,9 +0,0 @@
{
"meta": {
"name": "Environment Example",
"type": "environment"
},
"deck": [
{"count": 1, "keywords": "Ongoing", "name": "Example Card 1", "text": "Card text 1", "hp": 12, "artist": "Art By Adam", "flavor": "Test flavor"},
{"count": 1, "keywords": "Oneshot", "name": "Example Card 2", "text": "Card text 2"}]
}

16
example/environment.yaml Normal file
View File

@ -0,0 +1,16 @@
meta:
name: Environment Example
type: environment
cards:
deck:
- keywords: Ongoing
name: Example Card 1
text: Card text 1
hp: 12
artist: Art By Adam
flavor: Test flavor
- count: 2
keywords: Oneshot
name: Example Card 2
text: Card text 2

View File

@ -1,15 +0,0 @@
{
"meta": {
"name": "Hero Example",
"type": "hero"
},
"character": [{"name": "Hero Example",
"hp": 42,
"power": "Power Name",
"powerText": "Power: Power description",
"incapacitated": "{incapacitated effect 1\n\n{incapacitated effect 2"}],
"deck": [
{"count": 1, "keywords": "Ongoing", "name": "Card 1", "text": "Card text 1", "hp": 12, "artist": "Art By Adam", "quote": "Test Quote", "quoteCitation": "- Adam"},
{"count": 2, "keywords": "Oneshot", "name": "Card 2", "text": "Card text 2"}
]
}

24
example/hero.yaml Normal file
View File

@ -0,0 +1,24 @@
meta:
name: Hero Example
type: hero
cards:
character:
- name: Hero Example
hp: 42
power: Power Name
powerText: 'Power: Power description'
incapacitated: |-
<p>{incapacitated effect 1</p>
<p>{incapacitated effect 2</p>
deck:
- name: Card 1
hp: 12
keywords: Ongoing
text: Card text 1
quote: Test Quote
quoteCitation: "- Adam"
artist: Art By Adam
- count: 2
name: Card 2
keywords: Oneshot
text: Card text 2

View File

@ -1,29 +0,0 @@
{
"meta": {
"name": "Villain Example",
"type": "villain"
},
"character": [
{"name": "Villain Example",
"hp": 32,
"title": "Test Front",
"back": {
"hp": 25,
"title": "Test Back"
}}],
"instructions": [
{"name": "Test",
"title": "Test Front",
"setup": "setup text",
"gameplay": "front text",
"advanced": "advanced front",
"back": {
"title": "Test Back",
"gameplay": "back text",
"advanced": "advanced back"
}}],
"deck": [
{"count": 1, "keywords": "Ongoing", "name": "Test 1", "text": "Example Text 1", "hp": 12, "artist": "Art By Adam", "quote": "Test Quote", "quoteCitation": "- Adam"},
{"count": 2, "keywords": "One-shot", "name": "Test 2", "text": "Example Text 2"}
]
}

34
example/villain.yaml Normal file
View File

@ -0,0 +1,34 @@
meta:
name: Villain Example
type: villain
cards:
character:
- name: Villain Example
hp: 32
title: Test Front
back:
hp: 25
title: Test Back
instructions:
- name: Test
title: Test Front
setup: setup text
gameplay: front text
advanced: advanced front
back:
title: Test Back
gameplay: back text
advanced: advanced back
deck:
- keywords: Ongoing
name: Test 1
text: Example Text 1
hp: 12
artist: Art By Adam
quote: Test Quote
quoteCitation: "- Adam"
- count: 2
keywords: One-shot
name: Test 2
text: Example Text 2