share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/enemy.lua
changeset 7512 cc3f036121fe
parent 7460 d32d573aeb64
child 7527 35d154745d7a
equal deleted inserted replaced
7510:a7601ce08b5d 7512:cc3f036121fe
   618       cyborgsLeft = cyborgsLeft - 1
   618       cyborgsLeft = cyborgsLeft - 1
   619     end
   619     end
   620   end
   620   end
   621 end
   621 end
   622 
   622 
   623 function onGearAdd(gear)
       
   624 end
       
   625 
       
   626 function onAmmoStoreInit()
   623 function onAmmoStoreInit()
   627   SetAmmo(amSkip, 9, 0, 0, 0)
   624   SetAmmo(amSkip, 9, 0, 0, 0)
   628   SetAmmo(amSwitch, 9, 0, 0, 0)
   625   SetAmmo(amSwitch, 9, 0, 0, 0)
   629   SetAmmo(amDEagle, 9, 0, 0, 0)
   626   SetAmmo(amDEagle, 9, 0, 0, 0)
   630   SetAmmo(amSniperRifle, 9, 0, 0, 0)
   627   SetAmmo(amSniperRifle, 9, 0, 0, 0)
   657     AnimSay(CurrentHedgehog, loc("Your deaths will be avenged, cannibals!"), SAY_SHOUT, 0)
   654     AnimSay(CurrentHedgehog, loc("Your deaths will be avenged, cannibals!"), SAY_SHOUT, 0)
   658     cannibalsDeadFresh = false
   655     cannibalsDeadFresh = false
   659   end
   656   end
   660 end
   657 end
   661 
   658 
   662 function onGearDamage(gear, damage)
       
   663 end
       
   664 
       
   665 function onPrecise()
   659 function onPrecise()
   666   if GameTime > 3000 and AnimInProgress() then
   660   if GameTime > 3000 and AnimInProgress() then
   667     SetAnimSkip(true)
   661     SetAnimSkip(true)
   668   end
   662   end
   669 end
   663 end