equal
deleted
inserted
replaced
148 function heroDeath(gear) |
148 function heroDeath(gear) |
149 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
149 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
150 SendStat(siCustomAchievement, loc("To win the game you have to go to the surface.")) |
150 SendStat(siCustomAchievement, loc("To win the game you have to go to the surface.")) |
151 SendStat(siCustomAchievement, loc("Most mines are not active.")) |
151 SendStat(siCustomAchievement, loc("Most mines are not active.")) |
152 SendStat(siCustomAchievement, loc("From the second turn and beyond the water rises.")) |
152 SendStat(siCustomAchievement, loc("From the second turn and beyond the water rises.")) |
153 SendStat(siPlayerKills,'0',teamA.name) |
153 sendSimpleTeamRankings({teamA.name}) |
154 EndGame() |
154 EndGame() |
155 end |
155 end |
156 |
156 |
157 function heroSafe(gear) |
157 function heroSafe(gear) |
158 SendStat(siGameResult, loc("Congratulations, you won!")) |
158 SendStat(siGameResult, loc("Congratulations, you won!")) |
166 SaveCampaignVar("FastestMineEscape", tostring(TotalRounds)) |
166 SaveCampaignVar("FastestMineEscape", tostring(TotalRounds)) |
167 if record ~= nil then |
167 if record ~= nil then |
168 SendStat(siCustomAchievement, loc("This is a new personal best, congratulations!")) |
168 SendStat(siCustomAchievement, loc("This is a new personal best, congratulations!")) |
169 end |
169 end |
170 end |
170 end |
171 SendStat(siPlayerKills,'0',teamA.name) |
171 sendSimpleTeamRankings({teamA.name}) |
172 SaveCampaignVar("Mission7Won", "true") |
172 SaveCampaignVar("Mission7Won", "true") |
173 checkAllMissionsCompleted() |
173 checkAllMissionsCompleted() |
174 EndGame() |
174 EndGame() |
175 end |
175 end |
176 |
176 |