warframe-worldstate-parser 5.2.16 → 5.2.18

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.
Files changed (184) hide show
  1. package/dist/{Calendar-CRM0XhAy.d.mts → Calendar-C-rbmV_t.d.mts} +1 -1
  2. package/dist/{CambionCycle-OI3v1knd.d.mts → CambionCycle-BzR_MfPH.d.mts} +2 -2
  3. package/dist/{CetusCycle-DQ4n05vO.d.mts → CetusCycle-DaqfF4J1.d.mts} +1 -1
  4. package/dist/{ConstructionProgress-DG2KzS0X.d.mts → ConstructionProgress-BRxmro3-.d.mts} +1 -1
  5. package/dist/{DarkSectorBattle-CiSe3kFm.d.mts → DarkSectorBattle-DHRl5tG1.d.mts} +1 -1
  6. package/dist/{Dependency-CNqXngHD.d.mts → Dependency-Cd-TxBJy.d.mts} +1 -1
  7. package/dist/{EarthCycle-CxtijnVV.d.mts → EarthCycle-C_oB5gDc.d.mts} +1 -1
  8. package/dist/{MidrathCycle-E0gMF3AR.d.mts → MidrathCycle-CxveqDtx.d.mts} +1 -1
  9. package/dist/{News-DxEm-q6V.d.mts → News-CJ3lD7_g.d.mts} +1 -1
  10. package/dist/{Nightwave-CPqMSqGK.d.mts → Nightwave-BLHH02ht.d.mts} +2 -2
  11. package/dist/{NightwaveChallenge-CG3uychc.d.mts → NightwaveChallenge-j_m4hVQU.d.mts} +1 -1
  12. package/dist/{PersistentEnemy-DnnnreSz.d.mts → PersistentEnemy-BJ4twtUY.d.mts} +1 -1
  13. package/dist/{VallisCycle-6DCaWFoR.d.mts → VallisCycle-as7DM4a-.d.mts} +1 -1
  14. package/dist/{ZarimanCycle-BrSLIWhD.d.mts → ZarimanCycle-DyYiVfyG.d.mts} +1 -1
  15. package/dist/{index-Bgx8kIDy.d.mts → index-C4EJ_Mpd.d.mts} +6 -6
  16. package/dist/lib/WorldState.d.mts +16 -19
  17. package/dist/lib/WorldState.mjs +32 -48
  18. package/dist/lib/models/Alert.d.mts +1 -17
  19. package/dist/lib/models/Alert.mjs +49 -7
  20. package/dist/lib/models/Archimedea.d.mts +1 -17
  21. package/dist/lib/models/Archimedea.mjs +88 -4
  22. package/dist/lib/models/Calendar.d.mts +1 -2
  23. package/dist/lib/models/Calendar.mjs +79 -4
  24. package/dist/lib/models/CambionCycle.d.mts +1 -3
  25. package/dist/lib/models/CambionCycle.mjs +28 -4
  26. package/dist/lib/models/CetusCycle.d.mts +1 -2
  27. package/dist/lib/models/CetusCycle.mjs +87 -4
  28. package/dist/lib/models/ChallengeInstance.d.mts +1 -17
  29. package/dist/lib/models/ChallengeInstance.mjs +46 -3
  30. package/dist/lib/models/ConclaveChallenge.d.mts +1 -17
  31. package/dist/lib/models/ConclaveChallenge.mjs +77 -4
  32. package/dist/lib/models/ConstructionProgress.d.mts +1 -2
  33. package/dist/lib/models/ConstructionProgress.mjs +23 -4
  34. package/dist/lib/models/DailyDeal.d.mts +1 -17
  35. package/dist/lib/models/DailyDeal.mjs +64 -4
  36. package/dist/lib/models/DarkSector.d.mts +1 -17
  37. package/dist/lib/models/DarkSector.mjs +136 -8
  38. package/dist/lib/models/DarkSectorBattle.d.mts +1 -2
  39. package/dist/lib/models/DarkSectorBattle.mjs +49 -3
  40. package/dist/lib/models/DuviriCycle.d.mts +1 -17
  41. package/dist/lib/models/DuviriCycle.mjs +55 -4
  42. package/dist/lib/models/EarthCycle.d.mts +1 -2
  43. package/dist/lib/models/EarthCycle.mjs +73 -4
  44. package/dist/lib/models/Fissure.d.mts +1 -17
  45. package/dist/lib/models/Fissure.mjs +83 -4
  46. package/dist/lib/models/FlashSale.d.mts +1 -17
  47. package/dist/lib/models/FlashSale.mjs +73 -4
  48. package/dist/lib/models/GlobalUpgrade.d.mts +1 -17
  49. package/dist/lib/models/GlobalUpgrade.mjs +56 -4
  50. package/dist/lib/models/Invasion.d.mts +1 -17
  51. package/dist/lib/models/Invasion.mjs +106 -6
  52. package/dist/lib/models/Kinepage.d.mts +1 -1
  53. package/dist/lib/models/Kinepage.mjs +23 -3
  54. package/dist/lib/models/Kuva.d.mts +1 -17
  55. package/dist/lib/models/Kuva.mjs +85 -3
  56. package/dist/lib/models/MidrathCycle.d.mts +1 -2
  57. package/dist/lib/models/MidrathCycle.mjs +66 -4
  58. package/dist/lib/models/Mission.d.mts +1 -17
  59. package/dist/lib/models/Mission.mjs +138 -5
  60. package/dist/lib/models/News.d.mts +1 -2
  61. package/dist/lib/models/News.mjs +116 -4
  62. package/dist/lib/models/Nightwave.d.mts +1 -3
  63. package/dist/lib/models/Nightwave.mjs +58 -5
  64. package/dist/lib/models/NightwaveChallenge.d.mts +1 -2
  65. package/dist/lib/models/NightwaveChallenge.mjs +51 -4
  66. package/dist/lib/models/PersistentEnemy.d.mts +1 -2
  67. package/dist/lib/models/PersistentEnemy.mjs +74 -4
  68. package/dist/lib/models/Reward.d.mts +1 -17
  69. package/dist/lib/models/Reward.mjs +71 -4
  70. package/dist/lib/models/SentientOutpost.d.mts +1 -17
  71. package/dist/lib/models/SentientOutpost.mjs +63 -3
  72. package/dist/lib/models/Simaris.d.mts +1 -17
  73. package/dist/lib/models/Simaris.mjs +33 -3
  74. package/dist/lib/models/Sortie.d.mts +1 -17
  75. package/dist/lib/models/Sortie.mjs +71 -8
  76. package/dist/lib/models/SortieVariant.d.mts +1 -17
  77. package/dist/lib/models/SortieVariant.mjs +49 -3
  78. package/dist/lib/models/SteelPathOffering.d.mts +1 -1
  79. package/dist/lib/models/SteelPathOffering.mjs +81 -3
  80. package/dist/lib/models/SyndicateJob.d.mts +1 -17
  81. package/dist/lib/models/SyndicateJob.mjs +161 -7
  82. package/dist/lib/models/SyndicateMission.d.mts +1 -17
  83. package/dist/lib/models/SyndicateMission.mjs +64 -8
  84. package/dist/lib/models/Tmp.d.mts +1 -17
  85. package/dist/lib/models/Tmp.mjs +28 -4
  86. package/dist/lib/models/VallisCycle.d.mts +1 -2
  87. package/dist/lib/models/VallisCycle.mjs +72 -4
  88. package/dist/lib/models/VoidTrader.d.mts +1 -17
  89. package/dist/lib/models/VoidTrader.mjs +76 -6
  90. package/dist/lib/models/VoidTraderItem.d.mts +1 -17
  91. package/dist/lib/models/VoidTraderItem.mjs +36 -3
  92. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -17
  93. package/dist/lib/models/VoidTraderSchedule.mjs +12 -3
  94. package/dist/lib/models/WeeklyChallenge.d.mts +1 -17
  95. package/dist/lib/models/WeeklyChallenge.mjs +19 -5
  96. package/dist/lib/models/WorldEvent.d.mts +1 -17
  97. package/dist/lib/models/WorldEvent.mjs +211 -9
  98. package/dist/lib/models/WorldStateObject.d.mts +1 -1
  99. package/dist/lib/models/WorldStateObject.mjs +52 -3
  100. package/dist/lib/models/ZarimanCycle.d.mts +1 -2
  101. package/dist/lib/models/ZarimanCycle.mjs +77 -4
  102. package/dist/lib/models/index.d.mts +17 -18
  103. package/dist/lib/models/index.mjs +43 -47
  104. package/dist/lib/supporting/Dependency.d.mts +1 -1
  105. package/dist/lib/supporting/Dependency.mjs +1 -1
  106. package/dist/lib/supporting/DuviriChoice.d.mts +1 -17
  107. package/dist/lib/supporting/DuviriChoice.mjs +24 -3
  108. package/dist/lib/supporting/ExternalMission.d.mts +1 -1
  109. package/dist/lib/supporting/ExternalMission.mjs +1 -1
  110. package/dist/lib/supporting/FetchProxy.d.mts +1 -1
  111. package/dist/lib/supporting/FetchProxy.mjs +45 -3
  112. package/dist/lib/supporting/ImgCdn.d.mts +1 -1
  113. package/dist/lib/supporting/ImgCdn.mjs +6 -3
  114. package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -1
  115. package/dist/lib/supporting/KuvaLogEntry.mjs +1 -1
  116. package/dist/lib/supporting/RewardData.d.mts +1 -1
  117. package/dist/lib/supporting/RewardData.mjs +75 -3
  118. package/dist/lib/supporting/RewardTypes.d.mts +1 -1
  119. package/dist/lib/supporting/RewardTypes.mjs +326 -3
  120. package/dist/lib/supporting/index.d.mts +8 -23
  121. package/dist/lib/supporting/index.mjs +6 -8
  122. package/dist/main.d.mts +24 -24
  123. package/dist/main.mjs +48 -51
  124. package/package.json +1 -1
  125. package/dist/Alert-CPT2sBmd.mjs +0 -51
  126. package/dist/Archimedea-Vo36QE99.mjs +0 -90
  127. package/dist/Calendar-_gEQ9BEd.mjs +0 -81
  128. package/dist/CambionCycle-B1pqIgks.mjs +0 -30
  129. package/dist/CetusCycle-Ct51M2pd.mjs +0 -89
  130. package/dist/ChallengeInstance-BOu_e7ML.mjs +0 -48
  131. package/dist/ConclaveChallenge-BTN6UyV6.mjs +0 -79
  132. package/dist/ConstructionProgress-BoF2P9fx.mjs +0 -25
  133. package/dist/DailyDeal-aoNeCFWT.mjs +0 -66
  134. package/dist/DarkSector-D0uJWCg7.mjs +0 -138
  135. package/dist/DarkSectorBattle-CqRYeNpe.mjs +0 -51
  136. package/dist/Dependency-BR-dAeHI.mjs +0 -1
  137. package/dist/DuviriChoice-BEBiWA-g.mjs +0 -25
  138. package/dist/DuviriCycle-Do7mMnoC.mjs +0 -57
  139. package/dist/EarthCycle-BOAlcAuQ.mjs +0 -75
  140. package/dist/ExternalMission-D3MSZgnN.mjs +0 -1
  141. package/dist/FetchProxy-Bkdk15SX.mjs +0 -46
  142. package/dist/Fissure-diM4hyi3.mjs +0 -85
  143. package/dist/FlashSale-CNfRaZhM.mjs +0 -75
  144. package/dist/GlobalUpgrade-CUtZw05z.mjs +0 -58
  145. package/dist/ImgCdn-BJOdWAbU.mjs +0 -7
  146. package/dist/Invasion-Corx1lxf.mjs +0 -108
  147. package/dist/Kinepage-CbSzge67.mjs +0 -24
  148. package/dist/Kuva-Ijy2ZGBL.mjs +0 -87
  149. package/dist/KuvaLogEntry-D_VzIT3W.mjs +0 -1
  150. package/dist/MidrathCycle-XD2T8Dx5.mjs +0 -68
  151. package/dist/Mission-b8KP-YDf.mjs +0 -140
  152. package/dist/News-zAK-sYRg.mjs +0 -118
  153. package/dist/Nightwave-cTRmlbwH.mjs +0 -60
  154. package/dist/NightwaveChallenge-C8ARG7LC.mjs +0 -53
  155. package/dist/PersistentEnemy-3Sw5E8AN.mjs +0 -76
  156. package/dist/Reward-3FBJF_hS.mjs +0 -73
  157. package/dist/RewardData-C_9b8Yhi.mjs +0 -76
  158. package/dist/RewardTypes-DUrR7H3G.mjs +0 -328
  159. package/dist/SentientOutpost-Cadk-pIW.mjs +0 -65
  160. package/dist/Simaris-D6etEQp_.mjs +0 -35
  161. package/dist/Sortie-rSBgJc6U.mjs +0 -73
  162. package/dist/SortieVariant-CnuLkkNZ.mjs +0 -51
  163. package/dist/SteelPathOffering--wm-7hwb.mjs +0 -83
  164. package/dist/SyndicateJob-R89tWqvT.mjs +0 -162
  165. package/dist/SyndicateMission-CKZDWNyf.mjs +0 -66
  166. package/dist/Tmp-BYL_mYIG.mjs +0 -30
  167. package/dist/VallisCycle-BW2g49wB.mjs +0 -74
  168. package/dist/VoidTrader-DtjtVUgR.mjs +0 -78
  169. package/dist/VoidTraderItem-Cz6x1KTF.mjs +0 -38
  170. package/dist/VoidTraderSchedule-BsJLu50V.mjs +0 -14
  171. package/dist/WeeklyChallenge-Dl2ekl6X.mjs +0 -21
  172. package/dist/WorldEvent-C-LaV2ug.mjs +0 -213
  173. package/dist/WorldStateObject-45dbRgp7.mjs +0 -54
  174. package/dist/ZarimanCycle-DoAPwgaM.mjs +0 -79
  175. package/dist/supporting-BLSXhlWM.mjs +0 -1
  176. /package/dist/{ExternalMission-C82w4uMq.d.mts → ExternalMission-CT__oi7Q.d.mts} +0 -0
  177. /package/dist/{FetchProxy-DfSTUgkf.d.mts → FetchProxy-DHSI4JPP.d.mts} +0 -0
  178. /package/dist/{ImgCdn-D0hSGSB1.d.mts → ImgCdn-DIhZrwap.d.mts} +0 -0
  179. /package/dist/{Kinepage-B-Ym_VW5.d.mts → Kinepage-CKBuvbv5.d.mts} +0 -0
  180. /package/dist/{KuvaLogEntry-cftxhjfU.d.mts → KuvaLogEntry-f4ZBn2Xf.d.mts} +0 -0
  181. /package/dist/{RewardData-DWCgJ3UT.d.mts → RewardData-BdtdUFnh.d.mts} +0 -0
  182. /package/dist/{RewardTypes-Y3tHrtIJ.d.mts → RewardTypes-BnGaD7VF.d.mts} +0 -0
  183. /package/dist/{SteelPathOffering-CQkoKi5T.d.mts → SteelPathOffering-DYjZ29sT.d.mts} +0 -0
  184. /package/dist/{WorldStateObject-C1HEDkH7.d.mts → WorldStateObject-C2KjQZjd.d.mts} +0 -0
