# HG changeset patch # User Periklis Ntanasis # Date 1376164647 -10800 # Node ID 549ca737206c88d7afa26de67a8da5adeddb88ea # Parent d46172a4921596755d34f7aa49d840ff8e2e99b5 custom stats in case of lose diff -r d46172a49215 -r 549ca737206c share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua --- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Sat Aug 10 22:44:51 2013 +0300 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Sat Aug 10 22:57:27 2013 +0300 @@ -388,9 +388,20 @@ TurnTimeLeft = 0 end -function gameLost() - SendStat('siGameResult', loc("Green Bananas lost, try again!")) --1 - SendStat('siCustomAchievement', loc("Tips...")) --11 +function gameLost() + if chooseToBattle then + SendStat('siGameResult', loc("Green Bananas lost, try again!")) --1 + SendStat('siCustomAchievement', loc("You have to eliminate all the visible enemies")) --11 + SendStat('siCustomAchievement', loc("5 additional enemies will be spawned during the game")) --11 + SendStat('siCustomAchievement', loc("You are controlling all the active ally units")) --11 + SendStat('siCustomAchievement', loc("The ally units share their ammo")) --11 + SendStat('siCustomAchievement', loc("Try to keep as many allies alive as possible")) --11 + else + SendStat('siGameResult', loc("Hog Solo couldn't escape, try again!")) --1 + SendStat('siCustomAchievement', loc("You have to get to the most left land and remove any enemy hog from there")) --11 + SendStat('siCustomAchievement', loc("You will play every 3 turns")) --11 + SendStat('siCustomAchievement', loc("Green hogs won't intenionally hurt you")) --11 + end SendStat('siPlayerKills','1',teamC.name) SendStat('siPlayerKills','0',teamA.name) SendStat('siPlayerKills','0',teamB.name)