# HG changeset patch # User Periklis Ntanasis # Date 1375390485 -10800 # Node ID 7656a8cb4b13043888ad4552c4260405e93395c2 # Parent 3fd77bcdd725da1fb69566b227b28e532be58ddf stats on case of win diff -r 3fd77bcdd725 -r 7656a8cb4b13 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua --- 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 diff -r 3fd77bcdd725 -r 7656a8cb4b13 share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua Thu Aug 01 23:43:43 2013 +0300 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua Thu Aug 01 23:54:45 2013 +0300 @@ -380,7 +380,7 @@ AnimCaption(hero.gear, loc("Congrats! You won!"), 6000) AnimWait(hero.gear,5000) - SendStat('siGameResult', loc("Hog Solo win, conrgatulations!")) --1 + SendStat('siGameResult', loc("Hog Solo won, conrgatulations!")) --1 SendStat('siCustomAchievement', loc("Eliminated the evil minions")) --11 SendStat('siCustomAchievement', loc("Drove the professor away")) --11 SendStat('siPlayerKills','1',teamD.name)