fix(webui): exclude zaw strike pvp variants #2579
@ -153,18 +153,21 @@ const getItemListsController: RequestHandler = (req, response) => {
|
|||||||
}
|
}
|
||||||
for (const [uniqueName, item] of Object.entries(ExportWeapons)) {
|
for (const [uniqueName, item] of Object.entries(ExportWeapons)) {
|
||||||
if (item.partType) {
|
if (item.partType) {
|
||||||
if (!uniqueName.startsWith("/Lotus/Types/Items/Deimos/")) {
|
if (!item.excludeFromCodex) {
|
||||||
res.ModularParts.push({
|
// not a pvp variant
|
||||||
uniqueName,
|
if (!uniqueName.startsWith("/Lotus/Types/Items/Deimos/")) {
|
||||||
name: getString(item.name, lang),
|
res.ModularParts.push({
|
||||||
partType: item.partType
|
uniqueName,
|
||||||
});
|
name: getString(item.name, lang),
|
||||||
}
|
partType: item.partType
|
||||||
if (uniqueName.split("/")[5] != "SentTrainingAmplifier") {
|
});
|
||||||
res.miscitems.push({
|
}
|
||||||
uniqueName: uniqueName,
|
if (uniqueName.split("/")[5] != "SentTrainingAmplifier") {
|
||||||
name: getString(item.name, lang)
|
res.miscitems.push({
|
||||||
});
|
uniqueName: uniqueName,
|
||||||
|
name: getString(item.name, lang)
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if (item.totalDamage !== 0) {
|
} else if (item.totalDamage !== 0) {
|
||||||
if (
|
if (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user