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
text.js
test.js

View File

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

View File

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

View File

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

View File

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