share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
changeset 11692 68eddcdc9f26
parent 9831 afa4e3e04cc5
child 11964 f3c1679694d3
equal deleted inserted replaced
11646:42d7f5dbd8dc 11692:68eddcdc9f26
    59 hero.x = 1450
    59 hero.x = 1450
    60 hero.y = 1550
    60 hero.y = 1550
    61 director.name = loc("H")
    61 director.name = loc("H")
    62 director.x = 1350
    62 director.x = 1350
    63 director.y = 1550
    63 director.y = 1550
    64 doctor.name = loc("Dr.Cornelius")
    64 doctor.name = loc("Dr. Cornelius")
    65 doctor.x = 1300
    65 doctor.x = 1300
    66 doctor.y = 1550
    66 doctor.y = 1550
    67 guard1.name = loc("Bob")
    67 guard1.name = loc("Bob")
    68 guard1.x = 3350
    68 guard1.x = 3350
    69 guard1.y = 1800
    69 guard1.y = 1800
   360 
   360 
   361 function moonLanding(gear)
   361 function moonLanding(gear)
   362 	if checkPointReached == 1 then
   362 	if checkPointReached == 1 then
   363 		-- player climbed the moon with rope
   363 		-- player climbed the moon with rope
   364 		FollowGear(doctor.gear)
   364 		FollowGear(doctor.gear)
   365 		AnimSay(doctor.gear, loc("One cannot simply walk in moon with rope!"), SAY_SHOUT, 4000)
   365 		AnimSay(doctor.gear, loc("One does not simply rope to the moon!"), SAY_SHOUT, 4000)
   366 		SendStat(siGameResult, loc("This is the wrong way!"))
   366 		SendStat(siGameResult, loc("This is the wrong way!"))
   367 		SendStat(siCustomAchievement, loc("Collect the crate with the flying saucer"))
   367 		SendStat(siCustomAchievement, loc("Collect the crate with the flying saucer!"))
   368 		SendStat(siCustomAchievement, loc("Fly to the moon"))
   368 		SendStat(siCustomAchievement, loc("Fly to the moon."))
   369 		SendStat(siPlayerKills,'0',teamC.name)
   369 		SendStat(siPlayerKills,'0',teamC.name)
   370 		EndGame()
   370 		EndGame()
   371 	else
   371 	else
   372 		if checkPointReached ~= 5 then
   372 		if checkPointReached ~= 5 then
   373 			SaveCampaignVar("CosmosCheckPoint", "4")
   373 			SaveCampaignVar("CosmosCheckPoint", "4")
   378 		SaveCampaignVar("Planet", "moon")
   378 		SaveCampaignVar("Planet", "moon")
   379 		SaveCampaignVar("UnlockedMissions", "3")
   379 		SaveCampaignVar("UnlockedMissions", "3")
   380 		SaveCampaignVar("Mission1", "2")
   380 		SaveCampaignVar("Mission1", "2")
   381 		SaveCampaignVar("Mission2", "13")
   381 		SaveCampaignVar("Mission2", "13")
   382 		SaveCampaignVar("Mission3", "1")
   382 		SaveCampaignVar("Mission3", "1")
   383 		sendStats(loc("the moon"))
   383 		sendStats(loc("Hog Solo arrived at the moon!"))
   384 	end
   384 	end
   385 end
   385 end
   386 
   386 
   387 function fruitPlanetLanding(gear)
   387 function fruitPlanetLanding(gear)
   388 	if checkPointReached < 5 then
   388 	if checkPointReached < 5 then
   400 			SaveCampaignVar("UnlockedMissions", "3")
   400 			SaveCampaignVar("UnlockedMissions", "3")
   401 			SaveCampaignVar("Mission1", "3")
   401 			SaveCampaignVar("Mission1", "3")
   402 			SaveCampaignVar("Mission2", "10")
   402 			SaveCampaignVar("Mission2", "10")
   403 			SaveCampaignVar("Mission3", "1")
   403 			SaveCampaignVar("Mission3", "1")
   404 		end
   404 		end
   405 		sendStats(loc("the Fruit Planet"))
   405 		sendStats(loc("Hog Solo arrived at the Fruit Planet!"))
   406 	end
   406 	end
   407 end
   407 end
   408 
   408 
   409 function desertPlanetLanding(gear)
   409 function desertPlanetLanding(gear)
   410 	if checkPointReached < 5 then
   410 	if checkPointReached < 5 then
   415 		SaveCampaignVar("UnlockedMissions", "4")
   415 		SaveCampaignVar("UnlockedMissions", "4")
   416 		SaveCampaignVar("Mission1", "4")
   416 		SaveCampaignVar("Mission1", "4")
   417 		SaveCampaignVar("Mission2", "7")
   417 		SaveCampaignVar("Mission2", "7")
   418 		SaveCampaignVar("Mission3", "12")
   418 		SaveCampaignVar("Mission3", "12")
   419 		SaveCampaignVar("Mission4", "1")
   419 		SaveCampaignVar("Mission4", "1")
   420 		sendStats(loc("the Desert Planet"))
   420 		sendStats(loc("Hog Solo arrived at the Desert Planet!"))
   421 	end
   421 	end
   422 end
   422 end
   423 
   423 
   424 function icePlanetLanding(gear)
   424 function icePlanetLanding(gear)
   425 	if checkPointReached < 5 then
   425 	if checkPointReached < 5 then
   429 		SaveCampaignVar("Planet", "icePlanet")
   429 		SaveCampaignVar("Planet", "icePlanet")
   430 		SaveCampaignVar("UnlockedMissions", "3")
   430 		SaveCampaignVar("UnlockedMissions", "3")
   431 		SaveCampaignVar("Mission1", "5")
   431 		SaveCampaignVar("Mission1", "5")
   432 		SaveCampaignVar("Mission2", "6")
   432 		SaveCampaignVar("Mission2", "6")
   433 		SaveCampaignVar("Mission3", "1")
   433 		SaveCampaignVar("Mission3", "1")
   434 		sendStats(loc("the Ice Planet"))
   434 		sendStats(loc("Hog Solo arrived at the Ice Planet!"))
   435 	end
   435 	end
   436 end
   436 end
   437 
   437 
   438 function deathPlanetLanding(gear)
   438 function deathPlanetLanding(gear)
   439 	if checkPointReached < 5 then
   439 	if checkPointReached < 5 then
   445 		SaveCampaignVar("Planet", "deathPlanet")
   445 		SaveCampaignVar("Planet", "deathPlanet")
   446 		SaveCampaignVar("UnlockedMissions", "3")
   446 		SaveCampaignVar("UnlockedMissions", "3")
   447 		SaveCampaignVar("Mission1", "9")
   447 		SaveCampaignVar("Mission1", "9")
   448 		SaveCampaignVar("Mission2", "11")
   448 		SaveCampaignVar("Mission2", "11")
   449 		SaveCampaignVar("Mission3", "1")
   449 		SaveCampaignVar("Mission3", "1")
   450 		sendStats(loc("the Planet of Death"))
   450 		sendStats(loc("Hog Solo arrived at the Planet of Death!"))
   451 	end
   451 	end
   452 end
   452 end
   453 
   453 
   454 function meteoriteLanding(gear)
   454 function meteoriteLanding(gear)
   455 	-- first two conditionals are not possible but I'll leave it there...
   455 	-- first two conditionals are not possible but I'll leave it there...
   461 		AnimCaption(hero.gear,loc("Welcome to the meteorite!"))
   461 		AnimCaption(hero.gear,loc("Welcome to the meteorite!"))
   462 		SaveCampaignVar("Planet", "meteorite")
   462 		SaveCampaignVar("Planet", "meteorite")
   463 		SaveCampaignVar("UnlockedMissions", "2")
   463 		SaveCampaignVar("UnlockedMissions", "2")
   464 		SaveCampaignVar("Mission1", "14")
   464 		SaveCampaignVar("Mission1", "14")
   465 		SaveCampaignVar("Mission2", "1")
   465 		SaveCampaignVar("Mission2", "1")
   466 		sendStats(loc("the meteorite"))
   466 		sendStats(loc("Hog Solo arrived at the meteorite!"))
   467 	end
   467 	end
   468 end
   468 end
   469 
   469 
   470 function noFuelAtLand(gear)
   470 function noFuelAtLand(gear)
   471 	AddAnim(dialog06)
   471 	AddAnim(dialog06)
   520 
   520 
   521 function AnimationSetup()
   521 function AnimationSetup()
   522 	-- DIALOG 01 - Start
   522 	-- DIALOG 01 - Start
   523 	AddSkipFunction(dialog01, Skipanim, {dialog01})
   523 	AddSkipFunction(dialog01, Skipanim, {dialog01})
   524 	table.insert(dialog01, {func = AnimWait, args = {doctor.gear, 3000}})
   524 	table.insert(dialog01, {func = AnimWait, args = {doctor.gear, 3000}})
   525 	table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("Near secret base 17 of PAotH in the rural Hogland..."),  4000}})
   525 	table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("Near Secret Base 17 of PAotH in the rural Hogland ..."),  4000}})
   526 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("So Hog Solo, here we are..."), SAY_SAY, 2000}})
   526 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("So Hog Solo, here we are ..."), SAY_SAY, 2000}})
   527 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("Behind these trees on the east side there is secret base 17"), SAY_SAY, 4000}})
   527 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("Behind these trees on the east side there is Secret Base 17."), SAY_SAY, 4000}})
   528 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("You have to continue alone from now on."), SAY_SAY, 3000}})
   528 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("You have to continue alone from now on."), SAY_SAY, 3000}})
   529 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("Be careful, the future of Hogera is in your hands!"), SAY_SAY, 7200}})
   529 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("Be careful, the future of Hogera is in your hands!"), SAY_SAY, 7200}})
   530 	table.insert(dialog01, {func = AnimSay, args = {doctor.gear, loc("We'll use our communicators to contact you"), SAY_SAY, 2600}})
   530 	table.insert(dialog01, {func = AnimSay, args = {doctor.gear, loc("We'll use our communicators to contact you."), SAY_SAY, 2600}})
   531 	table.insert(dialog01, {func = AnimSay, args = {doctor.gear, loc("In am also entrusting you with some rope"), SAY_SAY, 5000}})
   531 	table.insert(dialog01, {func = AnimSay, args = {doctor.gear, loc("In am also entrusting you with some rope."), SAY_SAY, 5000}})
   532 	table.insert(dialog01, {func = AnimSay, args = {doctor.gear, loc("You may find it handy"), SAY_SAY, 2300}})
   532 	table.insert(dialog01, {func = AnimSay, args = {doctor.gear, loc("You may find it handy."), SAY_SAY, 2300}})
   533 	table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("Thank you Dr.Cornelius"), SAY_SAY, 1600}})
   533 	table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("Thank you, Dr. Cornelius."), SAY_SAY, 1600}})
   534 	table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("I'll make good use of it"), SAY_SAY, 4500}})
   534 	table.insert(dialog01, {func = AnimSay, args = {hero.gear, loc("I'll make good use of it."), SAY_SAY, 4500}})
   535 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("It would be wiser to steal the space ship while PAotH guards are taking a brake!"), SAY_SAY, 7000}})
   535 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("It would be wiser to steal the space ship while the PAotH guards are taking a brake!"), SAY_SAY, 7000}})
   536 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("Remember! Many will seek the anti-gravity device! Now go, hurry up!"), SAY_SAY, 4000}})
   536 	table.insert(dialog01, {func = AnimSay, args = {director.gear, loc("Remember! Many will seek the anti-gravity device! Now go, hurry up!"), SAY_SAY, 4000}})
   537 	table.insert(dialog01, {func = AnimSwitchHog, args = {hero.gear}})
   537 	table.insert(dialog01, {func = AnimSwitchHog, args = {hero.gear}})
   538 	-- DIALOG 02 - Hero got the saucer
   538 	-- DIALOG 02 - Hero got the saucer
   539 	AddSkipFunction(dialog02, Skipanim, {dialog02})
   539 	AddSkipFunction(dialog02, Skipanim, {dialog02})
   540 	table.insert(dialog02, {func = AnimWait, args = {hero.gear, 500}})
   540 	table.insert(dialog02, {func = AnimWait, args = {hero.gear, 500}})
   541 	table.insert(dialog02, {func = AnimCaption, args = {hero.gear, loc("CheckPoint reached!"),  4000}})
   541 	table.insert(dialog02, {func = AnimCaption, args = {hero.gear, loc("Checkpoint reached!"),  4000}})
   542 	table.insert(dialog02, {func = AnimSay, args = {hero.gear, loc("Got the saucer!"), SAY_SHOUT, 2000}})
   542 	table.insert(dialog02, {func = AnimSay, args = {hero.gear, loc("Got the saucer!"), SAY_SHOUT, 2000}})
   543 	table.insert(dialog02, {func = AnimSay, args = {director.gear, loc("Nice!"), SAY_SHOUT, 1000}})
   543 	table.insert(dialog02, {func = AnimSay, args = {director.gear, loc("Nice!"), SAY_SHOUT, 1000}})
   544 	table.insert(dialog02, {func = AnimSay, args = {director.gear, loc("Now use it and go to the moon PAotH station to get more fuel!"), SAY_SHOUT, 5000}})
   544 	table.insert(dialog02, {func = AnimSay, args = {director.gear, loc("Now use it and go to the moon PAotH station to get more fuel!"), SAY_SHOUT, 5000}})
   545     table.insert(dialog02, {func = AnimGearWait, args = {hero.gear, 500}})
   545     table.insert(dialog02, {func = AnimGearWait, args = {hero.gear, 500}})
   546     -- DIALOG 03 - Hero got spotted by guard
   546     -- DIALOG 03 - Hero got spotted by guard
   547 	AddSkipFunction(dialog03, Skipanim, {dialog03})
   547 	AddSkipFunction(dialog03, Skipanim, {dialog03})
   548 	table.insert(dialog03, {func = AnimWait, args = {guard1.gear, 4000}})
   548 	table.insert(dialog03, {func = AnimWait, args = {guard1.gear, 4000}})
   549 	table.insert(dialog03, {func = AnimCaption, args = {guard1.gear, loc("Prepare to flee!"),  4000}})
   549 	table.insert(dialog03, {func = AnimCaption, args = {guard1.gear, loc("Prepare to flee!"),  4000}})
   550 	table.insert(dialog03, {func = AnimSay, args = {guard1.gear, loc("Hey").." "..guard2.name.."! "..loc("Look, someone is stealing the saucer!"), SAY_SHOUT, 4000}})
   550 	table.insert(dialog03, {func = AnimSay, args = {guard1.gear, string.format(loc("Hey, %s! Look, someone is stealing the saucer!"), guard2.name), SAY_SHOUT, 4000}})
   551 	table.insert(dialog03, {func = AnimSay, args = {guard2.gear, loc("I'll get him!"), SAY_SAY, 4000}})
   551 	table.insert(dialog03, {func = AnimSay, args = {guard2.gear, loc("I'll get him!"), SAY_SAY, 4000}})
   552 	table.insert(dialog03, {func = startCombat, args = {guard1.gear}})
   552 	table.insert(dialog03, {func = startCombat, args = {guard1.gear}})
   553 	-- DIALOG 04 - Hero out of sight
   553 	-- DIALOG 04 - Hero out of sight
   554 	AddSkipFunction(dialog04, Skipanim, {dialog04})
   554 	AddSkipFunction(dialog04, Skipanim, {dialog04})
   555 	table.insert(dialog04, {func = AnimCaption, args = {guard1.gear, loc("You are out of danger, time to go to the moon!"),  4000}})
   555 	table.insert(dialog04, {func = AnimCaption, args = {guard1.gear, loc("You are out of danger, time to go to the moon!"),  4000}})
   556 	table.insert(dialog04, {func = AnimSay, args = {guard1.gear, loc("I guess we lost him!"), SAY_SAY, 3000}})
   556 	table.insert(dialog04, {func = AnimSay, args = {guard1.gear, loc("I guess we lost him!"), SAY_SAY, 3000}})
   557 	table.insert(dialog04, {func = AnimSay, args = {guard2.gear, loc("We should better report this and continue our watch!"), SAY_SAY, 5000}})
   557 	table.insert(dialog04, {func = AnimSay, args = {guard2.gear, loc("We should better report this and continue our watch!"), SAY_SAY, 5000}})
   558 	table.insert(dialog04, {func = AnimSwitchHog, args = {hero.gear}})
   558 	table.insert(dialog04, {func = AnimSwitchHog, args = {hero.gear}})
   559 	-- DIALOG 05 - Hero returned from moon without fuels
   559 	-- DIALOG 05 - Hero returned from moon without fuels
   560 	AddSkipFunction(dialog05, Skipanim, {dialog05})
   560 	AddSkipFunction(dialog05, Skipanim, {dialog05})
   561 	table.insert(dialog05, {func = AnimSay, args = {hero.gear, loc("I guess I can't go far without fuels!"), SAY_THINK, 6000}})
   561 	table.insert(dialog05, {func = AnimSay, args = {hero.gear, loc("I guess I can't go far without fuel!"), SAY_THINK, 6000}})
   562 	table.insert(dialog05, {func = AnimSay, args = {hero.gear, loc("Go to go back"), SAY_THINK, 2000}})
   562 	table.insert(dialog05, {func = AnimSay, args = {hero.gear, loc("Got to go back."), SAY_THINK, 2000}})
   563 	table.insert(dialog05, {func = sendStatsOnRetry, args = {hero.gear}})
   563 	table.insert(dialog05, {func = sendStatsOnRetry, args = {hero.gear}})
   564 	-- DIALOG 06 - Landing on wrong planet or on earth if not enough fuels
   564 	-- DIALOG 06 - Landing on wrong planet or on earth if not enough fuels
   565 	AddSkipFunction(dialog06, Skipanim, {dialog06})
   565 	AddSkipFunction(dialog06, Skipanim, {dialog06})
   566 	table.insert(dialog06, {func = AnimCaption, args = {hero.gear, loc("You have to try again!"),  5000}})
   566 	table.insert(dialog06, {func = AnimCaption, args = {hero.gear, loc("You have to try again!"),  5000}})
   567 	table.insert(dialog06, {func = AnimSay, args = {hero.gear, loc("Hm... Now I ran out of fuel..."), SAY_THINK, 3000}})
   567 	table.insert(dialog06, {func = AnimSay, args = {hero.gear, loc("Hm ... Now I ran out of fuel."), SAY_THINK, 3000}})
   568 	table.insert(dialog06, {func = sendStatsOnRetry, args = {hero.gear}})
   568 	table.insert(dialog06, {func = sendStatsOnRetry, args = {hero.gear}})
   569 	-- DIALOG 07 - Hero lands on Death Planet but isn't allowed yet to play this map
   569 	-- DIALOG 07 - Hero lands on Death Planet but isn't allowed yet to play this map
   570 	AddSkipFunction(dialog07, Skipanim, {dialog07})
   570 	AddSkipFunction(dialog07, Skipanim, {dialog07})
   571 	table.insert(dialog07, {func = AnimCaption, args = {hero.gear, loc("This planet seems dangerous!"),  5000}})
   571 	table.insert(dialog07, {func = AnimCaption, args = {hero.gear, loc("This planet seems dangerous!"),  5000}})
   572 	table.insert(dialog07, {func = AnimSay, args = {hero.gear, loc("I am not ready for this planet yet. I should visit it when I have found all the other device parts"), SAY_THINK, 4000}})
   572 	table.insert(dialog07, {func = AnimSay, args = {hero.gear, loc("I am not ready for this planet yet. I should visit it when I have found all the other device parts."), SAY_THINK, 4000}})
   573 	-- DIALOG 08 - Hero wins death01
   573 	-- DIALOG 08 - Hero wins death01
   574 	AddSkipFunction(dialog08, Skipanim, {dialog08})
   574 	AddSkipFunction(dialog08, Skipanim, {dialog08})
   575 	table.insert(dialog08, {func = AnimCaption, args = {hero.gear, loc("Under the meteorite shadow..."),  4000}})
   575 	table.insert(dialog08, {func = AnimCaption, args = {hero.gear, loc("Under the meteorites shadow ..."),  4000}})
   576 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("You did great Hog Solo! However we aren't out of danger yet!"), SAY_SHOUT, 4500}})
   576 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("You did great, Hog Solo! However, we aren't out of danger yet!"), SAY_SHOUT, 4500}})
   577 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("The meteorite has come too close and the anti-gravity device isn't powerful enough to stop it now"), SAY_SHOUT, 5000}})
   577 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("The meteorite has come too close and the anti-gravity device isn't powerful enough to stop it now."), SAY_SHOUT, 5000}})
   578 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("We need it to get split into at least two parts"), SAY_SHOUT, 3000}})
   578 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("We need it to get split into at least two parts."), SAY_SHOUT, 3000}})
   579 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("PAotH has sent explosives but unfortunately the trigger mechanism seems to be faulty!"), SAY_SHOUT, 5000}})
   579 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("PAotH has sent explosives but unfortunately the trigger mechanism seems to be faulty!"), SAY_SHOUT, 5000}})
   580 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("We need you to go there and detonate them yourself! Good luck!"), SAY_SHOUT, 500}})
   580 	table.insert(dialog08, {func = AnimSay, args = {doctor.gear, loc("We need you to go there and detonate them yourself! Good luck!"), SAY_SHOUT, 500}})
   581 	table.insert(dialog08, {func = AnimWait, args = {doctor.gear, 3000}})
   581 	table.insert(dialog08, {func = AnimWait, args = {doctor.gear, 3000}})
   582 	table.insert(dialog08, {func = AnimSwitchHog, args = {hero.gear}})
   582 	table.insert(dialog08, {func = AnimSwitchHog, args = {hero.gear}})
   583 end
   583 end
   588 	-- use this so guard2 will gain control
   588 	-- use this so guard2 will gain control
   589 	AnimSwitchHog(hero.gear)
   589 	AnimSwitchHog(hero.gear)
   590 	TurnTimeLeft = 0
   590 	TurnTimeLeft = 0
   591 end
   591 end
   592 
   592 
   593 function sendStats(planet)
   593 function sendStats(planetMsg)
   594 	SendStat(siGameResult, loc("Hog Solo arrived at "..planet))
   594 	SendStat(siGameResult, planetMsg)
   595 	SendStat(siCustomAchievement, loc("Return to the mission menu by pressing the \"Go back\" button"))
   595 	SendStat(siCustomAchievement, loc("Return to the mission menu by pressing the \"Go back\" button."))
   596 	SendStat(siCustomAchievement, loc("You can choose another planet by replaying this mission"))
   596 	SendStat(siCustomAchievement, loc("You can choose another planet by replaying this mission."))
   597 	SendStat(siCustomAchievement, loc("Planets with completed main missions will be marked with a flower"))
   597 	SendStat(siCustomAchievement, loc("Planets with completed main missions will be marked with a flower."))
   598 	SendStat(siPlayerKills,'1',teamC.name)
   598 	SendStat(siPlayerKills,'1',teamC.name)
   599 	EndGame()
   599 	EndGame()
   600 end
   600 end
   601 
   601 
   602 function sendStatsOnRetry()
   602 function sendStatsOnRetry()
   603 	SendStat(siGameResult, loc("You have to travel again"))
   603 	SendStat(siGameResult, loc("You have to travel again"))
   604 	SendStat(siCustomAchievement, loc("Your first destination is the moon in order to get more fuel"))
   604 	SendStat(siCustomAchievement, loc("Your first destination is the moon in order to get more fuel."))
   605 	SendStat(siCustomAchievement, loc("You have to complete the main mission on moon in order to travel to other planets"))
   605 	SendStat(siCustomAchievement, loc("You have to complete the main mission on moon in order to travel to other planets."))
   606 	SendStat(siCustomAchievement, loc("You have to be careful and not die!"))
   606 	SendStat(siCustomAchievement, loc("You have to be careful and must not die!"))
   607 	SendStat(siPlayerKills,'0',teamC.name)
   607 	SendStat(siPlayerKills,'0',teamC.name)
   608 	EndGame()
   608 	EndGame()
   609 end
   609 end