share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua
branchspacecampaign
changeset 9518 549ca737206c
parent 9516 d46172a49215
child 9520 34c7ba17c66b
equal deleted inserted replaced
9516:d46172a49215 9518:549ca737206c
   386 	SetHogLevel(green1.gear, 1)
   386 	SetHogLevel(green1.gear, 1)
   387 	AnimSwitchHog(yellow1.gear)
   387 	AnimSwitchHog(yellow1.gear)
   388 	TurnTimeLeft = 0
   388 	TurnTimeLeft = 0
   389 end
   389 end
   390 
   390 
   391 function gameLost()	
   391 function gameLost()
   392 	SendStat('siGameResult', loc("Green Bananas lost, try again!")) --1
   392 	if chooseToBattle then
   393 	SendStat('siCustomAchievement', loc("Tips...")) --11
   393 		SendStat('siGameResult', loc("Green Bananas lost, try again!")) --1
       
   394 		SendStat('siCustomAchievement', loc("You have to eliminate all the visible enemies")) --11
       
   395 		SendStat('siCustomAchievement', loc("5 additional enemies will be spawned during the game")) --11
       
   396 		SendStat('siCustomAchievement', loc("You are controlling all the active ally units")) --11
       
   397 		SendStat('siCustomAchievement', loc("The ally units share their ammo")) --11
       
   398 		SendStat('siCustomAchievement', loc("Try to keep as many allies alive as possible")) --11
       
   399 	else
       
   400 		SendStat('siGameResult', loc("Hog Solo couldn't escape, try again!")) --1
       
   401 		SendStat('siCustomAchievement', loc("You have to get to the most left land and remove any enemy hog from there")) --11
       
   402 		SendStat('siCustomAchievement', loc("You will play every 3 turns")) --11
       
   403 		SendStat('siCustomAchievement', loc("Green hogs won't intenionally hurt you")) --11
       
   404 	end	
   394 	SendStat('siPlayerKills','1',teamC.name)
   405 	SendStat('siPlayerKills','1',teamC.name)
   395 	SendStat('siPlayerKills','0',teamA.name)
   406 	SendStat('siPlayerKills','0',teamA.name)
   396 	SendStat('siPlayerKills','0',teamB.name)
   407 	SendStat('siPlayerKills','0',teamB.name)
   397 	EndGame()
   408 	EndGame()
   398 end
   409 end