share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/dragon.lua
changeset 7512 cc3f036121fe
parent 7469 003b7384a90a
child 7530 0ba32e5412ce
equal deleted inserted replaced
7510:a7601ce08b5d 7512:cc3f036121fe
   587       cyborgsLeft = cyborgsLeft - 1
   587       cyborgsLeft = cyborgsLeft - 1
   588     end
   588     end
   589   end
   589   end
   590 end
   590 end
   591 
   591 
   592 function onGearAdd(gear)
       
   593 end
       
   594 
       
   595 function onAmmoStoreInit()
   592 function onAmmoStoreInit()
   596   SetAmmo(amFirePunch, 3, 0, 0, 0)
   593   SetAmmo(amFirePunch, 3, 0, 0, 0)
   597   SetAmmo(amBaseballBat, 2, 0, 0, 0)
   594   SetAmmo(amBaseballBat, 2, 0, 0, 0)
   598   SetAmmo(amGirder, 0, 0, 0, 2)
   595   SetAmmo(amGirder, 0, 0, 0, 2)
   599   SetAmmo(amLowGravity, 0, 0, 0, 1)
   596   SetAmmo(amLowGravity, 0, 0, 0, 1)
   626       DoRetry()
   623       DoRetry()
   627     end
   624     end
   628   end
   625   end
   629 end
   626 end
   630 
   627 
   631 function onGearDamage(gear, damage)
       
   632 end
       
   633 
       
   634 function onPrecise()
   628 function onPrecise()
   635   if GameTime > 2500 and AnimInProgress() then
   629   if GameTime > 2500 and AnimInProgress() then
   636     SetAnimSkip(true)
   630     SetAnimSkip(true)
   637   end
   631   end
   638   if AnimInProgress() == false then
   632   if AnimInProgress() == false then