share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua
changeset 10289 c3a77ff02a23
parent 8679 a8bdcf7bec20
child 10655 1c85a442bd56
equal deleted inserted replaced
10288:7bf02127262c 10289:c3a77ff02a23
    49 	-- adds some TNT
    49 	-- adds some TNT
    50 	gear = AddGear(x, y, gtDynamite, 0, 0, 0, 0)
    50 	gear = AddGear(x, y, gtDynamite, 0, 0, 0, 0)
    51 end
    51 end
    52 
    52 
    53 function onNewTurn()
    53 function onNewTurn()
    54 	ParseCommand("setweap " .. string.char(amSniperRifle))
    54 	SetWeapon(amSniperRifle)
    55 end
    55 end
    56 
    56 
    57 -- This function is called before the game loads its
    57 -- This function is called before the game loads its
    58 -- resources.
    58 -- resources.
    59 -- It's one of the predefined function names that will
    59 -- It's one of the predefined function names that will