forked from OpenWF/SpaceNinjaServer
		
	feat: send jordas precept email when completing pluto to eris junction (#1660)
Closes #1659 Reviewed-on: OpenWF/SpaceNinjaServer#1660 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									7d607b7348
								
							
						
					
					
						commit
						46aef2c00e
					
				@ -629,6 +629,19 @@ export const addMissionRewards = async (
 | 
				
			|||||||
        if (node.missionReward) {
 | 
					        if (node.missionReward) {
 | 
				
			||||||
            missionCompletionCredits += addFixedLevelRewards(node.missionReward, inventory, MissionRewards, rewardInfo);
 | 
					            missionCompletionCredits += addFixedLevelRewards(node.missionReward, inventory, MissionRewards, rewardInfo);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (missions.Tag == "PlutoToErisJunction") {
 | 
				
			||||||
 | 
					            await createMessage(inventory.accountOwnerId, [
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    sndr: "/Lotus/Language/G1Quests/GolemQuestJordasName",
 | 
				
			||||||
 | 
					                    msg: "/Lotus/Language/G1Quests/GolemQuestIntroBody",
 | 
				
			||||||
 | 
					                    att: ["/Lotus/Types/Keys/GolemQuest/GolemQuestKeyChainItem"],
 | 
				
			||||||
 | 
					                    sub: "/Lotus/Language/G1Quests/GolemQuestIntroTitle",
 | 
				
			||||||
 | 
					                    icon: "/Lotus/Interface/Icons/Npcs/JordasPortrait.png",
 | 
				
			||||||
 | 
					                    highPriority: true
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            ]);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (rewardInfo.useVaultManifest) {
 | 
					    if (rewardInfo.useVaultManifest) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user