share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death01.lua
branchspacecampaign
changeset 9642 8a691e0f117a
parent 9638 9db28f0a3f8a
child 9754 12702ab1ba5f
equal deleted inserted replaced
9641:b08c8bde57e3 9642:8a691e0f117a
   262 end
   262 end
   263 
   263 
   264 -------------- ACTIONS ------------------
   264 -------------- ACTIONS ------------------
   265 
   265 
   266 function heroDeath(gear)
   266 function heroDeath(gear)
   267 	SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1
   267 	SendStat(siGameResult, loc("Hog Solo lost, try again!"))
   268 	SendStat('siCustomAchievement', loc("To win the game you have to eliminate all your enemies")) --11
   268 	SendStat(siCustomAchievement, loc("To win the game you have to eliminate all your enemies"))
   269 	SendStat('siPlayerKills','1',teamC.name)
   269 	SendStat(siPlayerKills,'1',teamC.name)
   270 	SendStat('siPlayerKills','0',teamA.name)
   270 	SendStat(siPlayerKills,'0',teamA.name)
   271 	EndGame()
   271 	EndGame()
   272 end
   272 end
   273 
   273 
   274 function enemiesDeath(gear)
   274 function enemiesDeath(gear)
   275 	saveCompletedStatus(6)
   275 	saveCompletedStatus(6)
   276 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
   276 	SendStat(siGameResult, loc("Congratulations, you won!"))
   277 	SendStat('siCustomAchievement', loc("You have successfuly eliminated Professor Hogevil")) --11
   277 	SendStat(siCustomAchievement, loc("You have successfuly eliminated Professor Hogevil"))
   278 	SendStat('siCustomAchievement', loc("You have rescued H and Dr.Cornelius")) --11
   278 	SendStat(siCustomAchievement, loc("You have rescued H and Dr.Cornelius"))
   279 	SendStat('siCustomAchievement', loc("You have acquired the last part")) --11
   279 	SendStat(siCustomAchievement, loc("You have acquired the last part"))
   280 	SendStat('siCustomAchievement', loc("Now go and play the menu mission to complete the campaign")) --11
   280 	SendStat(siCustomAchievement, loc("Now go and play the menu mission to complete the campaign"))
   281 	SendStat('siPlayerKills','1',teamA.name)
   281 	SendStat(siPlayerKills,'1',teamA.name)
   282 	SendStat('siPlayerKills','0',teamC.name)
   282 	SendStat(siPlayerKills,'0',teamC.name)
   283 	EndGame()
   283 	EndGame()
   284 end
   284 end
   285 
   285 
   286 -------------- ANIMATIONS ------------------
   286 -------------- ANIMATIONS ------------------
   287 
   287