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