share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua
changeset 11965 72be38f6d0c0
parent 11952 63988f36debf
child 12049 030464f34d47
equal deleted inserted replaced
11964:f3c1679694d3 11965:72be38f6d0c0
   212 	SendStat(siCustomAchievement, loc("You have destroyed all the targets."))
   212 	SendStat(siCustomAchievement, loc("You have destroyed all the targets."))
   213 	SendStat(siCustomAchievement, loc("You are indeed the best PAotH pilot."))
   213 	SendStat(siCustomAchievement, loc("You are indeed the best PAotH pilot."))
   214 	SendStat(siCustomAchievement, loc("Next time you play \"Searching in the dust\" you'll have an RC plane available."))
   214 	SendStat(siCustomAchievement, loc("Next time you play \"Searching in the dust\" you'll have an RC plane available."))
   215 	SendStat(siPlayerKills,'1',teamA.name)
   215 	SendStat(siPlayerKills,'1',teamA.name)
   216 	SaveCampaignVar("Mission12Won", "true")
   216 	SaveCampaignVar("Mission12Won", "true")
       
   217 	checkAllMissionsCompleted()
   217 	EndGame()
   218 	EndGame()
   218 end
   219 end
   219 
   220 
   220 function gameOver()
   221 function gameOver()
   221 	SendStat(siGameResult, loc("Hog Solo lost, try again!"))
   222 	SendStat(siGameResult, loc("Hog Solo lost, try again!"))