share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua
changeset 12775 2c426663d971
parent 12774 eed03e531823
child 12794 bca911f8e804
equal deleted inserted replaced
12774:eed03e531823 12775:2c426663d971
   121 function AfterStartDialogue()
   121 function AfterStartDialogue()
   122   if stage == loseStage then
   122   if stage == loseStage then
   123     return
   123     return
   124   end
   124   end
   125   stage = spyStage
   125   stage = spyStage
   126   ShowMission(loc("The Shadow Falls"), loc("Play with me!"), loc("Kill the cannibal!"), 1, 6000)
   126   ShowMission(loc("The Shadow Falls"), loc("Play with me!"), loc("Kill the cannibal!").."|"..loc("Both your hedgehogs must survive."), 1, 6000)
   127   TurnTimeLeft = TurnTime
   127   TurnTimeLeft = TurnTime
   128 end
   128 end
   129 
   129 
   130 
   130 
   131 function StartSkipFunc()
   131 function StartSkipFunc()
   158   stage = wave1Stage
   158   stage = wave1Stage
   159   SwitchHog(dense)
   159   SwitchHog(dense)
   160   SetGearMessage(dense, 0)
   160   SetGearMessage(dense, 0)
   161   SetGearMessage(leaks, 0)
   161   SetGearMessage(leaks, 0)
   162   TurnTimeLeft = TurnTime
   162   TurnTimeLeft = TurnTime
   163   ShowMission(loc("The Shadow Falls"), loc("Why do you not like me?"), loc("Obliterate them!|Hint: You might want to take cover..."), 1, 6000)
   163   ShowMission(loc("The Shadow Falls"), loc("Why do you not like me?"), loc("Obliterate them!|Hint: You might want to take cover...").."|"..loc("Both your hedgehogs must survive."), 1, 6000)
   164 end
   164 end
   165 
   165 
   166 function SkipWeaklingsAnim()
   166 function SkipWeaklingsAnim()
   167   if stage == loseStage then
   167   if stage == loseStage then
   168     return
   168     return
   809 
   809 
   810 function DoReadyForStronglings()
   810 function DoReadyForStronglings()
   811   if stage == loseStage then
   811   if stage == loseStage then
   812     return
   812     return
   813   end
   813   end
   814   ShowMission(loc("The Shadow Falls"), loc("The guardian"), loc("Protect yourselves!|Grenade hint: set the timer with [1-5], aim with [Up]/[Down] and hold [Space] to set power"), 1, 8000)
   814   ShowMission(loc("The Shadow Falls"), loc("The guardian"), loc("Protect yourselves!|Grenade hint: set the timer with [1-5], aim with [Up]/[Down] and hold [Space] to set power").."|"..loc("Both your hedgehogs must survive."), 1, 8000)
   815   AddAmmo(dense, amSkip, 100)
   815   AddAmmo(dense, amSkip, 100)
   816   AddAmmo(dense, amSwitch, 100)
   816   AddAmmo(dense, amSwitch, 100)
   817   AddAmmo(leaks, amSkip, 100)
   817   AddAmmo(leaks, amSkip, 100)
   818   AddAmmo(leaks, amSwitch, 100)
   818   AddAmmo(leaks, amSwitch, 100)
   819   stage = duoStage
   819   stage = duoStage