Updated Rarities and tags

Fixes #3

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2020-05-01 23:59:58 +02:00
parent 771c5482af
commit fdc3074118
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16
5 changed files with 35 additions and 55 deletions

View File

@ -1,2 +1 @@
*.ts test.js
text.js

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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