diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts index 621f10c3..1b85d17e 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -180,6 +180,22 @@ export const addItem = async ( [weaponType]: [weapon] } }; + case "Upgrades": { + const inventory = await getInventory(accountId); + const changes = [ + { + ItemType: typeName, + ItemCount: quantity + } + ]; + addMods(inventory, changes); + await inventory.save(); + return { + InventoryChanges: { + ShipDecorations: changes + } + }; + } case "Objects": { // /Lotus/Objects/Tenno/Props/TnoLisetTextProjector (Note Beacon) const inventory = await getInventory(accountId);