Skip to content

Commit f5abecf

Browse files
committed
Merge PR tcgdex#1018 (variant stamp details refactor)
# Conflicts: # interfaces.d.ts # meta/translations/de.json # meta/translations/es.json # meta/translations/fr.json # meta/translations/it.json # meta/translations/pt.json
2 parents a49162a + 7a2632d commit f5abecf

File tree

17 files changed

+238
-96
lines changed

17 files changed

+238
-96
lines changed

data/Diamond & Pearl/DP Black Star Promos/DP05.ts

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,52 @@ const card: Card = {
2121
variants: [
2222
{
2323
type: "normal",
24-
stamp: ["worlds-2007"],
24+
stamp: [{
25+
stamp: "worlds",
26+
year: 2007
27+
}],
2528
},
2629
{
2730
type: "normal",
28-
stamp: ["worlds-2007","finalist"],
31+
stamp: [{
32+
stamp: "worlds",
33+
year: 2007
34+
}, "finalist"],
2935
},
3036
{
3137
type: "normal",
32-
stamp: ["worlds-2007","quarter-finalist"],
38+
stamp: [{
39+
stamp: "worlds",
40+
year: 2007
41+
}, "quarter-finalist"],
3342
},
3443
{
3544
type: "normal",
36-
stamp: ["worlds-2007","semi-finalist"],
45+
stamp: [{
46+
stamp: "worlds",
47+
year: 2007
48+
}, "semi-finalist"],
3749
},
3850
{
3951
type: "normal",
40-
stamp: ["worlds-2007","staff"],
52+
stamp: [{
53+
stamp: "worlds",
54+
year: 2007
55+
}, "staff"],
4156
},
4257
{
4358
type: "normal",
44-
stamp: ["worlds-2007","top-sixteen"],
59+
stamp: [{
60+
stamp: "worlds",
61+
year: 2007
62+
}, "top-sixteen"],
4563
},
4664
{
4765
type: "normal",
48-
stamp: ["worlds-2007","top-thirty-two"],
66+
stamp: [{
67+
stamp: "worlds",
68+
year: 2007
69+
}, "top-thirty-two"],
4970
},
5071
],
5172
}

data/Diamond & Pearl/DP Black Star Promos/DP25.ts

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,52 @@ const card: Card = {
2121
variants: [
2222
{
2323
type: "normal",
24-
stamp: ["worlds-2008"],
24+
stamp: [{
25+
stamp: "worlds",
26+
year: 2008
27+
}],
2528
},
2629
{
2730
type: "normal",
28-
stamp: ["worlds-2008","finalist"],
31+
stamp: [{
32+
stamp: "worlds",
33+
year: 2008
34+
}, "finalist"],
2935
},
3036
{
3137
type: "normal",
32-
stamp: ["worlds-2008","quarter-finalist"],
38+
stamp: [{
39+
stamp: "worlds",
40+
year: 2008
41+
}, "quarter-finalist"],
3342
},
3443
{
3544
type: "normal",
36-
stamp: ["worlds-2008","semi-finalist"],
45+
stamp: [{
46+
stamp: "worlds",
47+
year: 2008
48+
}, "semi-finalist"],
3749
},
3850
{
3951
type: "normal",
40-
stamp: ["worlds-2008","staff"],
52+
stamp: [{
53+
stamp: "worlds",
54+
year: 2008
55+
}, "staff"],
4156
},
4257
{
4358
type: "normal",
44-
stamp: ["worlds-2008","top-sixteen"],
59+
stamp: [{
60+
stamp: "worlds",
61+
year: 2008
62+
}, "top-sixteen"],
4563
},
4664
{
4765
type: "normal",
48-
stamp: ["worlds-2008","top-thirty-two"],
66+
stamp: [{
67+
stamp: "worlds",
68+
year: 2008
69+
}, "top-thirty-two"],
4970
},
5071
],
5172
}

