improve handling of avionics in webui
This commit is contained in:
parent
6d9c934619
commit
8e7d4382f2
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user