use ExportFactions in Gradivus Dilema trophy instead eFaction
Some checks failed
Build / build (pull_request) Failing after 1m9s

This commit is contained in:
AMelonInsideLemon 2025-09-09 06:50:45 +02:00
parent 12505faffe
commit f5dd56b49b

View File

@ -10,6 +10,7 @@ import {
ExportCustoms,
ExportDojoRecipes,
ExportDrones,
ExportFactions,
ExportGear,
ExportKeys,
ExportMisc,
@ -424,7 +425,7 @@ const getItemListsController: RequestHandler = (req, response) => {
let name = getString(getItemName(uniqueName) || uniqueName, lang);
if (uniqueName.startsWith("/Lotus/Levels/ClanDojo/ComponentPropRecipes/GradivusDilemma")) {
const factionTag = uniqueName.includes("Corpus") ? "FC_CORPUS" : "FC_GRINEER";
const faction = eFaction.find(f => f.tag === factionTag)?.name || factionTag;
const faction = ExportFactions[factionTag].name;
name += ` [${getString(faction, lang)}]`;
}
res.VaultDecoRecipes.push({