feat(webui): add resource drones & their blueprints via "add items" #1137

Merged
Sainan merged 3 commits from webui-drones into main 2025-03-09 11:15:46 -07:00
Showing only changes of commit 8360f30efd - Show all commits

View File

@ -3,6 +3,7 @@ import { getDict, getItemName, getString } from "@/src/services/itemDataService"
import {
ExportArcanes,
ExportAvionics,
ExportDrones,
ExportGear,
ExportMisc,
ExportRecipes,
@ -153,6 +154,12 @@ const getItemListsController: RequestHandler = (req, response) => {
}
}
}
for (const [uniqueName, item] of Object.entries(ExportDrones)) {
res.miscitems.push({
uniqueName: uniqueName,
name: getString(item.name, lang)
});
}
res.mods = [];
for (const [uniqueName, upgrade] of Object.entries(ExportUpgrades)) {