share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua
changeset 12685 5a253f158071
parent 12592 0b27d8b4f8e7
child 12938 e65aa3c3d4e6
equal deleted inserted replaced
12684:6f05a02d43b2 12685:5a253f158071
   337 		SendStat(siGameResult, loc("Hog Solo lost, try again!"))
   337 		SendStat(siGameResult, loc("Hog Solo lost, try again!"))
   338 		SendStat(siCustomAchievement, loc("To win the game, Hog Solo has to get the bottom crates and come back to the surface."))
   338 		SendStat(siCustomAchievement, loc("To win the game, Hog Solo has to get the bottom crates and come back to the surface."))
   339 		SendStat(siCustomAchievement, loc("You can use the other 2 hogs to assist you."))
   339 		SendStat(siCustomAchievement, loc("You can use the other 2 hogs to assist you."))
   340 		SendStat(siCustomAchievement, loc("Do not destroy the crates!"))
   340 		SendStat(siCustomAchievement, loc("Do not destroy the crates!"))
   341 		if tookPartInBattle then
   341 		if tookPartInBattle then
   342 			SendStat(siCustomAchievement, loc("You'll have to eliminate the Fruit Assassins at the end."))
       
   343 			if permitCaptainLimeDeath then
   342 			if permitCaptainLimeDeath then
       
   343 				SendStat(siCustomAchievement, loc("You'll have to eliminate the Fruit Assassins at the end."))
   344 				sendSimpleTeamRankings({teamC.name, teamA.name})
   344 				sendSimpleTeamRankings({teamC.name, teamA.name})
   345 			else
   345 			else
   346 				sendSimpleTeamRankings({teamA.name})
   346 				sendSimpleTeamRankings({teamA.name})
   347 			end
   347 			end
   348 		else
   348 		else
   349 			SendStat(siCustomAchievement, loc("You'll have to eliminate Captain Lime at the end."))
       
   350 			SendStat(siCustomAchievement, loc("Don't eliminate Captain Lime before collecting the last crate!"))
       
   351 			if permitCaptainLimeDeath then
   349 			if permitCaptainLimeDeath then
       
   350 				SendStat(siCustomAchievement, loc("You'll have to eliminate Captain Lime at the end."))
   352 				sendSimpleTeamRankings({teamB.name, teamA.name})
   351 				sendSimpleTeamRankings({teamB.name, teamA.name})
   353 			else
   352 			else
       
   353 				SendStat(siCustomAchievement, loc("Don't eliminate Captain Lime before collecting the last crate!"))
   354 				sendSimpleTeamRankings({teamA.name})
   354 				sendSimpleTeamRankings({teamA.name})
   355 			end
   355 			end
   356 		end
   356 		end
   357 		EndGame()
   357 		EndGame()
   358 		ended = true
   358 		ended = true