Add some example input jsons
This commit is contained in:
parent
00f0c17c24
commit
06d5af2e9e
@ -29,6 +29,8 @@ Templates are based on those from BoardGameGeek user Koga, found here:
|
||||
https://boardgamegeek.com/thread/813176/card-templates/, but have been
|
||||
converted to SVG and rather heavily modified/cleaned up.
|
||||
|
||||
There are some example input jsons in the `testInputs` folder of this repo.
|
||||
|
||||
## Playfield
|
||||
|
||||
Can load decks created by the generator. In theory, can play any deck
|
||||
|
37
testInputs/Puffer_Fish_input_1.6.json
Normal file
37
testInputs/Puffer_Fish_input_1.6.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "The Puffer Fish",
|
||||
"type": "villain",
|
||||
"character": [
|
||||
{"name": "The Puffer Fish",
|
||||
"hp": "30/40/50",
|
||||
"title": "Over Stuffed",
|
||||
"back": {
|
||||
"hp": "60/70/80",
|
||||
"title": " Dance to the Beat"
|
||||
}}],
|
||||
"instructions": [
|
||||
{"name": "The Puffer Fish",
|
||||
"title": "Over Stuffed",
|
||||
"setup": "Place 2 equipment cards from each hero deck beneath this card.",
|
||||
"gameplay": "At the end of the villian turn, reveal a random card beneath this card. Deal tho owner of that card H*2 projectile damage, then put that card into play in their area. If no cards are revealed this way The puffer fish deals all hero targets H+1 sonic damage.\n\n If The Puffer Fish has 0 or less hp immediately flip this card.",
|
||||
"advanced": "At the end of the villian turn play the top card of the environment deck.",
|
||||
"back": {
|
||||
"title": " Dance to the Beat",
|
||||
"gameplay": "When flipped to this side the Puffer Fish regains all his hp, place all cards beneath this card into the respective players hands, and destroy all but 1 of each hero's equipment cards in play. \n\nVillian Ongoing cards are indestructible. \n\nStart of the villian turn: Reveal cards from each hero deck until one ongoing is revealed and put it into play. Shuffle the other revealed cards back into the deck. \n\nIf any hero ever has more than 2 ongoing cards in play, destroy all but the newest 2 Ongoing cards.",
|
||||
"advanced": "At the end of the villian turn the puffer fish deals each hero target 2 sonic damage."}}],
|
||||
"deck": [
|
||||
{"count": 3, "keywords": "Instrument", "name": "Horn", "text": "At the end of the villian turn this card deals the hero with the highest HP H sonic damage.", "hp": 6, "artist": "Art By Adam", "quote": "Vuuuu Vuuuu", "quoteCitation": "- Horn"},
|
||||
{"count": 3, "keywords": "Instrument", "name": "Harp", "text": "At the end of the villian turn this card deals the hero with the second highest HP H-1 sonic damage and they discard a card.", "hp": 5, "artist": "Art By Adam", "quote": "Tlllinggg", "quoteCitation": "- The Harp"},
|
||||
{"count": 2, "keywords": "Instrument", "name": "Flute", "text": "At the end of the villian turn this card deals all hero targets 2 sonic damage and each player discards a card.", "hp": 4, "artist": "Art By Adam", "quote": "Fffuuu Ffwaaaa", "quoteCitation": "- The Flute"},
|
||||
{"count": 1, "keywords": "Instrument", "name": "Drums", "text": "Reduce damage this card takes by 1 \n\nAt the Start of the villian turn this card destroys all hero targets with 6 or fewer HP and deals the hero with the second lowest HP 3 sonic damage.", "hp": 5, "artist": "Art By Adam", "quote": "Dumm Domm Dumm", "quoteCitation": "- The Drums"},
|
||||
{"count": 2, "keywords": "Instrument", "name": "Piano", "text": "At the end of the villian turn play the top card of the environment deck.", "hp": 8, "artist": "Art By Adam", "quote": "Pingg Pongg Panngggg", "quoteCitation": "- The Piano"},
|
||||
{"count": 2, "keywords": "One-shot", "name": "Endless Music", "text": "Remove H-1 hero equipment in play from the game. If no cards are removed this way deal the hero with the highest HP H+2 projectile damage."},
|
||||
{"count": 3, "keywords": "One-shot", "name": "Instrument Case", "text": "Place 2 random instruments from the trash into play. \n\nIf no instruments are played this way reveal cards from the top of the villian deck until H-2 instruments are revealed and put them into play. Shuffle the villian deck."},
|
||||
{"count": 3, "keywords": "One-shot", "name": "Deep Breath", "text": "The Puffer Fish regains H*2 hp. \n\nThen if the Puffer Fish is at full hp play the top card of the villian deck."},
|
||||
{"count": 1, "keywords": "Ongoing", "name": "Synchronized Dancing", "text": "Play the top card of the villian deck \n\n.At the end of the villian turn play the top card of the envorment deck."},
|
||||
{"count": 1, "keywords": "Ongoing", "name": "Encore", "text": "At the end of the villian turn play the top card of the villian deck."},
|
||||
{"count": 2, "keywords": "Ongoing", "name": "Not Your Style?", "text": "Play the top card of the villian deck \n\n.At the end of the villian turn the hero with the lowest HP deals themselves 2 psychic damage."},
|
||||
{"count": 1, "keywords": "Ongoing", "name": "Fine Polish", "text": "Play the top card of the villian deck. \n\nReduce damage instruments take by 1."},
|
||||
{"count": 1, "keywords": "Ongoing", "name": "Cheering Audience", "text": "Play the top card of the villian deck. \n\nVillian targets are immune to damage dealt by environment cards."}
|
||||
]
|
||||
}
|
27
testInputs/deckBuild.json
Normal file
27
testInputs/deckBuild.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "Deck Builder",
|
||||
"type": "hero",
|
||||
"character": [{"hp": 42,
|
||||
"power": "Refill",
|
||||
"powerText": "Power: Discard your hand and draw 3 cards",
|
||||
"incapacitated": "{incapacitated effect 1\n{incapacitated effect 2"}],
|
||||
"deck": [
|
||||
{"count": 6, "name": "[Starter] Money", "keywords": "Oneshot", "text": "Gain 1 money.\nYou may play a card."},
|
||||
{"count": 2, "name": "[Starter] Damage", "keywords": "Oneshot", "text": "Deal 1 target 1 damage.\nYou may play a card."},
|
||||
|
||||
{"count": 2, "name": "[2] Environment destruction", "keywords": "Oneshot", "text": "Destroy an environment card.\nYou may play a card."},
|
||||
{"count": 2, "name": "[2] High Damage", "keywords": "Oneshot", "text": "Deal 1 target 3 damage.\nYou may play a card."},
|
||||
{"count": 2, "name": "[3] Group Damage", "keywords": "Oneshot", "text": "Deal 3 targets 1 damage.\nYou may play a card."},
|
||||
{"count": 2, "name": "[4] Mass Damage", "keywords": "Oneshot", "text": "Deal all villain targets 1 damage.\nYou may play a card."},
|
||||
{"count": 3, "name": "[2] Heal", "keywords": "Oneshot", "text": "Heal 1 target for 2 HP.\nYou may play a card."},
|
||||
{"count": 2, "name": "[6] Mass Heal", "keywords": "Oneshot", "text": "Heal 3 hero targets for 1 HP.\nYou may play a card.\n\nYou may remove this card from your deck to increase this by 2 HP"},
|
||||
{"count": 1, "name": "[2] Card Destruction", "keywords": "Oneshot", "text": "Remove 1 card in your hand or discard pile from your deck.\nYou may play a card."},
|
||||
{"count": 4, "name": "[1] Cheap Money", "keywords": "Oneshot", "text": "Gain 1 money.\nYou may draw a card.\nYou may play a card."},
|
||||
{"count": 4, "name": "[4] More Money", "keywords": "Oneshot", "text": "Gain 3 money.\nYou may play a card."},
|
||||
{"count": 2, "name": "[4] Tank", "keywords": "Oneshot", "text": "Until the start of the next turn, all damage is redirected towards the Deck Builder.\nYou may play a card."},
|
||||
{"count": 2, "name": "[4] ", "keywords": "Oneshot", "text": "Until the start of the next turn, all damage is redirected towards the Deck Builder.\nYou may play a card."},
|
||||
|
||||
{"count": 2, "name": "[6] Damage Increase", "keywords": "Equipment", "text": "Increase all damage dealt by the Deck Builder by 1."},
|
||||
|
||||
{"count": 5, "name": "[2] Junk", "keywords": "Oneshot", "text": "Gain 2 money.\nYou may play a card.\nYou may return this card to the junk deck to deal 1 target 2 damage."}]
|
||||
}
|
6
testInputs/environmentExample.json
Normal file
6
testInputs/environmentExample.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"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"}]
|
||||
}
|
13
testInputs/heroExample.json
Normal file
13
testInputs/heroExample.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"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"}
|
||||
]
|
||||
}
|
27
testInputs/villainExample.json
Normal file
27
testInputs/villainExample.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "Villain Example",
|
||||
"type": "villain",
|
||||
"character": [
|
||||
{"name": "Test",
|
||||
"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"}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user