share/hedgewars/Data/Missions/Training/Bazooka.lua
changeset 3346 967fd96f7373
parent 3235 c7ceda2f5d4a
child 3456 e19e017691e4
equal deleted inserted replaced
3345:25ad24233e77 3346:967fd96f7373
   207 
   207 
   208 -- This function is called when the game is initialized
   208 -- This function is called when the game is initialized
   209 -- to request the available ammo and probabilities
   209 -- to request the available ammo and probabilities
   210 function onAmmoStoreInit()
   210 function onAmmoStoreInit()
   211 	-- add an unlimited supply of bazooka ammo
   211 	-- add an unlimited supply of bazooka ammo
   212 	SetAmmo(amBazooka, 9, 0, 0)
   212 	SetAmmo(amBazooka, 9, 0, 0, 0)
   213 end
   213 end
   214 
   214 
   215 -- This function is called when a new gear is added.
   215 -- This function is called when a new gear is added.
   216 -- We don't need it for this training, so we can
   216 -- We don't need it for this training, so we can
   217 -- keep it empty.
   217 -- keep it empty.