diff --git a/.npmignore b/.npmignore index 118977d..daa6029 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1 @@ -*.ts -text.js +test.js diff --git a/interfaces/Rarity.ts b/interfaces/Rarity.ts index d90fbdf..53681fd 100644 --- a/interfaces/Rarity.ts +++ b/interfaces/Rarity.ts @@ -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 diff --git a/interfaces/Tag.ts b/interfaces/Tag.ts index db4a0b2..4fe9983 100644 --- a/interfaces/Tag.ts +++ b/interfaces/Tag.ts @@ -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 diff --git a/translations/rarity.ts b/translations/rarity.ts index 41545a2..b01619a 100644 --- a/translations/rarity.ts +++ b/translations/rarity.ts @@ -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 diff --git a/translations/tag.ts b/translations/tag.ts index 479711f..a1939a1 100644 --- a/translations/tag.ts +++ b/translations/tag.ts @@ -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