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
|
||||
text.js
|
||||
test.js
|
||||
|
@ -2,29 +2,15 @@ import { List } from "./General"
|
||||
import { CardSimple } from "./Card"
|
||||
|
||||
export enum Rarity {
|
||||
Common,
|
||||
Uncommon,
|
||||
Rare,
|
||||
NONE,
|
||||
COMMON,
|
||||
UNCOMMON,
|
||||
RARE,
|
||||
|
||||
// Rare holo
|
||||
RareHolo,
|
||||
RareHoloEX,
|
||||
RareHoloGX,
|
||||
RareHoloLvX,
|
||||
// Both RAREULTRA and ULTRARARE are the same until I know the correct name
|
||||
RAREULTRA = 4,
|
||||
ULTRARARE = 4
|
||||
|
||||
// Rare other
|
||||
RareUltra,
|
||||
RarePrime,
|
||||
RareACE,
|
||||
RareBREAK,
|
||||
RareRainbow,
|
||||
|
||||
// Other
|
||||
LEGEND,
|
||||
|
||||
// V & Vmax
|
||||
RareV,
|
||||
RareVMAX,
|
||||
}
|
||||
|
||||
export default Rarity
|
||||
|
@ -65,6 +65,21 @@ enum Tag {
|
||||
* Card is full art (art is not in the frame)
|
||||
*/
|
||||
ISFULLART,
|
||||
|
||||
/**
|
||||
* PRIME Pokemon
|
||||
*/
|
||||
PRIME,
|
||||
|
||||
/**
|
||||
* ACE Pokemon
|
||||
*/
|
||||
ACE,
|
||||
|
||||
/**
|
||||
* Card is "rainbow"
|
||||
*/
|
||||
RAINBOW,
|
||||
}
|
||||
|
||||
export default Tag
|
||||
|
@ -2,46 +2,20 @@ import { translations } from "../TranslationUtil"
|
||||
|
||||
const translations: translations = {
|
||||
en: [
|
||||
"No rarity",
|
||||
"Common",
|
||||
"unCommon",
|
||||
"Rare",
|
||||
|
||||
"Rare Holo",
|
||||
"Rare Holo EX",
|
||||
"Rare Holo GX",
|
||||
"Rare Holo Lv.X",
|
||||
|
||||
"Rare Ultra",
|
||||
"Rare Prime",
|
||||
"Rare ACE",
|
||||
"Rare BREAK",
|
||||
"Rainbow Rare",
|
||||
|
||||
"LEGEND",
|
||||
|
||||
"V",
|
||||
"VMax"
|
||||
"Ultra Rare",
|
||||
],
|
||||
fr: [
|
||||
"Sans rareté",
|
||||
"Commun",
|
||||
"Non Commun",
|
||||
"Rare",
|
||||
|
||||
"Rare Holo",
|
||||
"Rare Holo EX",
|
||||
"Rare Holo GX",
|
||||
"Rare Holo Lv.X",
|
||||
|
||||
"Rare Ultra",
|
||||
"Rare Prime",
|
||||
"Rare ACE",
|
||||
"Rare BREAK",
|
||||
"Rainbow Rare",
|
||||
|
||||
"LEGEND",
|
||||
|
||||
"V",
|
||||
"VMax"
|
||||
"Ultra Rare",
|
||||
]
|
||||
}
|
||||
export default translations
|
||||
|
@ -23,7 +23,10 @@ const translations: translations = {
|
||||
"Technical Machine",
|
||||
"Tool",
|
||||
"Pokémon V",
|
||||
"Pokémon VMAX"
|
||||
"Pokémon VMAX",
|
||||
"Prime",
|
||||
"ACE",
|
||||
"Rainbow",
|
||||
],
|
||||
fr: [
|
||||
"Pokémon de base",
|
||||
@ -47,7 +50,10 @@ const translations: translations = {
|
||||
"Machine Technique",
|
||||
"Outil",
|
||||
"Pokémon V",
|
||||
"Pokémon VMAX"
|
||||
"Pokémon VMAX",
|
||||
"Prime",
|
||||
"ACE",
|
||||
"Arc en ciel",
|
||||
]
|
||||
}
|
||||
export default translations
|
||||
|
Loading…
x
Reference in New Issue
Block a user