405 FollowGear(doctor.gear) |
405 FollowGear(doctor.gear) |
406 AnimSay(doctor.gear, loc("One does not simply rope to the moon!"), SAY_SHOUT, 4000) |
406 AnimSay(doctor.gear, loc("One does not simply rope to the moon!"), SAY_SHOUT, 4000) |
407 SendStat(siGameResult, loc("This is the wrong way!")) |
407 SendStat(siGameResult, loc("This is the wrong way!")) |
408 SendStat(siCustomAchievement, loc("Collect the crate with the flying saucer!")) |
408 SendStat(siCustomAchievement, loc("Collect the crate with the flying saucer!")) |
409 SendStat(siCustomAchievement, loc("Fly to the moon.")) |
409 SendStat(siCustomAchievement, loc("Fly to the moon.")) |
410 SendStat(siPlayerKills,'0',teamC.name) |
410 sendSimpleTeamRankings({teamC.name}) |
411 EndGame() |
411 EndGame() |
412 else |
412 else |
413 if checkPointReached ~= 5 then |
413 if checkPointReached ~= 5 then |
414 SaveCampaignVar("CosmosCheckPoint", "4") |
414 SaveCampaignVar("CosmosCheckPoint", "4") |
415 SaveCampaignVar("HeroHealth",GetHealth(hero.gear)) |
415 SaveCampaignVar("HeroHealth",GetHealth(hero.gear)) |
652 SendStat(siCustomAchievement, loc("Planets with completed main missions will be marked with a flower.")) |
652 SendStat(siCustomAchievement, loc("Planets with completed main missions will be marked with a flower.")) |
653 SendStat(siCustomAchievement, loc("Planets with all missions completed will be marked with two flowers.")) |
653 SendStat(siCustomAchievement, loc("Planets with all missions completed will be marked with two flowers.")) |
654 if GetCampaignVar("Won") == "true" and GetCampaignVar("Mission1Won") ~= "true" then |
654 if GetCampaignVar("Won") == "true" and GetCampaignVar("Mission1Won") ~= "true" then |
655 SendStat(siCustomAchievement, loc("Complete all main and side missions to complete the spacetrip mission.")) |
655 SendStat(siCustomAchievement, loc("Complete all main and side missions to complete the spacetrip mission.")) |
656 end |
656 end |
657 SendStat(siPlayerKills,'1',teamC.name) |
657 sendSimpleTeamRankings({teamC.name}) |
658 EndGame() |
658 EndGame() |
659 end |
659 end |
660 |
660 |
661 function sendStatsOnRetry() |
661 function sendStatsOnRetry() |
662 SendStat(siGameResult, loc("You have to travel again")) |
662 SendStat(siGameResult, loc("You have to travel again")) |
663 SendStat(siCustomAchievement, loc("Your first destination is the moon in order to get more fuel.")) |
663 SendStat(siCustomAchievement, loc("Your first destination is the moon in order to get more fuel.")) |
664 SendStat(siCustomAchievement, loc("You have to complete the main mission on moon in order to travel to other planets.")) |
664 SendStat(siCustomAchievement, loc("You have to complete the main mission on moon in order to travel to other planets.")) |
665 SendStat(siCustomAchievement, loc("You have to be careful and must not die!")) |
665 SendStat(siCustomAchievement, loc("You have to be careful and must not die!")) |
666 SendStat(siPlayerKills,'0',teamC.name) |
666 sendSimpleTeamRankings({teamC.name}) |
667 EndGame() |
667 EndGame() |
668 end |
668 end |