share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua
branchspacecampaign
changeset 9631 a9b7bfac05ee
parent 9630 df942cfac4e6
child 9642 8a691e0f117a
equal deleted inserted replaced
9630:df942cfac4e6 9631:a9b7bfac05ee
   212 
   212 
   213 function heroWin(gear)
   213 function heroWin(gear)
   214 	saveBonus(2, 1)
   214 	saveBonus(2, 1)
   215 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   215 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   216 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   216 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   217 	-- TODO SendStat('siCustomAchievement', loc("You will gain some extra ammo the next time you play the Getting to the device mission")) --11		
   217 	SendStat('siCustomAchievement', loc("You will gain some extra ammo from the crates the next time you play the \"Getting to the device\" mission")) --11		
   218 	SendStat('siPlayerKills','1',teamA.name)
   218 	SendStat('siPlayerKills','1',teamA.name)
   219 	EndGame()
   219 	EndGame()
   220 end
   220 end
   221 
   221 
   222 -------------- ANIMATIONS ------------------
   222 -------------- ANIMATIONS ------------------