share/hedgewars/Data/Missions/Training/Basic_Training_-_Movement.lua
changeset 14464 ead8928a59f8
parent 14452 df065d68e513
child 14480 208359558642
equal deleted inserted replaced
14463:bd1db668b7c0 14464:ead8928a59f8
   247 		crates[10] = SpawnHealthCrate(2290, 1622)		-- Turning Around
   247 		crates[10] = SpawnHealthCrate(2290, 1622)		-- Turning Around
   248 	end
   248 	end
   249 end
   249 end
   250 
   250 
   251 local function victory()
   251 local function victory()
       
   252 	SaveMissionVar("Won", "true")
   252 	ShowMission(loc("Basic Movement Training"), loc("Training complete!"),loc("Congratulations! You have completed the obstacle course!"), 0, 0)
   253 	ShowMission(loc("Basic Movement Training"), loc("Training complete!"),loc("Congratulations! You have completed the obstacle course!"), 0, 0)
   253 	SendStat(siGameResult, loc("You have completed the Basic Movement Training!"))
   254 	SendStat(siGameResult, loc("You have completed the Basic Movement Training!"))
   254 	SendStat(siCustomAchievement, loc("Congratulations!"))
   255 	SendStat(siCustomAchievement, loc("Congratulations!"))
   255 	SendStat(siCustomAchievement, loc("Return to the training menu by pressing the “Go back” button."))
   256 	SendStat(siCustomAchievement, loc("Return to the training menu by pressing the “Go back” button."))
   256 	SendStat(siPlayerKills, "0", loc("Training Team"))
   257 	SendStat(siPlayerKills, "0", loc("Training Team"))