share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/united.lua
changeset 7512 cc3f036121fe
parent 7448 d0521a3a4358
child 7675 58620e9e5ed5
equal deleted inserted replaced
7510:a7601ce08b5d 7512:cc3f036121fe
   471       end
   471       end
   472     end
   472     end
   473   end
   473   end
   474 end
   474 end
   475 
   475 
   476 function onGearAdd(gear)
       
   477 end
       
   478 
       
   479 function onAmmoStoreInit()
   476 function onAmmoStoreInit()
   480   SetAmmo(amDEagle, 9, 0, 0, 0)
   477   SetAmmo(amDEagle, 9, 0, 0, 0)
   481   SetAmmo(amSniperRifle, 4, 0, 0, 0)
   478   SetAmmo(amSniperRifle, 4, 0, 0, 0)
   482   SetAmmo(amFirePunch, 9, 0, 0, 0)
   479   SetAmmo(amFirePunch, 9, 0, 0, 0)
   483   SetAmmo(amWhip, 9, 0, 0, 0)
   480   SetAmmo(amWhip, 9, 0, 0, 0)
   514     AddAnim(hogDeadAnim)
   511     AddAnim(hogDeadAnim)
   515     AddFunction({func = AfterHogDeadAnim, args = {}})
   512     AddFunction({func = AfterHogDeadAnim, args = {}})
   516   end
   513   end
   517 end
   514 end
   518 
   515 
   519 function onGearDamage(gear, damage)
       
   520 end
       
   521 
       
   522 function onPrecise()
   516 function onPrecise()
   523   if GameTime > 2500 then
   517   if GameTime > 2500 then
   524     SetAnimSkip(true)
   518     SetAnimSkip(true)
   525   end
   519   end
   526 end
   520 end