moved
This commit is contained in:
		
							parent
							
								
									7efcdfd9a3
								
							
						
					
					
						commit
						605905c880
					
				@ -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([
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user