chore: send messages after completing quest instead of on account creation #976
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -124,5 +124,5 @@ dict = {
|
||||
cheats_quests_CompleteAllUnlocked: `[UNTRANSLATED] Complete All Unlocked Quests`,
|
||||
cheats_quests_ResetAll: `[UNTRANSLATED] Reset All Quests`,
|
||||
import_importNote: `Вы можете загрузить полный или частичный ответ инвентаря (клиентское представление) здесь. Все поддерживаемые поля <b>будут перезаписаны</b> в вашем аккаунте.`,
|
||||
import_submit: `Submit`
|
||||
import_submit: `Отправить`
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user