mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
Updated Rarities and tags
Fixes #3 Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
771c5482af
commit
fdc3074118
@ -1,2 +1 @@
|
|||||||
*.ts
|
test.js
|
||||||
text.js
|
|
||||||
|
@ -2,29 +2,15 @@ import { List } from "./General"
|
|||||||
import { CardSimple } from "./Card"
|
import { CardSimple } from "./Card"
|
||||||
|
|
||||||
export enum Rarity {
|
export enum Rarity {
|
||||||
Common,
|
NONE,
|
||||||
Uncommon,
|
COMMON,
|
||||||
Rare,
|
UNCOMMON,
|
||||||
|
RARE,
|
||||||
|
|
||||||
// Rare holo
|
// Both RAREULTRA and ULTRARARE are the same until I know the correct name
|
||||||
RareHolo,
|
RAREULTRA = 4,
|
||||||
RareHoloEX,
|
ULTRARARE = 4
|
||||||
RareHoloGX,
|
|
||||||
RareHoloLvX,
|
|
||||||
|
|
||||||
// Rare other
|
|
||||||
RareUltra,
|
|
||||||
RarePrime,
|
|
||||||
RareACE,
|
|
||||||
RareBREAK,
|
|
||||||
RareRainbow,
|
|
||||||
|
|
||||||
// Other
|
|
||||||
LEGEND,
|
|
||||||
|
|
||||||
// V & Vmax
|
|
||||||
RareV,
|
|
||||||
RareVMAX,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Rarity
|
export default Rarity
|
||||||
|
@ -65,6 +65,21 @@ enum Tag {
|
|||||||
* Card is full art (art is not in the frame)
|
* Card is full art (art is not in the frame)
|
||||||
*/
|
*/
|
||||||
ISFULLART,
|
ISFULLART,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PRIME Pokemon
|
||||||
|
*/
|
||||||
|
PRIME,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ACE Pokemon
|
||||||
|
*/
|
||||||
|
ACE,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Card is "rainbow"
|
||||||
|
*/
|
||||||
|
RAINBOW,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Tag
|
export default Tag
|
||||||
|
@ -2,46 +2,20 @@ import { translations } from "../TranslationUtil"
|
|||||||
|
|
||||||
const translations: translations = {
|
const translations: translations = {
|
||||||
en: [
|
en: [
|
||||||
|
"No rarity",
|
||||||
"Common",
|
"Common",
|
||||||
"unCommon",
|
"unCommon",
|
||||||
"Rare",
|
"Rare",
|
||||||
|
|
||||||
"Rare Holo",
|
|
||||||
"Rare Holo EX",
|
|
||||||
"Rare Holo GX",
|
|
||||||
"Rare Holo Lv.X",
|
|
||||||
|
|
||||||
"Rare Ultra",
|
"Rare Ultra",
|
||||||
"Rare Prime",
|
"Ultra Rare",
|
||||||
"Rare ACE",
|
|
||||||
"Rare BREAK",
|
|
||||||
"Rainbow Rare",
|
|
||||||
|
|
||||||
"LEGEND",
|
|
||||||
|
|
||||||
"V",
|
|
||||||
"VMax"
|
|
||||||
],
|
],
|
||||||
fr: [
|
fr: [
|
||||||
|
"Sans rareté",
|
||||||
"Commun",
|
"Commun",
|
||||||
"Non Commun",
|
"Non Commun",
|
||||||
"Rare",
|
"Rare",
|
||||||
|
|
||||||
"Rare Holo",
|
|
||||||
"Rare Holo EX",
|
|
||||||
"Rare Holo GX",
|
|
||||||
"Rare Holo Lv.X",
|
|
||||||
|
|
||||||
"Rare Ultra",
|
"Rare Ultra",
|
||||||
"Rare Prime",
|
"Ultra Rare",
|
||||||
"Rare ACE",
|
|
||||||
"Rare BREAK",
|
|
||||||
"Rainbow Rare",
|
|
||||||
|
|
||||||
"LEGEND",
|
|
||||||
|
|
||||||
"V",
|
|
||||||
"VMax"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
export default translations
|
export default translations
|
||||||
|
@ -23,7 +23,10 @@ const translations: translations = {
|
|||||||
"Technical Machine",
|
"Technical Machine",
|
||||||
"Tool",
|
"Tool",
|
||||||
"Pokémon V",
|
"Pokémon V",
|
||||||
"Pokémon VMAX"
|
"Pokémon VMAX",
|
||||||
|
"Prime",
|
||||||
|
"ACE",
|
||||||
|
"Rainbow",
|
||||||
],
|
],
|
||||||
fr: [
|
fr: [
|
||||||
"Pokémon de base",
|
"Pokémon de base",
|
||||||
@ -47,7 +50,10 @@ const translations: translations = {
|
|||||||
"Machine Technique",
|
"Machine Technique",
|
||||||
"Outil",
|
"Outil",
|
||||||
"Pokémon V",
|
"Pokémon V",
|
||||||
"Pokémon VMAX"
|
"Pokémon VMAX",
|
||||||
|
"Prime",
|
||||||
|
"ACE",
|
||||||
|
"Arc en ciel",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
export default translations
|
export default translations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user