forked from OpenWF/SpaceNinjaServer
		
	Fix the rewards of Second Dream (#1498)
Adds the two missing inbox items of Second Dream. Reviewed-on: OpenWF/SpaceNinjaServer#1498 Co-authored-by: VampireKitten <dynamightkobold@gmail.com> Co-committed-by: VampireKitten <dynamightkobold@gmail.com>
This commit is contained in:
		
							parent
							
								
									5702ab5f3b
								
							
						
					
					
						commit
						4362a842ff
					
				@ -177,6 +177,22 @@ export const completeQuest = async (inventory: TInventoryDatabaseDocument, quest
 | 
				
			|||||||
        await giveKeyChainMissionReward(inventory, { KeyChain: questKey, ChainStage: i });
 | 
					        await giveKeyChainMissionReward(inventory, { KeyChain: questKey, ChainStage: i });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (questKey == "/Lotus/Types/Keys/OrokinMoonQuest/OrokinMoonQuestKeyChain") {
 | 
				
			||||||
 | 
					        void createMessage(inventory.accountOwnerId, [
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                sndr: "/Lotus/Language/Bosses/Ordis",
 | 
				
			||||||
 | 
					                msg: "/Lotus/Language/G1Quests/SecondDreamFinishInboxMessage",
 | 
				
			||||||
 | 
					                att: [
 | 
				
			||||||
 | 
					                    "/Lotus/Weapons/Tenno/Melee/Swords/StalkerTwo/StalkerTwoSmallSword",
 | 
				
			||||||
 | 
					                    "/Lotus/Upgrades/Skins/Sigils/ScarSigil"
 | 
				
			||||||
 | 
					                ],
 | 
				
			||||||
 | 
					                sub: "/Lotus/Language/G1Quests/SecondDreamFinishInboxTitle",
 | 
				
			||||||
 | 
					                icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
 | 
				
			||||||
 | 
					                highPriority: true
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        ]);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const questCompletionItems = getQuestCompletionItems(questKey);
 | 
					    const questCompletionItems = getQuestCompletionItems(questKey);
 | 
				
			||||||
    logger.debug(`quest completion items`, questCompletionItems);
 | 
					    logger.debug(`quest completion items`, questCompletionItems);
 | 
				
			||||||
    if (questCompletionItems) {
 | 
					    if (questCompletionItems) {
 | 
				
			||||||
 | 
				
			|||||||
@ -5,5 +5,11 @@
 | 
				
			|||||||
      "ItemCount": 1
 | 
					      "ItemCount": 1
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "/Lotus/Types/Keys/InfestedMicroplanetQuest/InfestedMicroplanetQuestKeyChain": [{ "ItemType": "/Lotus/Types/Recipes/WarframeRecipes/BrokenFrameBlueprint", "ItemCount": 1 }]
 | 
					  "/Lotus/Types/Keys/InfestedMicroplanetQuest/InfestedMicroplanetQuestKeyChain": [{ "ItemType": "/Lotus/Types/Recipes/WarframeRecipes/BrokenFrameBlueprint", "ItemCount": 1 }],
 | 
				
			||||||
 | 
					  "/Lotus/Types/Keys/OrokinMoonQuest/OrokinMoonQuestKeyChain": [
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "ItemType": "/Lotus/Types/Keys/RailJackBuildQuest/RailjackBuildQuestEmailItem",
 | 
				
			||||||
 | 
					      "ItemCount": 1
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user