feat: import #831

Merged
Sainan merged 39 commits from import into main 2025-01-20 03:19:32 -08:00
Showing only changes of commit 8e7d4382f2 - Show all commits

View File

@ -2,6 +2,7 @@ import { RequestHandler } from "express";
import { getDict, getItemName, getString } from "@/src/services/itemDataService";
import {
ExportArcanes,
ExportAvionics,
ExportGear,
ExportRecipes,
ExportResources,
@ -137,6 +138,13 @@ const getItemListsController: RequestHandler = (req, response) => {
badItems[uniqueName] = true;
}
}
for (const [uniqueName, upgrade] of Object.entries(ExportAvionics)) {
res.mods.push({
uniqueName,
name: getString(upgrade.name, lang),
fusionLimit: upgrade.fusionLimit
});
}
for (const [uniqueName, arcane] of Object.entries(ExportArcanes)) {
res.mods.push({
uniqueName,