forked from OpenWF/SpaceNinjaServer
chore: send messages after completing quest
This commit is contained in:
parent
fb8d176fbe
commit
e7bf9733fb
@ -47,6 +47,7 @@ import {
|
|||||||
ExportWeapons,
|
ExportWeapons,
|
||||||
TStandingLimitBin
|
TStandingLimitBin
|
||||||
} from "warframe-public-export-plus";
|
} from "warframe-public-export-plus";
|
||||||
|
import { createMessage } from "./inboxService";
|
||||||
import { createShip } from "./shipService";
|
import { createShip } from "./shipService";
|
||||||
import { creditBundles, fusionBundles } from "@/src/services/missionInventoryUpdateService";
|
import { creditBundles, fusionBundles } from "@/src/services/missionInventoryUpdateService";
|
||||||
import { IKeyChainRequest } from "@/src/controllers/api/giveKeyChainTriggeredItemsController";
|
import { IKeyChainRequest } from "@/src/controllers/api/giveKeyChainTriggeredItemsController";
|
||||||
@ -79,6 +80,45 @@ export const createInventory = async (
|
|||||||
{ ItemCount: 1, ItemType: "/Lotus/Types/Restoratives/LisetAutoHack" }
|
{ ItemCount: 1, ItemType: "/Lotus/Types/Restoratives/LisetAutoHack" }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Give Darvo items that would be given after completing vors prize
|
||||||
|
await 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 = [
|
// const vorsPrizeRewards = [
|
||||||
// // Vor's Prize rewards
|
// // Vor's Prize rewards
|
||||||
// { ItemCount: 1, ItemType: "/Lotus/Upgrades/Mods/Warframe/AvatarHealthMaxMod" },
|
// { ItemCount: 1, ItemType: "/Lotus/Upgrades/Mods/Warframe/AvatarHealthMaxMod" },
|
||||||
|
@ -7,43 +7,6 @@
|
|||||||
"icon": "/Lotus/Interface/Icons/Npcs/Darvo.png",
|
"icon": "/Lotus/Interface/Icons/Npcs/Darvo.png",
|
||||||
"eventMessageDate": "2025-01-30T13:00:00.000Z",
|
"eventMessageDate": "2025-01-30T13:00:00.000Z",
|
||||||
"r": false
|
"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