share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua
changeset 13643 690cc84e9fd6
parent 13583 141cdfe0f3ca
child 13740 2bb7141496a9
equal deleted inserted replaced
13642:3d14950641a4 13643:690cc84e9fd6
   384 				spawnTarget(3480,1200)
   384 				spawnTarget(3480,1200)
   385 			end
   385 			end
   386 		else
   386 		else
   387 			if not game_lost then
   387 			if not game_lost then
   388 			-- Victory!
   388 			-- Victory!
   389 			AddCaption(loc("Victory!"), 0xFFFFFFFF, capgrpGameState)
   389 			AddCaption(loc("Victory!"), capcolDefault, capgrpGameState)
   390 			ShowMission(loc("Sniper Training"), loc("Aiming Practice"), loc("Congratulations! You've eliminated all targets|within the allowed time frame."), 0, 0)
   390 			ShowMission(loc("Sniper Training"), loc("Aiming Practice"), loc("Congratulations! You've eliminated all targets|within the allowed time frame."), 0, 0)
   391 			-- Also let the hogs shout "victory!"
   391 			-- Also let the hogs shout "victory!"
   392 			PlaySound(sndVictory, CurrentHedgehog)
   392 			PlaySound(sndVictory, CurrentHedgehog)
   393 			FollowGear(CurrentHedgehog)
   393 			FollowGear(CurrentHedgehog)
   394 
   394