From 45354ecbb3139feebf99cb7ac89143f125318e3b Mon Sep 17 00:00:00 2001 From: Avior Date: Tue, 9 Nov 2021 12:20:40 +0100 Subject: [PATCH] feat: Start to add new decks Signed-off-by: Avior --- data/Base/Base Set 2/Decks/Grass Chopper.ts | 14 ++++++++++++++ data/Base/Base Set 2/Decks/Hot Water.ts | 14 ++++++++++++++ data/Base/Base Set 2/Decks/Lightning Bug.ts | 14 ++++++++++++++ data/Base/Base Set 2/Decks/Psych Out.ts | 14 ++++++++++++++ data/Base/Base Set/decks/Blackout.ts | 14 ++++++++++++++ data/Base/Base Set/decks/Brushfire.ts | 14 ++++++++++++++ data/Base/Base Set/decks/Overgrowth.ts | 14 ++++++++++++++ data/Base/Base Set/decks/Zap!.ts | 14 ++++++++++++++ data/Base/Fossil/Decks/BodyGuard.ts | 14 ++++++++++++++ data/Base/Fossil/Decks/LockDown.ts | 14 ++++++++++++++ data/Base/Jungle/decks/Power Reserve.ts | 14 ++++++++++++++ data/Base/Jungle/decks/Water Blast.ts | 14 ++++++++++++++ data/Base/Team Rocket/decks/Devastation.ts | 14 ++++++++++++++ data/Base/Team Rocket/decks/Grass Chopper.ts | 14 ++++++++++++++ .../Noble Victories/Decks/Fast Daze.ts | 6 +++--- interfaces.d.ts | 3 ++- 16 files changed, 201 insertions(+), 4 deletions(-) create mode 100644 data/Base/Base Set 2/Decks/Grass Chopper.ts create mode 100644 data/Base/Base Set 2/Decks/Hot Water.ts create mode 100644 data/Base/Base Set 2/Decks/Lightning Bug.ts create mode 100644 data/Base/Base Set 2/Decks/Psych Out.ts create mode 100644 data/Base/Base Set/decks/Blackout.ts create mode 100644 data/Base/Base Set/decks/Brushfire.ts create mode 100644 data/Base/Base Set/decks/Overgrowth.ts create mode 100644 data/Base/Base Set/decks/Zap!.ts create mode 100644 data/Base/Fossil/Decks/BodyGuard.ts create mode 100644 data/Base/Fossil/Decks/LockDown.ts create mode 100644 data/Base/Jungle/decks/Power Reserve.ts create mode 100644 data/Base/Jungle/decks/Water Blast.ts create mode 100644 data/Base/Team Rocket/decks/Devastation.ts create mode 100644 data/Base/Team Rocket/decks/Grass Chopper.ts diff --git a/data/Base/Base Set 2/Decks/Grass Chopper.ts b/data/Base/Base Set 2/Decks/Grass Chopper.ts new file mode 100644 index 0000000000..33941a9bd2 --- /dev/null +++ b/data/Base/Base Set 2/Decks/Grass Chopper.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set 2" + +const deck: Deck = { + id: "td.base4.gc", + name: { + en: "Grass Chopper" + }, + set: Set, + typesFocus: ["Fighting", "Grass"], + cards: [] +} + +export default deck diff --git a/data/Base/Base Set 2/Decks/Hot Water.ts b/data/Base/Base Set 2/Decks/Hot Water.ts new file mode 100644 index 0000000000..cd14f1e4e9 --- /dev/null +++ b/data/Base/Base Set 2/Decks/Hot Water.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set 2" + +const deck: Deck = { + id: "td.base4.hw", + name: { + en: "Hot Water" + }, + set: Set, + typesFocus: ["Fire", "Water"], + cards: [] +} + +export default deck diff --git a/data/Base/Base Set 2/Decks/Lightning Bug.ts b/data/Base/Base Set 2/Decks/Lightning Bug.ts new file mode 100644 index 0000000000..432053e432 --- /dev/null +++ b/data/Base/Base Set 2/Decks/Lightning Bug.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set 2" + +const deck: Deck = { + id: "td.base4.lg", + name: { + en: "Lightning Bug" + }, + set: Set, + typesFocus: ["Lightning", "Grass"], + cards: [] +} + +export default deck diff --git a/data/Base/Base Set 2/Decks/Psych Out.ts b/data/Base/Base Set 2/Decks/Psych Out.ts new file mode 100644 index 0000000000..676039aec2 --- /dev/null +++ b/data/Base/Base Set 2/Decks/Psych Out.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set 2" + +const deck: Deck = { + id: "td.base4.po", + name: { + en: "Psych Out" + }, + set: Set, + typesFocus: ["Psychic", "Water"], + cards: [] +} + +export default deck diff --git a/data/Base/Base Set/decks/Blackout.ts b/data/Base/Base Set/decks/Blackout.ts new file mode 100644 index 0000000000..469380a547 --- /dev/null +++ b/data/Base/Base Set/decks/Blackout.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set" + +const deck: Deck = { + id: "td.base1.bl", + name: { + en: "Blackout" + }, + set: Set, + typesFocus: ["Water", "Fighting"], + cards: [] +} + +export default deck diff --git a/data/Base/Base Set/decks/Brushfire.ts b/data/Base/Base Set/decks/Brushfire.ts new file mode 100644 index 0000000000..72c3f7f275 --- /dev/null +++ b/data/Base/Base Set/decks/Brushfire.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set" + +const deck: Deck = { + id: "td.base1.br", + name: { + en: "Brushfire" + }, + set: Set, + typesFocus: ["Fire", "Grass"], + cards: [] +} + +export default deck diff --git a/data/Base/Base Set/decks/Overgrowth.ts b/data/Base/Base Set/decks/Overgrowth.ts new file mode 100644 index 0000000000..daf86e8d22 --- /dev/null +++ b/data/Base/Base Set/decks/Overgrowth.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set" + +const deck: Deck = { + id: "td.base1.ov", + name: { + en: "Overgrowth" + }, + set: Set, + typesFocus: ["Water", "Grass"], + cards: [] +} + +export default deck diff --git a/data/Base/Base Set/decks/Zap!.ts b/data/Base/Base Set/decks/Zap!.ts new file mode 100644 index 0000000000..6f350ef3c4 --- /dev/null +++ b/data/Base/Base Set/decks/Zap!.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set" + +const deck: Deck = { + id: "td.base1.za", + name: { + en: "Zap!" + }, + set: Set, + typesFocus: ["Lightning", "Psychic"], + cards: [] +} + +export default deck diff --git a/data/Base/Fossil/Decks/BodyGuard.ts b/data/Base/Fossil/Decks/BodyGuard.ts new file mode 100644 index 0000000000..1b2004170f --- /dev/null +++ b/data/Base/Fossil/Decks/BodyGuard.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Fossil" + +const deck: Deck = { + id: "td.base1.bd", + name: { + en: "BodyGuard" + }, + set: Set, + typesFocus: ["Grass", "Fighting"], + cards: [] +} + +export default deck diff --git a/data/Base/Fossil/Decks/LockDown.ts b/data/Base/Fossil/Decks/LockDown.ts new file mode 100644 index 0000000000..2999ecbbea --- /dev/null +++ b/data/Base/Fossil/Decks/LockDown.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Base Set" + +const deck: Deck = { + id: "td.base1.ld", + name: { + en: "LockDown" + }, + set: Set, + typesFocus: ["Fire", "Water"], + cards: [] +} + +export default deck diff --git a/data/Base/Jungle/decks/Power Reserve.ts b/data/Base/Jungle/decks/Power Reserve.ts new file mode 100644 index 0000000000..4e3eedb6a6 --- /dev/null +++ b/data/Base/Jungle/decks/Power Reserve.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Jungle" + +const deck: Deck = { + id: "td.base2.pr", + name: { + en: "Power Reserve" + }, + set: Set, + typesFocus: ["Psychic", "Grass"], + cards: [] +} + +export default deck diff --git a/data/Base/Jungle/decks/Water Blast.ts b/data/Base/Jungle/decks/Water Blast.ts new file mode 100644 index 0000000000..59efb55269 --- /dev/null +++ b/data/Base/Jungle/decks/Water Blast.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Jungle" + +const deck: Deck = { + id: "td.base2.wb", + name: { + en: "Water Blast" + }, + set: Set, + typesFocus: ["Water", "Fighting"], + cards: [] +} + +export default deck diff --git a/data/Base/Team Rocket/decks/Devastation.ts b/data/Base/Team Rocket/decks/Devastation.ts new file mode 100644 index 0000000000..4bb292382d --- /dev/null +++ b/data/Base/Team Rocket/decks/Devastation.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Team Rocket" + +const deck: Deck = { + id: "td.base4.de", + name: { + en: "Devastation" + }, + set: Set, + typesFocus: ["Grass", "Water"], + cards: [] +} + +export default deck diff --git a/data/Base/Team Rocket/decks/Grass Chopper.ts b/data/Base/Team Rocket/decks/Grass Chopper.ts new file mode 100644 index 0000000000..cc83009918 --- /dev/null +++ b/data/Base/Team Rocket/decks/Grass Chopper.ts @@ -0,0 +1,14 @@ +import { Deck } from "../../../../interfaces" +import Set from "../../Team Rocket" + +const deck: Deck = { + id: "td.base4.to", + name: { + en: "Trouble" + }, + set: Set, + typesFocus: ["Psychic", "Grass"], + cards: [] +} + +export default deck diff --git a/data/Black & White/Noble Victories/Decks/Fast Daze.ts b/data/Black & White/Noble Victories/Decks/Fast Daze.ts index a0c560db18..ea8aef93f5 100644 --- a/data/Black & White/Noble Victories/Decks/Fast Daze.ts +++ b/data/Black & White/Noble Victories/Decks/Fast Daze.ts @@ -1,12 +1,12 @@ import { Deck } from '../../../../interfaces' +import Set from "../../Noble Victories" const deck: Deck = { - id: 'deck.bw.nv.fd', - // id: 'd-bw3-1', - // id: 'card.bw.nv.1', + id: 'td.bw3.fd', name: { en: 'Fast Daze' }, + set: Set, typesFocus: ['Fire', 'Grass'], cards: [ { id: 'bw3-12', variant: 'holo' }, diff --git a/interfaces.d.ts b/interfaces.d.ts index 9276478214..bc72aedfe3 100644 --- a/interfaces.d.ts +++ b/interfaces.d.ts @@ -256,7 +256,8 @@ export interface Filter { } export interface Deck { - id: string + id: `td.${string}.${string}` + set: Set name: Languages typesFocus: Array cards: Array<{