--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death02.lua Thu Sep 19 02:33:23 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death02.lua Thu Sep 19 03:49:29 2013 +0300
@@ -176,20 +176,20 @@
-------------- ACTIONS ------------------
function heroDeath(gear)
- SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1
- SendStat('siCustomAchievement', loc("You have to eliminate all the enemies")) --11
- SendStat('siCustomAchievement', loc("Read the Challenge Objectives from within the mission for more details")) --11
- SendStat('siPlayerKills','1',teamB.name)
- SendStat('siPlayerKills','0',teamA.name)
+ SendStat(siGameResult, loc("Hog Solo lost, try again!"))
+ SendStat(siCustomAchievement, loc("You have to eliminate all the enemies"))
+ SendStat(siCustomAchievement, loc("Read the Challenge Objectives from within the mission for more details"))
+ SendStat(siPlayerKills,'1',teamB.name)
+ SendStat(siPlayerKills,'0',teamA.name)
EndGame()
end
function heroWin(gear)
saveBonus(3, 4)
- SendStat('siGameResult', loc("Congratulations, you won!")) --1
- SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11
- 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
- SendStat('siPlayerKills','1',teamA.name)
+ SendStat(siGameResult, loc("Congratulations, you won!"))
+ SendStat(siCustomAchievement, loc("You complete the mission in "..TotalRounds.." rounds"))
+ 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"))
+ SendStat(siPlayerKills,'1',teamA.name)
EndGame()
end