improve: set ArchwingEnabled in inventory when completeAllQuests is set
This allows us to purchase Archwings in the market, although that's kinda broken right now.
This commit is contained in:
		
							parent
							
								
									62c8d603df
								
							
						
					
					
						commit
						4fa931c093
					
				@ -59,6 +59,7 @@ const inventoryController: RequestHandler = async (request: Request, response: R
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    if (config.completeAllQuests) {
 | 
					    if (config.completeAllQuests) {
 | 
				
			||||||
        inventoryResponse.NodeIntrosCompleted.push("/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level");
 | 
					        inventoryResponse.NodeIntrosCompleted.push("/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level");
 | 
				
			||||||
 | 
					        inventoryResponse.ArchwingEnabled = true;
 | 
				
			||||||
        for (const quest of inventoryResponse.QuestKeys) {
 | 
					        for (const quest of inventoryResponse.QuestKeys) {
 | 
				
			||||||
            quest.Completed = true;
 | 
					            quest.Completed = true;
 | 
				
			||||||
            quest.Progress = [
 | 
					            quest.Progress = [
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user