share/hedgewars/Data/Missions/Campaign/A Classic Fairytale/dragon.lua
changeset 7530 0ba32e5412ce
parent 7512 cc3f036121fe
child 7675 58620e9e5ed5
equal deleted inserted replaced
7527:35d154745d7a 7530:0ba32e5412ce
   297   FollowGear(native)
   297   FollowGear(native)
   298   AddNewEvent(CheckGearsDead, {{crates[1], crates[2]}}, PutCrates, {2}, 0) 
   298   AddNewEvent(CheckGearsDead, {{crates[1], crates[2]}}, PutCrates, {2}, 0) 
   299   TurnTimeLeft = TurnTime
   299   TurnTimeLeft = TurnTime
   300   ShowMission(loc("Dragon's Lair"), loc("Obstacle course"), loc("In order to get to the other side, you need to collect the crates first.|") ..
   300   ShowMission(loc("Dragon's Lair"), loc("Obstacle course"), loc("In order to get to the other side, you need to collect the crates first.|") ..
   301                                                   loc("As the ammo is sparse, you might want to reuse ropes while mid-air.|") ..
   301                                                   loc("As the ammo is sparse, you might want to reuse ropes while mid-air.|") ..
   302                                                   loc("If you wish to restart the course, press [Precise]!|") ..
   302                                                   loc("If you wish to restart the course, hold [Precise] while your turn ends (e.g with Skip)!|") ..
   303                                                   loc("The enemy can't move but it might be a good idea to stay out of sight!|") ..
   303                                                   loc("The enemy can't move but it might be a good idea to stay out of sight!|") ..
   304                                                   loc("You have ") .. SuddenDeathTurns .. loc(" turns until Sudden Death! Better hurry!"), 1, 0)
   304                                                   loc("You have ") .. SuddenDeathTurns .. loc(" turns until Sudden Death! Better hurry!"), 1, 0)
   305 end
   305 end
   306 
   306 
   307 function SkipKillAnim()
   307 function SkipKillAnim()
   631   end
   631   end
   632   if AnimInProgress() == false then
   632   if AnimInProgress() == false then
   633     retry = true
   633     retry = true
   634   end
   634   end
   635 end
   635 end
       
   636 
       
   637 function onPreciseUp()
       
   638   retry = false
       
   639 end