share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua
changeset 14501 208359558642
parent 14485 ead8928a59f8
child 14670 e7b2542c4d28
equal deleted inserted replaced
14500:4e5280a9e782 14501:208359558642
   207 	PlaySound(sndVictory, Player)
   207 	PlaySound(sndVictory, Player)
   208 	SaveMissionVar("Won", "true")
   208 	SaveMissionVar("Won", "true")
   209 
   209 
   210 	SendStat(siGameResult, loc("You have finished the Flying Saucer Training!"))
   210 	SendStat(siGameResult, loc("You have finished the Flying Saucer Training!"))
   211 	SendStat(siCustomAchievement, loc("Good job!"))
   211 	SendStat(siCustomAchievement, loc("Good job!"))
   212 	SendStat(siPlayerKills, "0", loc("Hogonauts"))
   212 	SendStat(siPlayerKills, "0", GetHogTeamName(Player))
   213 
   213 
   214 	EndTurn(true)
   214 	EndTurn(true)
   215 	EndGame()
   215 	EndGame()
   216 end,
   216 end,
   217 }
   217 }
   395 	Theme = "EarthRise"
   395 	Theme = "EarthRise"
   396 	SuddenDeathTurns = 50
   396 	SuddenDeathTurns = 50
   397 	WaterRise = 0
   397 	WaterRise = 0
   398 	HealthDecrease = 0
   398 	HealthDecrease = 0
   399 
   399 
   400 	-- Team name is a pun on “hedgehog” and “astronauts”
   400 	AddMissionTeam(-9)
   401 	AddTeam( loc( "Hogonauts" ), -9, "earth", "Earth", "Default", "cm_galaxy" )
   401 
   402 
   402 	Player = AddMissionHog(1)
   403 	-- Hedgehog name is a pun on “Neil Armstrong”
       
   404 	Player = AddHog( loc( "Neil Hogstrong" ), 0, 1, "NoHat" )
       
   405 	SetGearPosition( Player, StartPos.X, StartPos.Y)
   403 	SetGearPosition( Player, StartPos.X, StartPos.Y)
   406 	SetEffect( Player, heResurrectable, 1 )
   404 	SetEffect( Player, heResurrectable, 1 )
   407 end
   405 end
   408 
   406 
   409 function onGameStart()
   407 function onGameStart()