Skip to content

Commit

Permalink
Fix Kuva/Tenet descriptions not being added
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Oct 27, 2024
1 parent b1c109a commit 9dc0ae7
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions updater/update_items.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,7 @@ class ItemUpdater {
);
processedItem.buildTime = recipe.buildTime;
processedItem.buildPrice = recipe.buildPrice;
} else if (SISTER_WEAPONS.includes(name))
processedItem.description =
"Acquire by vanquishing a Sister of Parvos";
else if (HOLOKEY_WEAPONS.includes(name))
processedItem.description =
"Purchase from Ergo Glast for 40 Corrupted Holokeys";
else if (name.startsWith("Kuva "))
processedItem.description = "Acquire by vanquishing a Kuva Lich";
else if (name.startsWith("Dex "))
} else if (name.startsWith("Dex "))
processedItem.description = "Acquire from yearly anniversary alerts";
else if (name.startsWith("Vaykor "))
processedItem.description =
Expand All @@ -194,6 +186,15 @@ class ItemUpdater {
processedItem.description =
"Purchase from Arbiters of Hexis for 125,000 standing";

if (name.startsWith("Kuva "))
processedItem.description = "Acquire by vanquishing a Kuva Lich";
else if (SISTER_WEAPONS.includes(name))
processedItem.description =
"Acquire by vanquishing a Sister of Parvos";
else if (HOLOKEY_WEAPONS.includes(name))
processedItem.description =
"Purchase from Ergo Glast for 40 Corrupted Holokeys";

if (name.startsWith("Mk1-"))
processedItem.wiki = `${WIKI_URL}/${name.replace("Mk1-", "MK1-")}`;
else if (type === "MOA" || type === "HOUND")
Expand Down

0 comments on commit 9dc0ae7

Please sign in to comment.