give cheeky sprodling items for completing all trips
All checks were successful
Build / build (pull_request) Successful in 1m8s

This commit is contained in:
Sainan 2025-10-24 09:01:42 +02:00
parent 244c6df4f0
commit 6da3e30348

View File

@ -1391,7 +1391,10 @@ export const addStanding = (
// TODO: AffiliationMods support (Nightwave).
export const updateGeneric = async (data: IGenericUpdate, accountId: string): Promise<IUpdateNodeIntrosResponse> => {
const inventory = await getInventory(accountId, "NodeIntrosCompleted MiscItems ShipDecorations");
const inventory = await getInventory(
accountId,
"NodeIntrosCompleted MiscItems ShipDecorations FlavourItems WeaponSkins"
);
// Make it an array for easier parsing.
if (typeof data.NodeIntrosCompleted === "string") {
@ -1426,6 +1429,13 @@ export const updateGeneric = async (data: IGenericUpdate, accountId: string): Pr
await addEmailItem(inventory, "/Lotus/Types/Items/EmailItems/BeatCaliberChicksEmailItem", inventoryChanges);
} else if (node == "ClearedFiveLoops") {
await addEmailItem(inventory, "/Lotus/Types/Items/EmailItems/ClearedFiveLoopsEmailItem", inventoryChanges);
} else if (node == "NokkoVisions_AllCompleted") {
addCustomization(
inventory,
"/Lotus/Types/StoreItems/AvatarImages/Warframes/NokkoBabySecretGlyph",
inventoryChanges
);
addSkin(inventory, "/Lotus/Upgrades/Skins/Clan/NokkoBabySecretEmblemItem", inventoryChanges);
}
}
await inventory.save();