equal
deleted
inserted
replaced
133 -- GAME OVER, WIN! |
133 -- GAME OVER, WIN! |
134 totalTime = totalTime - TurnTimeLeft |
134 totalTime = totalTime - TurnTimeLeft |
135 totalTime = totalTime / 1000 |
135 totalTime = totalTime / 1000 |
136 local saucersLeft = GetAmmoCount(hero.gear, amJetpack) |
136 local saucersLeft = GetAmmoCount(hero.gear, amJetpack) |
137 local saucersUsed = totalSaucers - saucersLeft |
137 local saucersUsed = totalSaucers - saucersLeft |
138 SendStat('siGameResult', loc("Hoo Ray! You are a champion!")) --1 |
138 SendStat(siGameResult, loc("Hoo Ray! You are a champion!")) |
139 SendStat('siCustomAchievement', loc("You complete the mission in "..totalTime.." seconds")) --11 |
139 SendStat(siCustomAchievement, loc("You complete the mission in "..totalTime.." seconds")) |
140 SendStat('siCustomAchievement', loc("You have used "..saucersUsed.." flying saucers")) --11 |
140 SendStat(siCustomAchievement, loc("You have used "..saucersUsed.." flying saucers")) |
141 SendStat('siCustomAchievement', loc("You had "..saucersLeft.." more flying saucers left")) --11 |
141 SendStat(siCustomAchievement, loc("You had "..saucersLeft.." more flying saucers left")) |
142 SendStat('siPlayerKills','1',teamA.name) |
142 SendStat(siPlayerKills,'1',teamA.name) |
143 EndGame() |
143 EndGame() |
144 end |
144 end |
145 end |
145 end |
146 end |
146 end |
147 |
147 |
255 end |
255 end |
256 return false |
256 return false |
257 end |
257 end |
258 |
258 |
259 function heroLost() |
259 function heroLost() |
260 SendStat('siGameResult', loc("Oh man! Learn how to fly!")) --1 |
260 SendStat(siGameResult, loc("Oh man! Learn how to fly!")) |
261 SendStat('siCustomAchievement', loc("To win the game you have to pass into the rings in time")) --11 |
261 SendStat(siCustomAchievement, loc("To win the game you have to pass into the rings in time")) |
262 SendStat('siCustomAchievement', loc("You'll get extra time in case you need it when you pass a ring")) --11 |
262 SendStat(siCustomAchievement, loc("You'll get extra time in case you need it when you pass a ring")) |
263 SendStat('siCustomAchievement', loc("Every 2 rings you'll get extra flying saucers")) --11 |
263 SendStat(siCustomAchievement, loc("Every 2 rings you'll get extra flying saucers")) |
264 SendStat('siCustomAchievement', loc("Use space button twice to change flying saucer while being on air")) --11 |
264 SendStat(siCustomAchievement, loc("Use space button twice to change flying saucer while being on air")) |
265 SendStat('siPlayerKills','0',teamA.name) |
265 SendStat(siPlayerKills,'0',teamA.name) |
266 EndGame() |
266 EndGame() |
267 end |
267 end |