share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua
branchspacecampaign
changeset 9642 8a691e0f117a
parent 9634 8032df67a249
child 9758 3b8058b251b8
equal deleted inserted replaced
9641:b08c8bde57e3 9642:8a691e0f117a
   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("You have to destroy all the explosives without dying!")) --11
   143 	SendStat(siCustomAchievement, loc("You have to destroy all the explosives without dying!"))
   144 	SendStat('siPlayerKills','0',teamA.name)
   144 	SendStat(siPlayerKills,'0',teamA.name)
   145 	EndGame()
   145 	EndGame()
   146 end
   146 end
   147 
   147 
   148 function heroWin(gear)
   148 function heroWin(gear)
   149 	SendStat('siGameResult', loc("Congratulations, you have saved Hogera!")) --1
   149 	SendStat(siGameResult, loc("Congratulations, you have saved Hogera!"))
   150 	SendStat('siCustomAchievement', loc("Hogera is safe!")) --11
   150 	SendStat(siCustomAchievement, loc("Hogera is safe!"))
   151 	SendStat('siPlayerKills','1',teamA.name)
   151 	SendStat(siPlayerKills,'1',teamA.name)
   152 	EndGame()
   152 	EndGame()
   153 end
   153 end