share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua
changeset 14485 ead8928a59f8
parent 14474 09bfe9df51e9
child 14501 208359558642
equal deleted inserted replaced
14484:bd1db668b7c0 14485:ead8928a59f8
   203 		DeleteGear(SaucerGear)
   203 		DeleteGear(SaucerGear)
   204 	end
   204 	end
   205 	SetState(Player, band(GetState(Player), bnot(gstHHDriven)))
   205 	SetState(Player, band(GetState(Player), bnot(gstHHDriven)))
   206 	SetState(Player, bor(GetState(Player), gstWinner))
   206 	SetState(Player, bor(GetState(Player), gstWinner))
   207 	PlaySound(sndVictory, Player)
   207 	PlaySound(sndVictory, Player)
       
   208 	SaveMissionVar("Won", "true")
   208 
   209 
   209 	SendStat(siGameResult, loc("You have finished the Flying Saucer Training!"))
   210 	SendStat(siGameResult, loc("You have finished the Flying Saucer Training!"))
   210 	SendStat(siCustomAchievement, loc("Good job!"))
   211 	SendStat(siCustomAchievement, loc("Good job!"))
   211 	SendStat(siPlayerKills, "0", loc("Hogonauts"))
   212 	SendStat(siPlayerKills, "0", loc("Hogonauts"))
   212 
   213