137 end |
137 end |
138 |
138 |
139 -------------- ACTIONS ------------------ |
139 -------------- ACTIONS ------------------ |
140 |
140 |
141 function heroDeath(gear) |
141 function heroDeath(gear) |
142 SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1 |
142 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
143 SendStat('siCustomAchievement', loc("To win the game you have to go to the surface")) --11 |
143 SendStat(siCustomAchievement, loc("To win the game you have to go to the surface")) |
144 SendStat('siCustomAchievement', loc("Most mines are not active")) --11 |
144 SendStat(siCustomAchievement, loc("Most mines are not active")) |
145 SendStat('siCustomAchievement', loc("From the second turn and beyond the water rises")) --11 |
145 SendStat(siCustomAchievement, loc("From the second turn and beyond the water rises")) |
146 SendStat('siPlayerKills','0',teamA.name) |
146 SendStat(siPlayerKills,'0',teamA.name) |
147 EndGame() |
147 EndGame() |
148 end |
148 end |
149 |
149 |
150 function heroSafe(gear) |
150 function heroSafe(gear) |
151 SendStat('siGameResult', loc("Congratulations, you won!")) --1 |
151 SendStat(siGameResult, loc("Congratulations, you won!")) |
152 SendStat('siCustomAchievement', loc("You have escaped successfully")) --11 |
152 SendStat(siCustomAchievement, loc("You have escaped successfully")) |
153 SendStat('siCustomAchievement', loc("Your escape took you "..TotalRounds.." turns")) --11 |
153 SendStat(siCustomAchievement, loc("Your escape took you "..TotalRounds.." turns")) |
154 SendStat('siPlayerKills','1',teamA.name) |
154 SendStat(siPlayerKills,'1',teamA.name) |
155 EndGame() |
155 EndGame() |
156 end |
156 end |
157 |
157 |
158 -------------- ANIMATIONS ------------------ |
158 -------------- ANIMATIONS ------------------ |
159 |
159 |