share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua
changeset 12771 957e4e2e2802
parent 12424 b9cc405541c1
child 13082 aa9e871f9685
equal deleted inserted replaced
12770:cf1377ab2f89 12771:957e4e2e2802
    34 TargetPos[ 5 ] = { X = 4000, Y = 1750, Message = "" }
    34 TargetPos[ 5 ] = { X = 4000, Y = 1750, Message = "" }
    35 TargetPos[ 6 ] = { Modifier = true, Func = function() -- Last target is ALWAYS the "winning" target!
    35 TargetPos[ 6 ] = { Modifier = true, Func = function() -- Last target is ALWAYS the "winning" target!
    36 	Info( loc("Congratulations"), loc("Congratulations! You've completed the Basic Rope Training!"), 0 ) -- Congrats
    36 	Info( loc("Congratulations"), loc("Congratulations! You've completed the Basic Rope Training!"), 0 ) -- Congrats
    37 	PlaySound( sndVictory, Player )
    37 	PlaySound( sndVictory, Player )
    38 
    38 
    39 	AddCaption( loc( "Victory!" ))
    39 	AddCaption( loc( "Victory!" ), 0xFFFFFFFF, capgrpGameState)
    40 	if TurnTimeLeft >= 250000 then -- If you very fast, unlock the ahievement "Rope Master!"
    40 	if TurnTimeLeft >= 250000 then -- If you very fast, unlock the ahievement "Rope Master!"
    41 		RopeMaster = true
    41 		RopeMaster = true
    42 		AddCaption( string.format(loc("Achievement gotten: %s"), loc("Rope Master") ),0xffba00ff,capgrpAmmoinfo )
    42 		AddCaption( string.format(loc("Achievement gotten: %s"), loc("Rope Master") ), 0xffba00ff, capgrpMessage2)
    43 		PlaySound( sndHomerun )
    43 		PlaySound( sndHomerun )
    44 	end
    44 	end
    45 	Objective = true
    45 	Objective = true
    46 end }
    46 end }
    47 
    47