warframe-worldstate-data 2.16.1 → 2.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -18854,5 +18854,89 @@
18854
18854
  },
18855
18855
  "/Lotus/Types/Gameplay/NarmerSorties/ArchonCrystalAmarMythic": {
18856
18856
  "value": "Tauforged Crimson Archon Shard"
18857
+ },
18858
+ "/Lotus/Types/Challenges/Calendar1999/CalendarKillEximusEasy": {
18859
+ "value": "EX-EXIMUS",
18860
+ "desc": "Kill 10 Eximus"
18861
+ },
18862
+ "/Lotus/Upgrades/Calendar/MagazineCapacity": {
18863
+ "value": "Heavy Mags",
18864
+ "desc": "Increase magazine capacity by 25%"
18865
+ },
18866
+ "/Lotus/Upgrades/Calendar/Armor": {
18867
+ "value": "Thick Skin",
18868
+ "desc": "Gain +250 Armor."
18869
+ },
18870
+ "/Lotus/Upgrades/Calendar/EnergyRestoration": {
18871
+ "value": "Espresso Shots",
18872
+ "desc": "Increase energy restoration by 2/s."
18873
+ },
18874
+ "/Lotus/Types/Challenges/Calendar1999/CalendarKillScaldraEnemiesEasy": {
18875
+ "value": "Punish Scaldra",
18876
+ "desc": "Kill 250 Scaldra Troops"
18877
+ },
18878
+ "/Lotus/StoreItems/Types/BoosterPacks/CalendarMajorArtifactPack": {
18879
+ "value": "Arcane Enhancements: Double Pack"
18880
+ },
18881
+ "/Lotus/StoreItems/Types/Gameplay/NarmerSorties/ArchonCrystalGreen": {
18882
+ "value": "Emerald Archon Shard"
18883
+ },
18884
+ "/Lotus/StoreItems/Types/Recipes/Components/WeaponUtilityUnlockerBlueprint": {
18885
+ "value": "Exilus Weapon Adapter Blueprint"
18886
+ },
18887
+ "/Lotus/Types/StoreItems/Packages/Calendar/CalendarKuvaBundleSmall": {
18888
+ "value": "2000 x Kuva"
18889
+ },
18890
+ "/Lotus/Types/Challenges/Calendar1999/CalendarKillEnemiesWithAbilitiesMedium": {
18891
+ "value": "Demonstration of power",
18892
+ "desc": "Kill 300 Enemies with Abilities"
18893
+ },
18894
+ "/Lotus/Types/Challenges/Calendar1999/CalendarKillScaldraEnemiesWithMeleeMedium": {
18895
+ "value": "Make it personal",
18896
+ "desc": "Kill 300 Scaldra Troops with Melee Weapons"
18897
+ },
18898
+ "/Lotus/Upgrades/Calendar/CompanionsBuffNearbyPlayer": {
18899
+ "value": "More the Merrier",
18900
+ "desc": "Non-Tenno Allies within 20m all gain +5% Melee Attack Speed and +20% Fire Rate for each one in range."
18901
+ },
18902
+ "/Lotus/Upgrades/Calendar/OrbsDuplicateOnPickup": {
18903
+ "value": "Targeted Medicine",
18904
+ "desc": "Shoot Health Orbs to pick them up. Health orbs now have 25% chance to duplicate when picked up."
18905
+ },
18906
+ "/Lotus/Upgrades/Calendar/FinisherChancePerComboMultiplier": {
18907
+ "value": "Combo Killer",
18908
+ "desc": "Combo Multiplier increases the chance of enemies being susceptible to finishers after a melee hit. 5% per Multiplier Max 65% with Venka Prime."
18909
+ },
18910
+ "/Lotus/StoreItems/Types/BoosterPacks/CalendarArtifactPack": {
18911
+ "value": "Arcane Enhancements"
18912
+ },
18913
+ "/Lotus/Types/Challenges/Calendar1999/CalendarKillTechrotEnemiesHard": {
18914
+ "value": "Purge the infection",
18915
+ "desc": "Kill 1,000 Techrot"
18916
+ },
18917
+ "/Lotus/StoreItems/Types/Items/MiscItems/WeaponSecondaryArcaneUnlocker": {
18918
+ "value": "Secondary Arcane Adapter"
18919
+ },
18920
+ "/Lotus/StoreItems/Upgrades/Mods/FusionBundles/CircuitSilverSteelPathFusionBundle": {
18921
+ "value": "6,000 Endo"
18922
+ },
18923
+ "/Lotus/Types/Challenges/Calendar1999/CalendarDestroyPropsMedium": {
18924
+ "value": "Starve the beast",
18925
+ "desc": "Destroy 150 Containers"
18926
+ },
18927
+ "/Lotus/StoreItems/Types/Items/MiscItems/WeaponUtilityUnlocker": {
18928
+ "value": "Exilus Weapon Adapter"
18929
+ },
18930
+ "/Lotus/Upgrades/Calendar/EnergyOrbToAbilityRange": {
18931
+ "value": "Broadened Horizons",
18932
+ "desc": "On Energy Pickup increase ability range by 10% for 10s."
18933
+ },
18934
+ "/Lotus/Upgrades/Calendar/MeleeAttackSpeed": {
18935
+ "value": "No Quarter",
18936
+ "desc": "+25% Melee Attack Speed."
18937
+ },
18938
+ "/Lotus/Upgrades/Calendar/CompanionDamage": {
18939
+ "value": "Got Your Back",
18940
+ "desc": "Specters and companions gain +250% damage."
18857
18941
  }
