share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
branchspacecampaign
changeset 9445 7656a8cb4b13
parent 9443 3fd77bcdd725
child 9447 285fb0e61a3f
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Thu Aug 01 23:43:43 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Thu Aug 01 23:54:45 2013 +0300
@@ -492,7 +492,10 @@
 	elseif cratesFound == 1 then
 		-- end game
 		AnimSay(hero.gear, loc("Hoo Ray!!!"), SAY_SHOUT, 5000)
-		-- do stats etc
+		SendStat('siGameResult', loc("Congratulations, you got the part!")) --1
+		SendStat('siCustomAchievement', loc("To win the game you had to collect 2 crates with no specific order")) --11
+		SendStat('siPlayerKills','1',teamC.name)
+		SendStat('siPlayerKills','0',teamB.name)
 		EndGame()
 	end
 end