share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
changeset 12536 e12e2dfda06f
parent 12535 00d3c280034b
child 12537 3e6e7b258a33
equal deleted inserted replaced
12535:00d3c280034b 12536:e12e2dfda06f
   535 	SendStat(siGameResult, loc("Congratulations, you acquired the device part!"))
   535 	SendStat(siGameResult, loc("Congratulations, you acquired the device part!"))
   536 	SendStat(siCustomAchievement, string.format(loc("At the end of the game your health was %d."), GetHealth(hero.gear)))
   536 	SendStat(siCustomAchievement, string.format(loc("At the end of the game your health was %d."), GetHealth(hero.gear)))
   537 	-- maybe add number of tries for each part?
   537 	-- maybe add number of tries for each part?
   538 	SendStat(siPlayerKills,'1',teamC.name)
   538 	SendStat(siPlayerKills,'1',teamC.name)
   539 	SendStat(siPlayerKills,'0',teamB.name)
   539 	SendStat(siPlayerKills,'0',teamB.name)
       
   540 	resetCheckpoint() -- reset this mission
   540 	EndGame()
   541 	EndGame()
   541 end
   542 end