share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
changeset 11965 72be38f6d0c0
parent 11964 f3c1679694d3
child 12049 030464f34d47
equal deleted inserted replaced
11964:f3c1679694d3 11965:72be38f6d0c0
   604 	SendStat(siGameResult, planetMsg)
   604 	SendStat(siGameResult, planetMsg)
   605 	SendStat(siCustomAchievement, loc("Return to the mission menu by pressing the \"Go back\" button."))
   605 	SendStat(siCustomAchievement, loc("Return to the mission menu by pressing the \"Go back\" button."))
   606 	SendStat(siCustomAchievement, loc("You can choose another planet by replaying this mission."))
   606 	SendStat(siCustomAchievement, loc("You can choose another planet by replaying this mission."))
   607 	SendStat(siCustomAchievement, loc("Planets with completed main missions will be marked with a flower."))
   607 	SendStat(siCustomAchievement, loc("Planets with completed main missions will be marked with a flower."))
   608 	SendStat(siCustomAchievement, loc("Planets with all missions completed will be marked with two flowers."))
   608 	SendStat(siCustomAchievement, loc("Planets with all missions completed will be marked with two flowers."))
       
   609 	if GetCampaignVar("Won") == "true" and GetCampaignVar("Mission1Won") ~= "true" then
       
   610 		SendStat(siCustomAchievement, loc("Complete all main and side missions to complete the spacetrip mission."))
       
   611 	end
   609 	SendStat(siPlayerKills,'1',teamC.name)
   612 	SendStat(siPlayerKills,'1',teamC.name)
   610 	EndGame()
   613 	EndGame()
   611 end
   614 end
   612 
   615 
   613 function sendStatsOnRetry()
   616 function sendStatsOnRetry()