data/Diamond & Pearl/DP Black Star Promos/DP48.ts

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,52 @@ const card: Card = {
2121
variants: [
2222
{
2323
type: "normal",
24-
stamp: ["worlds-2009"],
24+
stamp: [{
25+
stamp: "worlds",
26+
year: 2009
27+
}],
2528
},
2629
{
2730
type: "normal",
28-
stamp: ["worlds-2009","finalist"],
31+
stamp: [{
32+
stamp: "worlds",
33+
year: 2009
34+
}, "finalist"],
2935
},
3036
{
3137
type: "normal",
32-
stamp: ["worlds-2009","quarter-finalist"],
38+
stamp: [{
39+
stamp: "worlds",
40+
year: 2009
41+
}, "quarter-finalist"],
3342
},
3443
{
3544
type: "normal",
36-
stamp: ["worlds-2009","semi-finalist"],
45+
stamp: [{
46+
stamp: "worlds",
47+
year: 2009
48+
}, "semi-finalist"],
3749
},
3850
{
3951
type: "normal",
40-
stamp: ["worlds-2009","staff"],
52+
stamp: [{
53+
stamp: "worlds",
54+
year: 2009
55+
}, "staff"],
4156
},
4257
{
4358
type: "normal",
44-
stamp: ["worlds-2009","top-sixteen"],
59+
stamp: [{
60+
stamp: "worlds",
61+
year: 2009
62+
}, "top-sixteen"],
4563
},
4664
{
4765
type: "normal",
48-
stamp: ["worlds-2009","top-thirty-two"],
66+
stamp: [{
67+
stamp: "worlds",
68+
year: 2009
69+
}, "top-thirty-two"],
4970
},
5071
],
5172
}

data/Diamond & Pearl/Secret Wonders/106.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,17 @@ const card: Card = {
8080
},
8181
{
8282
type: "normal",
83-
stamp: ["origins-2008"]
83+
stamp: [{
84+
stamp: "origins",
85+
year: 2008
86+
}]
8487
},
8588
{
8689
type: "normal",
87-
stamp: ["origins-2008","staff"]
90+
stamp: [{
91+
stamp: "origins",
92+
year: 2008
93+
}, "staff"]
8894
}
8995
]
9096
}

