|
46 | 46 | fetch("https://browse.wf/warframe-public-export-plus/ExportFlavour.json").then(res => res.json()), |
47 | 47 | fetch("https://browse.wf/warframe-public-export-plus/ExportCustoms.json").then(res => res.json()), |
48 | 48 | fetch("https://browse.wf/warframe-public-export-plus/ExportGear.json").then(res => res.json()), |
| 49 | + fetch("https://browse.wf/warframe-public-export-plus/ExportSentinels.json").then(res => res.json()), |
49 | 50 | fetch("https://browse.wf/warframe-public-export-plus/ExportRewards.json").then(res => res.json()), |
50 | 51 | fetch("https://browse.wf/warframe-public-export-plus/ExportRegions.json").then(res => res.json()), |
51 | 52 | fetch("https://browse.wf/warframe-public-export-plus/ExportEnemies.json").then(res => res.json()), |
|
62 | 63 | ExportFlavour, |
63 | 64 | ExportCustoms, |
64 | 65 | ExportGear, |
| 66 | + ExportSentinels, |
65 | 67 | ExportRewards, |
66 | 68 | ExportRegions, |
67 | 69 | ExportEnemies, |
|
80 | 82 | window.ExportFlavour_entries = Object.entries(ExportFlavour); |
81 | 83 | window.ExportCustoms_entries = Object.entries(ExportCustoms); |
82 | 84 | window.ExportGear_entries = Object.entries(ExportGear); |
| 85 | + window.ExportSentinels_entries = Object.entries(ExportSentinels) |
83 | 86 | window.ExportRewards_entries = Object.entries(ExportRewards); |
84 | 87 | window.ExportRegions = ExportRegions; |
85 | 88 | window.ExportEnemies = ExportEnemies; |
@@ -493,6 +496,7 @@ function doQuery(query) |
493 | 496 | || result.type == "upgrade" |
494 | 497 | || result.type == "arcane" |
495 | 498 | || result.type == "resource" |
| 499 | + || result.type == "sentinel" |
496 | 500 | ) |
497 | 501 | { |
498 | 502 | const dropType = itemToRecipeMap[result.key] ?? result.key; |
@@ -664,6 +668,11 @@ function resolveTagsToUses(results) |
664 | 668 | res.push({ type: "gear", key: entry[0], value: entry[1] }); |
665 | 669 | continue; |
666 | 670 | } |
| 671 | + entry = ExportSentinels_entries.find(([uniqueName, item]) => item.name == result.key); |
| 672 | + if (entry) |
| 673 | + { |
| 674 | + res.push({ type: "sentinel", key: entry[0], value: entry[1] }); |
| 675 | + } |
667 | 676 | } |
668 | 677 | res.push(result); |
669 | 678 | } |
|
0 commit comments