@firestone-hs/reference-data 2.0.72 → 2.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,39 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RELIC_IDS = exports.LIBRAM_IDS = exports.WATCH_POST_IDS = exports.EXCAVATE_TREASURE_3_IDS = exports.EXCAVATE_TREASURE_2_IDS = exports.EXCAVATE_TREASURE_1_IDS = exports.COIN_IDS = void 0;
4
- exports.COIN_IDS = [
5
- "GAME_005",
6
- "AV_COIN1",
7
- "AV_COIN2",
8
- "BAR_COIN1",
9
- "BAR_COIN2",
10
- "BAR_COIN3",
11
- "BT_COIN",
12
- "DAL_COIN",
13
- "DMF_COIN1",
14
- "DMF_COIN2",
15
- "DRG_COIN",
16
- "REV_COIN1",
17
- "REV_COIN2",
18
- "RLK_COIN1",
19
- "RLK_COIN2",
20
- "SW_COIN1",
21
- "SW_COIN2",
22
- "TSC_COIN1",
23
- "TSC_COIN2",
24
- "ULD_COIN",
25
- "ETC_COIN1",
26
- "ETC_COIN2",
27
- "TOY_COIN1",
28
- "TOY_COIN2",
29
- "TOY_COIN3",
30
- "TTN_COIN1",
31
- "TTN_COIN2",
32
- "WW_COIN1",
33
- "WW_COIN2",
34
- "VAC_COIN1",
35
- "VAC_COIN2",
36
- ];
3
+ exports.RELIC_IDS = exports.LIBRAM_IDS = exports.WATCH_POST_IDS = exports.EXCAVATE_TREASURE_3_IDS = exports.EXCAVATE_TREASURE_2_IDS = exports.EXCAVATE_TREASURE_1_IDS = exports.isCoin = void 0;
4
+ const isCoin = (cardId, allCards) => {
5
+ var _a;
6
+ return (_a = allCards.getCard(cardId)) === null || _a === void 0 ? void 0 : _a.isCoin;
7
+ };
8
+ exports.isCoin = isCoin;
37
9
  exports.EXCAVATE_TREASURE_1_IDS = [
38
10
  "WW_001t4",
39
11
  "WW_001t3",
@@ -1 +1 @@
1
- {"version":3,"file":"reference-data.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-data.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCvB,CAAC;AAEW,QAAA,uBAAuB,GAAG;;;;;;;CAOtC,CAAC;AACW,QAAA,uBAAuB,GAAG;;;;;;;CAOtC,CAAC;AACW,QAAA,uBAAuB,GAAG;;;;;;;CAOtC,CAAC;AAEW,QAAA,cAAc,GAAG,iCAA6E,CAAC;AAE/F,QAAA,UAAU,GAAG;;;;;;;;;;CAUzB,CAAC;AAEW,QAAA,SAAS,GAAG,iCAAgF,CAAC","sourcesContent":["import { CardIds } from '../../card-ids';\r\n\r\nexport const COIN_IDS = [\r\n\tCardIds.TheCoinCore,\r\n\t// CardIds.TheCoin_AT_COIN,\r\n\tCardIds.TheCoin_AV_COIN1,\r\n\tCardIds.TheCoin_AV_COIN2,\r\n\tCardIds.TheCoin_BAR_COIN1,\r\n\tCardIds.TheCoin_BAR_COIN2,\r\n\tCardIds.TheCoin_BAR_COIN3,\r\n\tCardIds.TheCoin_BT_COIN,\r\n\tCardIds.TheCoin_DAL_COIN,\r\n\tCardIds.TheCoin_DMF_COIN1,\r\n\tCardIds.TheCoin_DMF_COIN2,\r\n\tCardIds.TheCoin_DRG_COIN,\r\n\tCardIds.TheCoin_REV_COIN1,\r\n\tCardIds.TheCoin_REV_COIN2,\r\n\tCardIds.TheCoin_RLK_COIN1,\r\n\tCardIds.TheCoin_RLK_COIN2,\r\n\tCardIds.TheCoin_SW_COIN1,\r\n\tCardIds.TheCoin_SW_COIN2,\r\n\tCardIds.TheCoin_TSC_COIN1,\r\n\tCardIds.TheCoin_TSC_COIN2,\r\n\tCardIds.TheCoin_ULD_COIN,\r\n\tCardIds.TheCoin_ETC_COIN1,\r\n\tCardIds.TheCoin_ETC_COIN2,\r\n\tCardIds.TheCoin_TOY_COIN1,\r\n\tCardIds.TheCoin_TOY_COIN2,\r\n\tCardIds.TheCoin_TOY_COIN3,\r\n\tCardIds.TheCoin_TTN_COIN1,\r\n\tCardIds.TheCoin_TTN_COIN2,\r\n\tCardIds.TheCoin_WW_COIN1,\r\n\tCardIds.TheCoin_WW_COIN2,\r\n\tCardIds.TheCoin_VAC_COIN1,\r\n\tCardIds.TheCoin_VAC_COIN2,\r\n];\r\n\r\nexport const EXCAVATE_TREASURE_1_IDS = [\r\n\tCardIds.KoboldMiner_EscapingTroggToken_WW_001t4,\r\n\tCardIds.KoboldMiner_FoolsAzeriteToken_WW_001t3,\r\n\tCardIds.KoboldMiner_PouchOfCoinsToken_WW_001t18,\r\n\tCardIds.KoboldMiner_RockToken_WW_001t,\r\n\tCardIds.KoboldMiner_WaterSourceToken_WW_001t2,\r\n\tCardIds.HeartblossomToken_DEEP_999t1,\r\n];\r\nexport const EXCAVATE_TREASURE_2_IDS = [\r\n\tCardIds.KoboldMiner_AzeriteChunkToken_WW_001t9,\r\n\tCardIds.KoboldMiner_CanaryToken_WW_001t7,\r\n\tCardIds.KoboldMiner_FallingStalactiteToken_WW_001t5,\r\n\tCardIds.KoboldMiner_GlowingGlyphToken_WW_001t8,\r\n\tCardIds.KoboldMiner_LivingStoneToken_WW_001t16,\r\n\tCardIds.DeepholmGeodeToken_DEEP_999t2,\r\n];\r\nexport const EXCAVATE_TREASURE_3_IDS = [\r\n\tCardIds.KoboldMiner_AzeriteGemToken_WW_001t14,\r\n\tCardIds.KoboldMiner_CollapseToken_WW_001t12,\r\n\tCardIds.KoboldMiner_MotherlodeDrakeToken_WW_001t17,\r\n\tCardIds.KoboldMiner_OgrefistBoulderToken_WW_001t11,\r\n\tCardIds.KoboldMiner_SteelhideMoleToken_WW_001t13,\r\n\tCardIds.WorldPillarFragmentToken_DEEP_999t3,\r\n];\r\n\r\nexport const WATCH_POST_IDS = [CardIds.FarWatchPost, CardIds.MorshanWatchPost, CardIds.CrossroadsWatchPost];\r\n\r\nexport const LIBRAM_IDS = [\r\n\tCardIds.LibramOfJustice_BT_011,\r\n\tCardIds.LibramOfJustice_Story_04_LibramofJustice,\r\n\tCardIds.LibramOfHope,\r\n\tCardIds.LibramOfWisdom_BT_025,\r\n\tCardIds.LibramOfWisdom_Story_01_LibramofWisdom,\r\n\tCardIds.LibramOfJudgment,\r\n\tCardIds.LibramOfJudgment_LibramOfJudgmentToken,\r\n\tCardIds.LibramOfHoliness,\r\n\tCardIds.LibramOfCompassion,\r\n];\r\n\r\nexport const RELIC_IDS = [CardIds.RelicOfDimensions, CardIds.RelicOfExtinction, CardIds.RelicOfPhantasms];\r\n"]}
1
+ {"version":3,"file":"reference-data.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-data.ts"],"names":[],"mappings":";;;AAGO,MAAM,MAAM,GAAG,CACrB,MAAwB,EACxB,QAAiE,EACvD,EAAE;;IACZ,OAAO,MAAA,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,0CAAE,MAAM,CAAC;AACzC,CAAC,CAAC;AALW,QAAA,MAAM,UAKjB;AAEW,QAAA,uBAAuB,GAAG;;;;;;;CAOtC,CAAC;AACW,QAAA,uBAAuB,GAAG;;;;;;;CAOtC,CAAC;AACW,QAAA,uBAAuB,GAAG;;;;;;;CAOtC,CAAC;AAEW,QAAA,cAAc,GAAG,iCAA6E,CAAC;AAE/F,QAAA,UAAU,GAAG;;;;;;;;;;CAUzB,CAAC;AAEW,QAAA,SAAS,GAAG,iCAAgF,CAAC","sourcesContent":["import { CardIds } from '../../card-ids';\r\nimport { ReferenceCard } from './reference-card';\r\n\r\nexport const isCoin = (\r\n\tcardId: string | CardIds,\r\n\tallCards: { getCard: (cardId: string | number) => ReferenceCard },\r\n): boolean => {\r\n\treturn allCards.getCard(cardId)?.isCoin;\r\n};\r\n\r\nexport const EXCAVATE_TREASURE_1_IDS = [\r\n\tCardIds.KoboldMiner_EscapingTroggToken_WW_001t4,\r\n\tCardIds.KoboldMiner_FoolsAzeriteToken_WW_001t3,\r\n\tCardIds.KoboldMiner_PouchOfCoinsToken_WW_001t18,\r\n\tCardIds.KoboldMiner_RockToken_WW_001t,\r\n\tCardIds.KoboldMiner_WaterSourceToken_WW_001t2,\r\n\tCardIds.HeartblossomToken_DEEP_999t1,\r\n];\r\nexport const EXCAVATE_TREASURE_2_IDS = [\r\n\tCardIds.KoboldMiner_AzeriteChunkToken_WW_001t9,\r\n\tCardIds.KoboldMiner_CanaryToken_WW_001t7,\r\n\tCardIds.KoboldMiner_FallingStalactiteToken_WW_001t5,\r\n\tCardIds.KoboldMiner_GlowingGlyphToken_WW_001t8,\r\n\tCardIds.KoboldMiner_LivingStoneToken_WW_001t16,\r\n\tCardIds.DeepholmGeodeToken_DEEP_999t2,\r\n];\r\nexport const EXCAVATE_TREASURE_3_IDS = [\r\n\tCardIds.KoboldMiner_AzeriteGemToken_WW_001t14,\r\n\tCardIds.KoboldMiner_CollapseToken_WW_001t12,\r\n\tCardIds.KoboldMiner_MotherlodeDrakeToken_WW_001t17,\r\n\tCardIds.KoboldMiner_OgrefistBoulderToken_WW_001t11,\r\n\tCardIds.KoboldMiner_SteelhideMoleToken_WW_001t13,\r\n\tCardIds.WorldPillarFragmentToken_DEEP_999t3,\r\n];\r\n\r\nexport const WATCH_POST_IDS = [CardIds.FarWatchPost, CardIds.MorshanWatchPost, CardIds.CrossroadsWatchPost];\r\n\r\nexport const LIBRAM_IDS = [\r\n\tCardIds.LibramOfJustice_BT_011,\r\n\tCardIds.LibramOfJustice_Story_04_LibramofJustice,\r\n\tCardIds.LibramOfHope,\r\n\tCardIds.LibramOfWisdom_BT_025,\r\n\tCardIds.LibramOfWisdom_Story_01_LibramofWisdom,\r\n\tCardIds.LibramOfJudgment,\r\n\tCardIds.LibramOfJudgment_LibramOfJudgmentToken,\r\n\tCardIds.LibramOfHoliness,\r\n\tCardIds.LibramOfCompassion,\r\n];\r\n\r\nexport const RELIC_IDS = [CardIds.RelicOfDimensions, CardIds.RelicOfExtinction, CardIds.RelicOfPhantasms];\r\n"]}
@@ -3250,7 +3250,7 @@ exports.RELATED_CARDS_DATA = {
3250
3250
  ["BG30_MagicItem_991"]: ["BG21_005"],
3251
3251
  ["BG30_MagicItem_869"]: ["BG29_873"],
3252
3252
  ["BG30_MagicItem_821"]: ["TB_BaconShop_HP_105t"],
3253
- ["BG30_MagicItem_821t2"]: ["TB_BaconShop_HP_105t"],
3253
+ ["BG30_MagicItem_821t2"]: ["TB_BaconUps_307"],
3254
3254
  ["BG30_MagicItem_548"]: ["BG23_008"],
3255
3255
  ["BG30_MagicItem_435"]: ["BG26_813t"],
3256
3256
  ["BG30_MagicItem_952"]: ["BG26_537"],
@@ -3260,6 +3260,10 @@ exports.RELATED_CARDS_DATA = {
3260
3260
  ["BG30_MagicItem_828"]: ["BG26_505"],
3261
3261
  ["BG30_MagicItem_825"]: ["BG21_013"],
3262
3262
  ["BG30_MagicItem_920"]: ["BG28_606"],
3263
+ ["CFM_668"]: [
3264
+ "CFM_668t",
3265
+ "CFM_668t2",
3266
+ ],
3263
3267
  };
3264
3268
  const getDynamicRelatedCardIds = (cardId, allCards, options) => {
3265
3269
  switch (cardId) {