@@ -1,76 +0,0 @@
1
- //#region lib/supporting/RewardData.ts
2
- const resources = [
3
- "Alloy Plate",
4
- "Argon Crystal",
5
- "Circuits",
6
- "Control Module",
7
- "Cryotic",
8
- "Ferrite",
9
- "Gallium",
10
- "Morphics",
11
- "Nano Spores",
12
- "Neural Sensors",
13
- "Neurodes",
14
- "Orokin Cell",
15
- "Oxium",
16
- "Plastids",
17
- "Polymer Bundle",
18
- "Rubedo",
19
- "Salvage",
20
- "Tellurium"
21
- ];
22
- const auras = [
23
- "Brief Respite",
24
- "Corrosive Projection",
25
- "Dead Eye",
26
- "EMP Aura",
27
- "Empowered Blades",
28
- "Enemy Radar",
29
- "Energy Siphon",
30
- "Growing Power",
31
- "Infested Impedance",
32
- "Loot Detector",
33
- "Physique",
34
- "Pistol Amp",
35
- "Pistol Scavenger",
36
- "Rejuvenation",
37
- "Rifle Amp",
38
- "Rifle Scavenger",
39
- "Shield Disruption",
40
- "Shotgun Amp",
41
- "Shotgun Scavenger",
42
- "Sniper Scavenger",
43
- "Speed Holster",
44
- "Sprint Boost",
45
- "Stand United",
46
- "Steel Charge"
47
- ];
48
- const nightmare = [
49
- "Accelerated Blast",
50
- "Animal Instinct",
51
- "Armored Agility",
52
- "Blaze",
53
- "Chilling Reload",
54
- "Constitution",
55
- "Drifting Contact",
56
- "Focus Energy",
57
- "Fortitude",
58
- "Hammer Shot",
59
- "Ice Storm",
60
- "Lethal Torrent",
61
- "Rending Strike",
62
- "Stunning Speed",
63
- "Wildfire",
64
- "Seeking Fury",
65
- "Streamlined Form",
66
- "Shred",
67
- "Vigor"
68
- ];
69
- var RewardData_default = {
70
- nightmare,
71
- auras,
72
- resources
73
- };
74
-
75
- //#endregion
76
- export { resources as i, auras as n, nightmare as r, RewardData_default as t };
@@ -1,328 +0,0 @@
1
- import { r as wfCdn, t as cdn } from "./ImgCdn-BJOdWAbU.mjs";
2
- import { i as resources, n as auras, r as nightmare } from "./RewardData-C_9b8Yhi.mjs";
3
-
4
- //#region lib/supporting/RewardTypes.ts
5
- /**
6
- * All possible RewardTypes
7
- * @type {Array.<RewardType>}
8
- */
9
- var RewardTypes_default = [
10
- {
11
- name: "vauban",
12
- description: "Vauban parts",
13
- test: (s) => /^vauban(?!.*helmet)/i.test(s),
14
- thumbnail: wfCdn("vauban.png"),
15
- color: 6052435
16
- },
17
- {
18
- name: "vandal",
19
- description: "Vandal Weapon Parts",
20
- test: (s) => /vandal/i.test(s),
21
- thumbnail: wfCdn("dera-vandal.png"),
22
- color: 6052435
23
- },
24
- {
25
- name: "wraith",
26
- description: "Wraith Weapon Parts",
27
- test: (s) => /wraith/i.test(s),
28
- thumbnail: wfCdn("furax-wraith.png"),
29
- color: 6052435
30
- },
31
- {
32
- name: "skin",
33
- description: "Weapon skins",
34
- test: (s) => /skin/i.test(s),
35
- thumbnail: "https://raw.githubusercontent.com/wfcd/warframe-worldstate-parser/master/resources/weapon_skin_thumb.png",
36
- color: 5196851
37
- },
38
- {
39
- name: "helmet",
40
- description: "Alternative helmets",
41
- test: (s) => /helmet/i.test(s),
42
- thumbnail: "https://raw.githubusercontent.com/wfcd/warframe-worldstate-parser/master/resources/alt_helmet_thumb.png",
43
- color: 5666423
44
- },
45
- {
46
- name: "nitain",
47
- description: "Nitain extract",
48
- test: (s) => /nitain/i.test(s),
49
- thumbnail: wfCdn("nitain-extract.png"),
50
- color: 11447716
51
- },
52
- {
53
- name: "mutalist",
54
- description: "Mutalist Alad V coordinates",
55
- test: (s) => /mutalist/i.test(s),
56
- thumbnail: wfCdn("mutalist-alad-v-nav-coordinate.png"),
57
- color: 158519
58
- },
59
- {
60
- name: "weapon",
61
- description: "Weapons",
62
- test: (s) => /dagger|sword|glaive/i.test(s),
63
- thumbnail: wfCdn("blueprint"),
64
- color: 10723479
65
- },
66
- {
67
- name: "fieldron",
68
- description: "Fieldron",
69
- test: (s) => /fieldron/i.test(s),
70
- thumbnail: wfCdn("fieldron.png"),
71
- color: 5068118
72
- },
73
- {
74
- name: "detonite",
75
- description: "Detonite Injector",
76
- test: (s) => /detonite/i.test(s),
77
- thumbnail: wfCdn("detonite-injector.png"),
78
- color: 5068118
79
- },
80
- {
81
- name: "mutagen",
82
- description: "Mutagen Mass",
83
- test: (s) => /mutagen/i.test(s),
84
- thumbnail: wfCdn("mutagen-mass.png"),
85
- color: 5068118
86
- },
87
- {
88
- name: "clantech",
89
- description: "Clantech resources",
90
- test: (s) => /fieldron|detonite|mutagen/i.test(s),
91
- thumbnail: "https://github.com/wfcd/warframe-worldstate-parser/raw/master/resources/clantech_thmb.png",
92
- color: 5068118
93
- },
94
- {
95
- name: "aura",
96
- description: "Auras",
97
- test: (s) => auras.includes(s),
98
- thumbnail: "https://github.com/wfcd/warframe-worldstate-parser/raw/master/resources/aura_thumb.png",
99
- color: 13170943
100
- },
101
- {
102
- name: "neuralSensors",
103
- description: "Neural Sensors",
104
- test: (s) => /neural/i.test(s),
105
- thumbnail: wfCdn("neural-sensors.png"),
106
- color: 13170943
107
- },
108
- {
109
- name: "neurodes",
110
- description: "Neurodes",
111
- test: (s) => /neurode/i.test(s),
112
- thumbnail: wfCdn("neurodes.png"),
113
- color: 13170943
114
- },
115
- {
116
- name: "orokinCell",
117
- description: "Orokin Cell",
118
- test: (s) => /orokin\scell/i.test(s),
119
- thumbnail: wfCdn("orokin-cell.png"),
120
- color: 13170943
121
- },
122
- {
123
- name: "alloyPlate",
124
- description: "Alloy Plate",
125
- test: (s) => /alloy\splate/i.test(s),
126
- thumbnail: wfCdn("alloy-plate.png"),
127
- color: 13170943
128
- },
129
- {
130
- name: "circuits",
131
- description: "Circuits",
132
- test: (s) => /circuits/i.test(s),
133
- thumbnail: wfCdn("circuits.png"),
134
- color: 13170943
135
- },
136
- {
137
- name: "controlModule",
138
- description: "Control Module",
139
- test: (s) => /control\smodule/i.test(s),
140
- thumbnail: wfCdn("control-module.png"),
141
- color: 13170943
142
- },
143
- {
144
- name: "ferrite",
145
- description: "Ferrite",
146
- test: (s) => /ferrite/i.test(s),
147
- thumbnail: wfCdn("ferrite.png"),
148
- color: 13170943
149
- },
150
- {
151
- name: "gallium",
152
- description: "Gallium",
153
- test: (s) => /gallium/i.test(s),
154
- thumbnail: wfCdn("gallium.png"),
155
- color: 10595770
156
- },
157
- {
158
- name: "morphics",
159
- description: "Morphics",
160
- test: (s) => /morphics/i.test(s),
161
- thumbnail: wfCdn("morphics.png"),
162
- color: 13170943
163
- },
164
- {
165
- name: "nanoSpores",
166
- description: "Nano Spores",
167
- test: (s) => /nano\sspores/i.test(s),
168
- thumbnail: wfCdn("nano-spores.png"),
169
- color: 5455670
170
- },
171
- {
172
- name: "oxium",
173
- description: "Oxium",
174
- test: (s) => /oxium/i.test(s),
175
- thumbnail: wfCdn("oxium.png"),
176
- color: 9597243
177
- },
178
- {
179
- name: "rubedo",
180
- description: "Rubedo",
181
- test: (s) => /rubedo/i.test(s),
182
- thumbnail: wfCdn("rubedo.png"),
183
- color: 13516342
184
- },
185
- {
186
- name: "salvage",
187
- description: "Salvage",
188
- test: (s) => /salvage/i.test(s),
189
- thumbnail: wfCdn("salvage.png"),
190
- color: 9145997
191
- },
192
- {
193
- name: "plastids",
194
- description: "Plastids",
195
- test: (s) => /plastids/i.test(s),
196
- thumbnail: wfCdn("plastids.png"),
197
- color: 13545096
198
- },
199
- {
200
- name: "polymerBundle",
201
- description: "Polymer Bundle",
202
- test: (s) => /polymer\sbundle/i.test(s),
203
- thumbnail: wfCdn("polymer-bundle.png"),
204
- color: 7032228
205
- },
206
- {
207
- name: "argonCrystal",
208
- description: "Argon Crystal",
209
- test: (s) => /argon\scrystal/i.test(s),
210
- thumbnail: wfCdn("argon-crystal.png"),
211
- color: 13170943
212
- },
213
- {
214
- name: "cryotic",
215
- description: "Cryotic",
216
- test: (s) => /cryotic/i.test(s),
217
- thumbnail: wfCdn("cryotic.png"),
218
- color: 7905971
219
- },
220
- {
221
- name: "tellurium",
222
- description: "Tellurium",
223
- test: (s) => /tellurium/i.test(s),
224
- thumbnail: wfCdn("tellurium.png"),
225
- color: 15150616
226
- },
227
- {
228
- name: "resource",
229
- description: "Resources",
230
- test: (s) => resources.includes(s),
231
- thumbnail: "https://i.imgur.com/Bq5TEPo.png",
232
- color: 16772764
233
- },
234
- {
235
- name: "nightmare",
236
- description: "Nightmare mods",
237
- test: (s) => nightmare.includes(s),
238
- thumbnail: cdn("svg/nightmare.svg"),
239
- color: 11677228
240
- },
241
- {
242
- name: "endo",
243
- description: "Endo",
244
- test: (s) => /^\d+x?\sendo/i.test(s),
245
- thumbnail: wfCdn("endo.png"),
246
- color: 12755532
247
- },
248
- {
249
- name: "reactor",
250
- description: "Orokin Reactors",
251
- test: (s) => /reactor/i.test(s),
252
- thumbnail: wfCdn("orokin-reactor.png"),
253
- color: 14140285
254
- },
255
- {
256
- name: "catalyst",
257
- description: "Orokin Catalyst",
258
- test: (s) => /catalyst/i.test(s),
259
- thumbnail: wfCdn("orokin-catalyst.png"),
260
- color: 6855389
261
- },
262
- {
263
- name: "potato",
264
- description: "Orokin Catalysts/Reactors",
265
- test: (s) => /catalyst|reactor/i.test(s),
266
- thumbnail: wfCdn("orokin-catalyst.png"),
267
- color: 6855389
268
- },
269
- {
270
- name: "forma",
271
- description: "Forma",
272
- test: (s) => /forma/i.test(s),
273
- thumbnail: wfCdn("forma.png"),
274
- color: 11638087
275
- },
276
- {
277
- name: "exilus",
278
- description: "Exilus",
279
- test: (s) => /exilus/i.test(s),
280
- thumbnail: wfCdn("exilus-adapter.png"),
281
- color: 8925997
282
- },
283
- {
284
- name: "synthula",
285
- description: "Synthula",
286
- test: (s) => /synthula/i.test(s),
287
- thumbnail: wfCdn("synthula.png"),
288
- color: 10461599
289
- },
290
- {
291
- name: "kavatGene",
292
- description: "Kavat Genetic Code",
293
- test: (s) => /Kavat Ge/i.test(s),
294
- thumbnail: wfCdn("kavat-genetic-code.png"),
295
- color: 7776429
296
- },
297
- {
298
- name: "kubrowEgg",
299
- description: "Kubrow Egg",
300
- test: (s) => /kubrow\segg/i.test(s),
301
- thumbnail: wfCdn("kubrow-egg"),
302
- color: 10851199
303
- },
304
- {
305
- name: "traces",
306
- description: "Void Traces",
307
- test: (s) => /trace/i.test(s),
308
- thumbnail: wfCdn("void-traces.png"),
309
- color: 6923485
310
- },
311
- {
312
- name: "riven",
313
- description: "Riven Mod",
314
- test: (s) => /riven/i.test(s),
315
- thumbnail: wfCdn("rifle-riven-mod.png"),
316
- color: 10585021
317
- },
318
- {
319
- name: "other",
320
- description: "Other",
321
- test: () => true,
322
- thumbnail: "",
323
- color: 5198940
324
- }
325
- ];
326
-
327
- //#endregion
328
- export { RewardTypes_default as t };
@@ -1,65 +0,0 @@
1
- import { node, nodeEnemy, nodeMissionType } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/SentientOutpost.ts
4
- const duration = 1800;
5
- const sat = () => {
6
- const now = Math.floor(Date.now() / 1e3);
7
- const cycleSeconds = now % duration;
8
- const active = cycleSeconds > 0 && cycleSeconds < 1800;
9
- const start = (now - cycleSeconds) * 1e3;
10
- const end = (now - cycleSeconds + duration) * 1e3;
11
- return {
12
- active,
13
- expiry: new Date(end),
14
- activation: new Date(start)
15
- };
16
- };
17
- /**
18
- * Represents a set of sentient outposts that are present
19
- * Parsed source is combined data from DE's worldstate and semlar.com/anomaly.json
20
- */
21
- var SentientOutpost = class {
22
- node;
23
- id;
24
- /**
25
- * Start time
26
- */
27
- activation;
28
- /**
29
- * End time
30
- */
31
- expiry;
32
- /**
33
- * Current Mission
34
- */
35
- mission;
36
- /**
37
- * Whether or not the object was active during creation
38
- */
39
- active;
40
- /**
41
- * @param sfn Sentient outpost node number
42
- * @param deps Dependencies
43
- */
44
- constructor(sfn, { locale, sentientData, logger }) {
45
- this.node = sfn || "000";
46
- const id = `CrewBattleNode${this.node}`;
47
- if (this.node === "000") this.mission = void 0;
48
- else this.mission = {
49
- node: node(id, locale),
50
- faction: nodeEnemy(id, locale),
51
- type: nodeMissionType(id, locale)
52
- };
53
- ({activation: this.activation, expiry: this.expiry} = sat());
54
- this.active = Boolean(this.mission);
55
- this.id = `${id}:${this.active}`;
56
- if (!sentientData) logger?.debug("No outpost data, skipping");
57
- else {
58
- this.activation = /* @__PURE__ */ new Date(sentientData.start * 1e3);
59
- this.expiry = /* @__PURE__ */ new Date(sentientData.end * 1e3);
60
- }
61
- }
62
- };
63
-
64
- //#endregion
65
- export { SentientOutpost as t };
@@ -1,35 +0,0 @@
1
- import { languageString } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/Simaris.ts
4
- /**
5
- * Contains information about sanctuary targets
6
- */
7
- var Simaris = class {
8
- /**
9
- * The sanctuary target
10
- */
11
- target;
12
- /**
13
- * Whether or not the target is currently active
14
- */
15
- isTargetActive;
16
- /**
17
- * @param data The sanctuary data
18
- * @param deps The dependencies object
19
- * @param deps.locale Locale to use for translations
20
- */
21
- constructor(data, { locale } = { locale: "en" }) {
22
- if (!data || !Object.keys(data).length) data = { LastCompletedTargetType: "" };
23
- this.target = languageString(data.LastCompletedTargetType, locale) || "N/A";
24
- this.isTargetActive = !data.LastCompletedTargetType;
25
- }
26
- /**
27
- * A string representation of the current sanctuary status
28
- */
29
- get asString() {
30
- return `Simaris's ${this.isTargetActive ? "current" : "previous"} objective ${this.isTargetActive ? "is" : "was"} ${this.target}`;
31
- }
32
- };
33
-
34
- //#endregion
35
- export { Simaris as t };
@@ -1,73 +0,0 @@
1
- import { t as Mission } from "./Mission-b8KP-YDf.mjs";
2
- import { t as WorldStateObject } from "./WorldStateObject-45dbRgp7.mjs";
3
- import { t as SortieVariant } from "./SortieVariant-CnuLkkNZ.mjs";
4
- import wsData from "warframe-worldstate-data";
5
- import { fromNow, languageString, parseDate, sortieBoss, sortieFaction, timeDeltaToString } from "warframe-worldstate-data/utilities";
6
-
7
- //#region lib/models/Sortie.ts
8
- const { sortie: sortieData } = wsData;
9
- /**
10
- * Represents a daily sortie
11
- * @augments {WorldStateObject}
12
- */
13
- var Sortie = class extends WorldStateObject {
14
- /**
15
- * The sortie's reward pool
16
- */
17
- rewardPool;
18
- /**
19
- * The sortie's variants
20
- */
21
- variants;
22
- /**
23
- * Archon hunt missions if sortie is an archon hunt
24
- */
25
- missions;
26
- /**
27
- * The sortie's boss
28
- */
29
- boss;
30
- /**
31
- * The sortie's faction
32
- */
33
- faction;
34
- /**
35
- * The sortie's faction
36
- */
37
- factionKey;
38
- /**
39
- * @param data The data for all daily sorties
40
- * @param deps The dependencies object
41
- * @param deps.locale Locale to use for translations
42
- */
43
- constructor(data, { locale = "en" } = { locale: "en" }) {
44
- super(data);
45
- const opts = {
46
- sortieData,
47
- locale
48
- };
49
- this.activation = parseDate(data.Activation);
50
- this.expiry = parseDate(data.Expiry);
51
- this.rewardPool = languageString(data.Reward, locale);
52
- this.variants = (data.Variants ?? []).map((v) => new SortieVariant(v, opts));
53
- this.missions = (data.Missions ?? []).map((v) => new Mission(v, opts));
54
- this.boss = sortieBoss(data.Boss, locale);
55
- this.faction = sortieFaction(data.Boss, locale);
56
- this.factionKey = sortieFaction(data.Boss, "en");
57
- }
58
- /**
59
- * ETA string (at time of object creation)
60
- */
61
- get eta() {
62
- return timeDeltaToString(fromNow(this.expiry));
63
- }
64
- /**
65
- * Whether this is expired (at time of object creation)
66
- */
67
- get expired() {
68
- return fromNow(this.expiry) < 0;
69
- }
70
- };
71
-
72
- //#endregion
73
- export { Sortie as t };
@@ -1,51 +0,0 @@
1
- import { insist, missionType, node, sortieModDesc, sortieModifier } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/SortieVariant.ts
4
- /**
5
- * Represents a sortie variant
6
- * @class
7
- */
8
- var SortieVariant = class {
9
- /**
10
- * The variant's mission type
11
- */
12
- missionType;
13
- /**
14
- * The variant's mission type unlocalized
15
- */
16
- missionTypeKey;
17
- /**
18
- * The mission modifier
19
- */
20
- modifier;
21
- /**
22
- * The variant's modifier description
23
- */
24
- modifierDescription;
25
- /**
26
- * The node where the variant takes place
27
- */
28
- node;
29
- /**
30
- * The node where the variant takes place unlocalized
31
- */
32
- nodeKey;
33
- /**
34
- * Make the SortieVariant
35
- * @param data Sortie variant data
36
- * @param deps Dependencies
37
- * @param deps.locale Locale to use for translations
38
- */
39
- constructor(data, { locale = "en" } = { locale: "en" }) {
40
- insist({ ...data });
41
- this.missionType = missionType(data.missionType, locale);
42
- this.missionTypeKey = missionType(data.missionType, "en");
43
- this.modifier = sortieModifier(data.modifierType, locale);
44
- this.modifierDescription = sortieModDesc(data.modifierType, locale);
45
- this.node = node(data.node, locale);
46
- this.nodeKey = node(data.node, "en");
47
- }
48
- };
49
-
50
- //#endregion
51
- export { SortieVariant as t };
@@ -1,83 +0,0 @@
1
- import { steelPath, timeDeltaToString } from "warframe-worldstate-data/utilities";
2
-
3
- //#region lib/models/SteelPathOffering.ts
4
- const monday = 1;
5
- /**
6
- * Gets the first day of the week
7
- */
8
- function getFirstDayOfWeek() {
9
- const resultDate = /* @__PURE__ */ new Date();
10
- /* istanbul ignore next */
11
- const offset = resultDate.getUTCDay() === 0 ? 6 : resultDate.getUTCDay() - monday;
12
- resultDate.setUTCDate(resultDate.getUTCDate() - offset);
13
- resultDate.setUTCHours(0);
14
- resultDate.setUTCMinutes(0);
15
- resultDate.setUTCSeconds(0);
16
- resultDate.setUTCMilliseconds(0);
17
- return resultDate;
18
- }
19
- /**
20
- * Get the last day of the week
21
- */
22
- function getLastDayOfWeek() {
23
- const last = new Date(getFirstDayOfWeek());
24
- last.setUTCDate(last.getUTCDate() + 6);
25
- last.setUTCHours(23);
26
- last.setUTCMinutes(59);
27
- last.setUTCSeconds(59);
28
- last.setUTCMilliseconds(0);
29
- return last;
30
- }
31
- /**
32
- * When was the start of the day
33
- */
34
- function getStartOfDay() {
35
- const today = /* @__PURE__ */ new Date();
36
- today.setUTCHours(0);
37
- today.setUTCMinutes(0);
38
- today.setUTCSeconds(0);
39
- today.setUTCMilliseconds(0);
40
- return today;
41
- }
42
- /**
43
- * When was the end of the day
44
- */
45
- function getEndOfDay() {
46
- const last = /* @__PURE__ */ new Date();
47
- last.setUTCHours(23);
48
- last.setUTCMinutes(59);
49
- last.setUTCSeconds(59);
50
- last.setUTCMilliseconds(0);
51
- return last;
52
- }
53
- /**
54
- * Start of Steel Path cycle calculations
55
- */
56
- const start = /* @__PURE__ */ new Date("2020-11-16T00:00:00.000Z");
57
- var SteelPathOfferings = class {
58
- currentReward;
59
- activation;
60
- expiry;
61
- remaining;
62
- rotation;
63
- evergreens;
64
- incursions;
65
- constructor({ locale }) {
66
- const sSinceStart = (Date.now() - start.getTime()) / 1e3;
67
- const ind = Math.floor(sSinceStart % 4838400 / 604800);
68
- this.currentReward = steelPath(locale).rotation[ind];
69
- this.activation = getFirstDayOfWeek();
70
- this.expiry = getLastDayOfWeek();
71
- this.remaining = timeDeltaToString(this.expiry.getTime() - Date.now());
72
- this.rotation = steelPath(locale).rotation;
73
- this.evergreens = steelPath(locale).evergreen;
74
- this.incursions = {
75
- id: `spi:${getStartOfDay().getTime()}`,
76
- activation: getStartOfDay(),
77
- expiry: getEndOfDay()
78
- };
79
- }
80
- };
81
-
82
- //#endregion
83
- export { SteelPathOfferings as t };