share/hedgewars/Data/Missions/Training/Basic_Training_-_Movement.lua
changeset 13786 461db56397b4
parent 13785 4ed202f0428e
child 14382 f9d4b8222903
equal deleted inserted replaced
13785:4ed202f0428e 13786:461db56397b4
   246 
   246 
   247 local function victory()
   247 local function victory()
   248 	ShowMission(loc("Basic Movement Training"), loc("Training complete!"),loc("Congratulations! You have completed the obstacle course!"), 0, 0)
   248 	ShowMission(loc("Basic Movement Training"), loc("Training complete!"),loc("Congratulations! You have completed the obstacle course!"), 0, 0)
   249 	SendStat(siGameResult, loc("You have completed the Basic Movement Training!"))
   249 	SendStat(siGameResult, loc("You have completed the Basic Movement Training!"))
   250 	SendStat(siCustomAchievement, loc("Congratulations!"))
   250 	SendStat(siCustomAchievement, loc("Congratulations!"))
       
   251 	SendStat(siCustomAchievement, loc("Return to the training menu by pressing the “Go back” button."))
   251 	SendStat(siPlayerKills, "0", loc("Training Team"))
   252 	SendStat(siPlayerKills, "0", loc("Training Team"))
   252 	PlaySound(sndVictory, CurrentHedgehog)
   253 	PlaySound(sndVictory, CurrentHedgehog)
   253 	-- Disable controls, end game
   254 	-- Disable controls, end game
   254 	SetInputMask(0)
   255 	SetInputMask(0)
   255 	SetWeapon(amNothing)
   256 	SetWeapon(amNothing)