share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit03.lua
branchspacecampaign
changeset 9630 df942cfac4e6
parent 9601 6af4ca27421a
child 9631 a9b7bfac05ee
equal deleted inserted replaced
9629:1655c50d9c51 9630:df942cfac4e6
   209 	SendStat('siPlayerKills','0',teamA.name)
   209 	SendStat('siPlayerKills','0',teamA.name)
   210 	EndGame()
   210 	EndGame()
   211 end
   211 end
   212 
   212 
   213 function heroWin(gear)
   213 function heroWin(gear)
       
   214 	saveBonus(2, 1)
   214 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   215 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   215 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   216 	SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11			
   216 	-- TODO SendStat('siCustomAchievement', loc("You will gain some extra ammo the next time you play the Getting to the device mission")) --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('siPlayerKills','1',teamA.name)
   218 	SendStat('siPlayerKills','1',teamA.name)
   218 	EndGame()
   219 	EndGame()