--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Sat Aug 10 22:57:27 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Sun Aug 11 22:28:58 2013 +0300
@@ -298,11 +298,21 @@
function battleWin(gear)
-- add stats
+ SendStat('siGameResult', loc("Green Bananas won!")) --1
+ SendStat('siCustomAchievement', loc("You have eliminated all the visible enemy hogs!")) --11
+ SendStat('siPlayerKills','1',teamA.name)
+ SendStat('siPlayerKills','1',teamB.name)
+ SendStat('siPlayerKills','0',teamC.name)
EndGame()
end
function escapeWin(gear)
-- add stats
+ SendStat('siGameResult', loc("Hog Solo escaped successfully!")) --1
+ SendStat('siCustomAchievement', loc("You have reached the flying area successfully!")) --11
+ SendStat('siPlayerKills','1',teamA.name)
+ SendStat('siPlayerKills','0',teamB.name)
+ SendStat('siPlayerKills','0',teamC.name)
EndGame()
end