18858
18942
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warframe-worldstate-data",
3
- "version": "2.16.1",
3
+ "version": "2.17.0",
4
4
  "description": "Warframe data for use with warframe-worldstate-parser",
5
5
  "keywords": [
6
6
  "warframe-worldstate",
@@ -132,7 +132,7 @@
132
132
  "coveralls": "^3.1.1",
133
133
  "husky": "^9.0.11",
134
134
  "lint-staged": "^15.2.2",
135
- "mocha": "^10.3.0",
135
+ "mocha": "^11.0.1",
136
136
  "prettier": "^3.2.5",
137
137
  "sinon": "^19.0.2",
138
138
  "sinon-chai": "^4.0.0"
@@ -309,6 +309,27 @@ const polarityMap = {
309
309
  */
310
310
  export const translatePolarity = (pol = '') => valMapping(pol, polarityMap);
311
311
 
312
+ const eventTypeMap = {
313
+ CET_CHALLENGE: 'To Do',
314
+ CET_UPGRADE: 'Override',
315
+ CET_REWARD: 'Big Prize!',
316
+ CET_PLOT: 'Birthday',
317
+ };
318
+
319
+ /**
320
+ * Translate the given event key
321
+ * @param {string} key Unique event type
322
+ * @returns {string}
323
+ */
324
+ export const translateCalendarEvent = (key) => valMapping(key, eventTypeMap);
325
+
326
+ /**
327
+ * Translate the given season name to a non-unique string
328
+ * @param {string} season Unique season name
329
+ * @returns {string}
330
+ */
331
+ export const translateSeason = (season) => toTitleCase(season.replace('CST_', ''));
332
+
312
333
  /**
313
334
  * An object containing functions to convert in-game names to their localizations
314
335
  * @typedef {Record<string, function>} Translator
@@ -338,6 +359,8 @@ export const translatePolarity = (pol = '') => valMapping(pol, polarityMap);
338
359
  * @property {function} archonShard - Converts archon shard names
339
360
  * @property {function} archonShardColor - Converts archon shard names to in-game color values
340
361
  * @property {function} archonShardUpgradeType - Convert archon shard upgrade type
362
+ * @property {function} translateCalendarEvent - Translate the given event key
363
+ * @property {function} translateSeason - Translate the given season name to a non-unique string
341
364
  */
342
365
  export default {
343
366
  faction,
@@ -368,4 +391,6 @@ export default {
368
391
  archonShard,
369
392
  archonShardColor,
370
393
  archonShardUpgradeType,
394
+ translateCalendarEvent,
395
+ translateSeason,
371
396
  };