share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death02.lua
branchspacecampaign
changeset 9631 a9b7bfac05ee
parent 9630 df942cfac4e6
child 9642 8a691e0f117a
equal deleted inserted replaced
9630:df942cfac4e6 9631:a9b7bfac05ee
   186 
   186 
   187 function heroWin(gear)
   187 function heroWin(gear)
   188 	saveBonus(3, 4)
   188 	saveBonus(3, 4)
   189 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   189 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   190 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   190 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   191 	-- TODO SendStat('siCustomAchievement', loc("You have gained some extra life")) --11		
   191 	SendStat('siCustomAchievement', loc("The next 4 times you'll play the \"The last encounter\" mission you'll get 20 more hit points and a Laser Sight")) --11		
   192 	SendStat('siPlayerKills','1',teamA.name)
   192 	SendStat('siPlayerKills','1',teamA.name)
   193 	EndGame()
   193 	EndGame()
   194 end
   194 end
   195 
   195 
   196 -------------- ANIMATIONS ------------------
   196 -------------- ANIMATIONS ------------------