share/hedgewars/Data/Maps/Knockball/map.lua
changeset 12082 c680b7db1e2e
parent 12081 ed40d46c9e59
child 14422 6c21bd8547dd
equal deleted inserted replaced
12081:ed40d46c9e59 12082:c680b7db1e2e
    16 	HealthDecrease = 0
    16 	HealthDecrease = 0
    17 end
    17 end
    18 
    18 
    19 function onGameStart()
    19 function onGameStart()
    20 	ShowMission(loc("Knockball"), loc("Not So Friendly Match"), loc("Bat balls at your enemies and|push them into the sea!"), -amBaseballBat, 0)
    20 	ShowMission(loc("Knockball"), loc("Not So Friendly Match"), loc("Bat balls at your enemies and|push them into the sea!"), -amBaseballBat, 0)
       
    21 	SetAmmoTexts(amBaseballBat, loc("Baseball Bat with Ball"), loc("Knockball weapon"), loc("Throw a baseball at your foes|and send them flying!") .. "|" .. loc("Attack: Throw ball"))
    21 end
    22 end
    22 
    23 
    23 function onGameTick()
    24 function onGameTick()
    24 	if ball ~= nil and GetFollowGear() ~= nil then FollowGear(ball) end
    25 	if ball ~= nil and GetFollowGear() ~= nil then FollowGear(ball) end
    25 end
    26 end