share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua
changeset 12544 19192a3cb674
parent 12543 952afc3d2df2
child 12568 8a9919381629
equal deleted inserted replaced
12543:952afc3d2df2 12544:19192a3cb674
   213 	saveBonus(1, 1)
   213 	saveBonus(1, 1)
   214 	SendStat(siGameResult, loc("Congratulations, you are the best!"))
   214 	SendStat(siGameResult, loc("Congratulations, you are the best!"))
   215 	SendStat(siCustomAchievement, loc("You have destroyed all the targets."))
   215 	SendStat(siCustomAchievement, loc("You have destroyed all the targets."))
   216 	SendStat(siCustomAchievement, loc("You are indeed the best PAotH pilot."))
   216 	SendStat(siCustomAchievement, loc("You are indeed the best PAotH pilot."))
   217 	SendStat(siCustomAchievement, loc("Next time you play \"Searching in the dust\" you'll have an RC plane available."))
   217 	SendStat(siCustomAchievement, loc("Next time you play \"Searching in the dust\" you'll have an RC plane available."))
   218 	SendStat(siPlayerKills,'0',teamA.name)
   218 	sendSimpleTeamRankings({teamA.name})
   219 	SaveCampaignVar("Mission12Won", "true")
   219 	SaveCampaignVar("Mission12Won", "true")
   220 	checkAllMissionsCompleted()
   220 	checkAllMissionsCompleted()
   221 	EndGame()
   221 	EndGame()
   222 end
   222 end
   223 
   223 
   224 function gameOver()
   224 function gameOver()
   225 	SendStat(siGameResult, loc("Hog Solo lost, try again!"))
   225 	SendStat(siGameResult, loc("Hog Solo lost, try again!"))
   226 	SendStat(siCustomAchievement, loc("You have to destroy all the targets."))
   226 	SendStat(siCustomAchievement, loc("You have to destroy all the targets."))
   227 	SendStat(siCustomAchievement, loc("You will fail if you run out of ammo and there are still targets available."))
   227 	SendStat(siCustomAchievement, loc("You will fail if you run out of ammo and there are still targets available."))
   228 	SendStat(siCustomAchievement, loc("Read the challenge objectives from within the mission for more details."))
   228 	SendStat(siCustomAchievement, loc("Read the challenge objectives from within the mission for more details."))
   229 	SendStat(siPlayerKills,'0',teamA.name)
   229 	sendSimpleTeamRankings({teamA.name})
   230 	EndGame()
   230 	EndGame()
   231 end
   231 end