share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/queen.lua
changeset 7512 cc3f036121fe
parent 7475 7b18314bed2b
child 7527 35d154745d7a
equal deleted inserted replaced
7510:a7601ce08b5d 7512:cc3f036121fe
   787       nativesLeft = nativesLeft - 1
   787       nativesLeft = nativesLeft - 1
   788     end
   788     end
   789   end
   789   end
   790 end
   790 end
   791 
   791 
   792 function onGearAdd(gear)
       
   793 end
       
   794 
       
   795 function onAmmoStoreInit()
   792 function onAmmoStoreInit()
   796   SetAmmo(amBaseballBat, 9, 0, 0, 0)
   793   SetAmmo(amBaseballBat, 9, 0, 0, 0)
   797   SetAmmo(amFirePunch, 9, 0, 0, 0)
   794   SetAmmo(amFirePunch, 9, 0, 0, 0)
   798   SetAmmo(amDEagle, 9, 0, 0, 0)
   795   SetAmmo(amDEagle, 9, 0, 0, 0)
   799   SetAmmo(amSkip, 9, 0, 0, 0)
   796   SetAmmo(amSkip, 9, 0, 0, 0)
   813   if GetHogTeamName(CurrentHedgehog) == loc("011101001") then
   810   if GetHogTeamName(CurrentHedgehog) == loc("011101001") then
   814     TurnTimeLeft = 0
   811     TurnTimeLeft = 0
   815   end
   812   end
   816 end
   813 end
   817 
   814 
   818 function onGearDamage(gear, damage)
       
   819 end
       
   820 
       
   821 function onPrecise()
   815 function onPrecise()
   822   if GameTime > 2500 and AnimInProgress() then
   816   if GameTime > 2500 and AnimInProgress() then
   823     SetAnimSkip(true)
   817     SetAnimSkip(true)
   824 --  else
   818 --  else
   825 --    DeleteGear(cyborgs[1])
   819 --    DeleteGear(cyborgs[1])