share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua
changeset 12538 952afc3d2df2
parent 12515 2df340544f25
child 12575 0c5ce463949b
equal deleted inserted replaced
12537:66566cfe0a7e 12538:952afc3d2df2
   247 	SendStat(siGameResult, loc("Too slow! Try again ..."))
   247 	SendStat(siGameResult, loc("Too slow! Try again ..."))
   248 	SendStat(siCustomAchievement, loc("You have to catch the other hog 3 times."))
   248 	SendStat(siCustomAchievement, loc("You have to catch the other hog 3 times."))
   249 	SendStat(siCustomAchievement, loc("The time that you have left when you reach the blue hedgehog will be added to the next turn."))
   249 	SendStat(siCustomAchievement, loc("The time that you have left when you reach the blue hedgehog will be added to the next turn."))
   250 	SendStat(siCustomAchievement, loc("Each turn you'll have only one rope to use."))
   250 	SendStat(siCustomAchievement, loc("Each turn you'll have only one rope to use."))
   251 	SendStat(siCustomAchievement, loc("You'll lose if you die or if your time is up."))
   251 	SendStat(siCustomAchievement, loc("You'll lose if you die or if your time is up."))
   252 	SendStat(siPlayerKills,'0',teamA.name)
   252 	sendSimpleTeamRankings({teamB.name, teamA.name})
   253 	EndGame()
   253 	EndGame()
   254 end
   254 end
   255 
   255 
   256 function win()
   256 function win()
   257 	SendStat(siGameResult, loc("Congratulations, you are the fastest!"))
   257 	SendStat(siGameResult, loc("Congratulations, you are the fastest!"))
   258 	-- siCustomAchievements were added earlier
   258 	-- siCustomAchievements were added earlier
   259 	SendStat(siPlayerKills,'0',teamA.name)
   259 	sendSimpleTeamRankings({teamA.name, teamB.name})
   260 	SaveCampaignVar("Mission13Won", "true")
   260 	SaveCampaignVar("Mission13Won", "true")
   261 	checkAllMissionsCompleted()
   261 	checkAllMissionsCompleted()
   262 	EndGame()
   262 	EndGame()
   263 end
   263 end