This commit is contained in:
nrbdev 2025-02-20 05:58:14 -05:00
parent be9dec0107
commit 31ed3540f5

View File

@ -20,11 +20,6 @@ export const giveStartingGearController: RequestHandler = async (req, res) => {
const dataJSON = getJSONfromString<IStartingGearClient>(String(req.body)); const dataJSON = getJSONfromString<IStartingGearClient>(String(req.body));
await addKeyChainItems(inventory, {
KeyChain: "/Lotus/Types/Keys/VorsPrize/VorsPrizeQuestKeyChain",
ChainStage: 0
});
for (const key of Object.keys(dataJSON) as Array<keyof IStartingGearClient>) { for (const key of Object.keys(dataJSON) as Array<keyof IStartingGearClient>) {
switch (key) { switch (key) {
// This is the only gear we receive as the rest will come from future quests // This is the only gear we receive as the rest will come from future quests
@ -49,6 +44,11 @@ export const giveStartingGearController: RequestHandler = async (req, res) => {
} }
} }
await addKeyChainItems(inventory, {
KeyChain: "/Lotus/Types/Keys/VorsPrize/VorsPrizeQuestKeyChain",
ChainStage: 0
});
addConsumables(inventory, [{ ItemCount: 1, ItemType: "/Lotus/Types/Restoratives/LisetAutoHack" }]); addConsumables(inventory, [{ ItemCount: 1, ItemType: "/Lotus/Types/Restoratives/LisetAutoHack" }]);
if (!config.unlockAllFlavourItems) { if (!config.unlockAllFlavourItems) {
inventory.FlavourItems.push([ inventory.FlavourItems.push([