share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua
changeset 11976 d5dabb71d6bf
parent 11692 68eddcdc9f26
child 12049 030464f34d47
equal deleted inserted replaced
11975:c52d35c859e8 11976:d5dabb71d6bf
   296 
   296 
   297 function onAmmoStoreInit()
   297 function onAmmoStoreInit()
   298 	SetAmmo(amDEagle, 0, 0, 0, 6)
   298 	SetAmmo(amDEagle, 0, 0, 0, 6)
   299 	SetAmmo(amGirder, 0, 0, 0, 2)
   299 	SetAmmo(amGirder, 0, 0, 0, 2)
   300 	SetAmmo(amRope, 0, 0, 0, 1)
   300 	SetAmmo(amRope, 0, 0, 0, 1)
       
   301 	SetAmmo(amSkip, 9, 0, 0, 1)
   301 	if tonumber(getBonus(2)) == 1 then
   302 	if tonumber(getBonus(2)) == 1 then
   302 		SetAmmo(amWatermelon, 0, 0, 0, 2)
   303 		SetAmmo(amWatermelon, 0, 0, 0, 2)
   303 		SetAmmo(amSniperRifle, 0, 0, 0, 2)
   304 		SetAmmo(amSniperRifle, 0, 0, 0, 2)
   304 	else
   305 	else
   305 		SetAmmo(amWatermelon, 0, 0, 0, 1)
   306 		SetAmmo(amWatermelon, 0, 0, 0, 1)