data/HeartGold & SoulSilver/HGSS Black Star Promos/HGSS18.ts

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,52 @@ const card: Card = {
2121
variants: [
2222
{
2323
type: "normal",
24-
stamp: ["worlds-2010"]
24+
stamp: [{
25+
stamp: "worlds",
26+
year: 2010
27+
}]
2528
},
2629
{
2730
type: "normal",
28-
stamp: ["worlds-2010","staff"]
31+
stamp: [{
32+
stamp: "worlds",
33+
year: 2010
34+
}, "staff"]
2935
},
3036
{
3137
type: "normal",
32-
stamp: ["worlds-2010","finalist"]
38+
stamp: [{
39+
stamp: "worlds",
40+
year: 2010
41+
}, "finalist"]
3342
},
3443
{
3544
type: "normal",
36-
stamp: ["worlds-2010","quarter-finalist"]
45+
stamp: [{
46+
stamp: "worlds",
47+
year: 2010
48+
}, "quarter-finalist"]
3749
},
3850
{
3951
type: "normal",
40-
stamp: ["worlds-2010", "semi-finalist"]
52+
stamp: [{
53+
stamp: "worlds",
54+
year: 2010
55+
}, "semi-finalist"]
4156
},
4257
{
4358
type: "normal",
44-
stamp: ["worlds-2010", "top-sixteen"]
59+
stamp: [{
60+
stamp: "worlds",
61+
year: 2010
62+
}, "top-sixteen"]
4563
},
4664
{
4765
type: "normal",
48-
stamp: ["worlds-2010", "top-thirty-two"]
66+
stamp: [{
67+
stamp: "worlds",
68+
year: 2010
69+
}, "top-thirty-two"]
4970
},
5071
]
5172

data/Scarlet & Violet/SVP Black Star Promos/213.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const card: Card = {
2525

2626
attacks: [
2727
{
28-
cost: ["Water","Water","Water","Colorless"],
28+
cost: ["Water", "Water", "Water", "Colorless"],
2929
name: {
3030
en: "Deep Submergence",
3131
},
@@ -50,7 +50,10 @@ const card: Card = {
5050
variants: [
5151
{
5252
type: "normal",
53-
stamp: ["illustration-contest-2024"]
53+
stamp: [{
54+
stamp: "illustration-contest",
55+
year: 2024
56+
}]
5457
},
5558
]
5659
}

data/Scarlet & Violet/SVP Black Star Promos/214.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ const card: Card = {
4040
variants: [
4141
{
4242
type: "normal",
43-
stamp: ["illustration-contest-2024"]
43+
stamp: [{
44+
stamp: "illustration-contest",
45+
year: 2024
46+
}]
4447
},
4548
]
4649
}

data/Scarlet & Violet/SVP Black Star Promos/215.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ const card: Card = {
5151
variants: [
5252
{
5353
type: "normal",
54-
stamp: ["illustration-contest-2024"]
54+
stamp: [{
55+
stamp: "illustration-contest",
56+
year: 2024
57+
}]
5558
},
5659
]
5760
}

data/Scarlet & Violet/SVP Black Star Promos/224.ts

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,52 @@ const card: Card = {
2020
variants: [
2121
{
2222
type: "normal",
23-
stamp: ["worlds-2025"]
23+
stamp: [{
24+
stamp: "worlds",
25+
year: 2025
26+
}]
2427
},
2528
{
2629
type: "normal",
27-
stamp: ["worlds-2025","staff"]
30+
stamp: [{
31+
stamp: "worlds",
32+
year: 2025
33+
}, "staff"]
2834
},
2935
{
3036
type: "normal",
31-
stamp: ["worlds-2025","top-thirty-two"]
37+
stamp: [{
38+
stamp: "worlds",
39+
year: 2025
40+
}, "top-thirty-two"]
3241
},
3342
{
3443
type: "normal",
35-
stamp: ["worlds-2025","top-sixteen"]
44+
stamp: [{
45+
stamp: "worlds",
46+
year: 2025
47+
}, "top-sixteen"]
3648
},
3749
{
3850
type: "normal",
39-
stamp: ["worlds-2025","top-eight"]
51+
stamp: [{
52+
stamp: "worlds",
53+
year: 2025
54+
}, "top-eight"]
4055
},
4156
{
4257
type: "normal",
43-
stamp: ["worlds-2025","semi-finalist"]
58+
stamp: [{
59+
stamp: "worlds",
60+
year: 2025
61+
}, "semi-finalist"]
4462
},
4563
{
4664
type: "normal",
47-
stamp: ["worlds-2025","finalist"]
65+
stamp: [{
66+
stamp: "worlds",
67+
year: 2025
68+
}, "finalist"]
4869
},
4970
]
5071
}

data/Scarlet & Violet/SVP Black Star Promos/225.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ const card: Card = {
1717

1818
attacks: [
1919
{
20-
cost: ["Lightning","Lightning","Colorless"],
20+
cost: ["Lightning", "Lightning", "Colorless"],
2121
name: {
2222
en: "Scrappy Spark",
2323
},
2424
effect: {
25-
en: "Flip a coin until you get tails. This attack does 30 more damage for each heads."
25+
en: "Flip a coin until you get tails. This attack does 30 more damage for each heads."
2626
},
2727
damage: "30+"
2828
},
@@ -41,7 +41,10 @@ const card: Card = {
4141
variants: [
4242
{
4343
type: "normal",
44-
stamp: ["worlds-2025"]
44+
stamp: [{
45+
stamp: "worlds",
46+
year: 2025
47+
}]
4548
},
4649
{
4750
type: "reverse",

0 commit comments

Comments
 (0)