chore: send messages after completing quest
This commit is contained in:
parent
b2bdd64fb8
commit
8eae85486d
@ -50,6 +50,7 @@ import { createShip } from "./shipService";
|
||||
import { creditBundles, fusionBundles } from "@/src/services/missionInventoryUpdateService";
|
||||
import { IKeyChainRequest } from "@/src/controllers/api/giveKeyChainTriggeredItemsController";
|
||||
import { toOid } from "../helpers/inventoryHelpers";
|
||||
import { createMessage } from "./inboxService";
|
||||
|
||||
export const createInventory = async (
|
||||
accountOwnerId: Types.ObjectId,
|
||||
@ -78,6 +79,45 @@ export const createInventory = async (
|
||||
{ ItemCount: 1, ItemType: "/Lotus/Types/Restoratives/LisetAutoHack" }
|
||||
];
|
||||
|
||||
// Give Darvo items that would be given after completing vors prize
|
||||
createMessage(String(accountOwnerId), [
|
||||
{
|
||||
sub: "/Lotus/Language/G1Quests/Beginner_Growth_Inbox_Title",
|
||||
sndr: "/Lotus/Language/Menu/Mailbox_WarframeSender",
|
||||
msg: "/Lotus/Language/G1Quests/Beginner_Growth_Inbox_Desc",
|
||||
icon: "/Lotus/Interface/Icons/Npcs/Lotus_d.png",
|
||||
transmission: "/Lotus/Sounds/Dialog/VorsPrize/DLisetPostAssassinate110Lotus",
|
||||
highPriority: true,
|
||||
r: false
|
||||
},
|
||||
{
|
||||
sub: "/Lotus/Language/Inbox/DarvoWeaponCraftingMessageBTitle",
|
||||
sndr: "/Lotus/Language/Bosses/Darvo",
|
||||
msg: "/Lotus/Language/Inbox/DarvoWeaponCraftingMessageBDesc",
|
||||
icon: "/Lotus/Interface/Icons/Npcs/Darvo.png",
|
||||
countedAtt: [
|
||||
{
|
||||
ItemCount: 1,
|
||||
ItemType: "/Lotus/Types/Recipes/Weapons/BurstonRifleBlueprint"
|
||||
},
|
||||
{
|
||||
ItemCount: 1,
|
||||
ItemType: "/Lotus/Types/Items/MiscItems/Morphic"
|
||||
},
|
||||
{
|
||||
ItemCount: 400,
|
||||
ItemType: "/Lotus/Types/Items/MiscItems/PolymerBundle"
|
||||
},
|
||||
{
|
||||
ItemCount: 150,
|
||||
ItemType: "/Lotus/Types/Items/MiscItems/AlloyPlate"
|
||||
}
|
||||
],
|
||||
highPriority: true,
|
||||
r: false
|
||||
}
|
||||
]);
|
||||
|
||||
// const vorsPrizeRewards = [
|
||||
// // Vor's Prize rewards
|
||||
// { ItemCount: 1, ItemType: "/Lotus/Upgrades/Mods/Warframe/AvatarHealthMaxMod" },
|
||||
|
@ -7,43 +7,6 @@
|
||||
"icon": "/Lotus/Interface/Icons/Npcs/Darvo.png",
|
||||
"eventMessageDate": "2025-01-30T13:00:00.000Z",
|
||||
"r": false
|
||||
},
|
||||
{
|
||||
"sub": "/Lotus/Language/Inbox/DarvoWeaponCraftingMessageBTitle",
|
||||
"sndr": "/Lotus/Language/Bosses/Darvo",
|
||||
"msg": "/Lotus/Language/Inbox/DarvoWeaponCraftingMessageBDesc",
|
||||
"icon": "/Lotus/Interface/Icons/Npcs/Darvo.png",
|
||||
"countedAtt": [
|
||||
{
|
||||
"ItemCount": 1,
|
||||
"ItemType": "/Lotus/Types/Recipes/Weapons/BurstonRifleBlueprint"
|
||||
},
|
||||
{
|
||||
"ItemCount": 1,
|
||||
"ItemType": "/Lotus/Types/Items/MiscItems/Morphic"
|
||||
},
|
||||
{
|
||||
"ItemCount": 400,
|
||||
"ItemType": "/Lotus/Types/Items/MiscItems/PolymerBundle"
|
||||
},
|
||||
{
|
||||
"ItemCount": 150,
|
||||
"ItemType": "/Lotus/Types/Items/MiscItems/AlloyPlate"
|
||||
}
|
||||
],
|
||||
"highPriority": true,
|
||||
"eventMessageDate": "2023-10-01T17:00:00.000Z",
|
||||
"r": false
|
||||
},
|
||||
{
|
||||
"sub": "/Lotus/Language/G1Quests/Beginner_Growth_Inbox_Title",
|
||||
"sndr": "/Lotus/Language/Menu/Mailbox_WarframeSender",
|
||||
"msg": "/Lotus/Language/G1Quests/Beginner_Growth_Inbox_Desc",
|
||||
"icon": "/Lotus/Interface/Icons/Npcs/Lotus_d.png",
|
||||
"transmission": "/Lotus/Sounds/Dialog/VorsPrize/DLisetPostAssassinate110Lotus",
|
||||
"highPriority": true,
|
||||
"eventMessageDate": "2023-09-01T17:00:00.000Z",
|
||||
"r": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user