share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua
changeset 12901 bdf8e80a97b8
parent 12796 d97fa936778e
child 12933 e65aa3c3d4e6
equal deleted inserted replaced
12900:a9e4e8fa852c 12901:bdf8e80a97b8
   318 function AfterAttackedAnim()
   318 function AfterAttackedAnim()
   319   if stage == loseStage then
   319   if stage == loseStage then
   320     return
   320     return
   321   end
   321   end
   322   stage = aloneStage
   322   stage = aloneStage
   323   ShowMission(loc("The Shadow Falls"), loc("The Individualist"), loc("Defeat the cannibals!|Grenade hint: set the timer with [1-5], aim with [Up]/[Down] and hold [Space] to set power"), 1, 8000)
   323   ShowMission(loc("The Shadow Falls"), loc("The Individualist"), loc("Defeat the cannibals!|Grenade hint: Set the timer with [1-5], aim with [Up]/[Down] and hold [Space] to set power"), 1, 8000)
   324   AddAmmo(cannibals[6], amGrenade, 1)
   324   AddAmmo(cannibals[6], amGrenade, 1)
   325   AddAmmo(cannibals[6], amFirePunch, 0)
   325   AddAmmo(cannibals[6], amFirePunch, 0)
   326   AddAmmo(cannibals[6], amBaseballBat, 0)
   326   AddAmmo(cannibals[6], amBaseballBat, 0)
   327   AddAmmo(cannibals[7], amGrenade, 1)
   327   AddAmmo(cannibals[7], amGrenade, 1)
   328   AddAmmo(cannibals[7], amFirePunch, 0)
   328   AddAmmo(cannibals[7], amFirePunch, 0)
   535   table.insert(acceptedDiedFinalAnim, {func = AnimSay, args = {leaks, loc("Pfew! That was close!"), SAY_THINK, 3000}})
   535   table.insert(acceptedDiedFinalAnim, {func = AnimSay, args = {leaks, loc("Pfew! That was close!"), SAY_THINK, 3000}})
   536   table.insert(acceptedDiedFinalAnim, {func = AnimSay, args = {leaks, loc("Your death will not be in vain, Dense Cloud!"), SAY_THINK, 5000}})
   536   table.insert(acceptedDiedFinalAnim, {func = AnimSay, args = {leaks, loc("Your death will not be in vain, Dense Cloud!"), SAY_THINK, 5000}})
   537   table.insert(acceptedDiedFinalAnim, {func = AnimSay, args = {dense, loc("You will be avenged!"), SAY_SAY, 3000}})
   537   table.insert(acceptedDiedFinalAnim, {func = AnimSay, args = {dense, loc("You will be avenged!"), SAY_SAY, 3000}})
   538 
   538 
   539   table.insert(refusedAnim, {func = AnimSay, args = {cyborg, loc("I see..."), SAY_SAY, 2000}})
   539   table.insert(refusedAnim, {func = AnimSay, args = {cyborg, loc("I see..."), SAY_SAY, 2000}})
   540   table.insert(refusedAnim, {func = AnimSay, args = {cyborg, loc("Remember this, pathetic animal: when the day comes, you will regret your blind loyalty!"), SAY_SAY, 8000}})
   540   table.insert(refusedAnim, {func = AnimSay, args = {cyborg, loc("Remember this, pathetic animal: When the day comes, you will regret your blind loyalty!"), SAY_SAY, 8000}})
   541   table.insert(refusedAnim, {func = AnimSay, args = {cyborg, loc("You just committed suicide..."), SAY_SAY, 5000}})
   541   table.insert(refusedAnim, {func = AnimSay, args = {cyborg, loc("You just committed suicide..."), SAY_SAY, 5000}})
   542   table.insert(refusedAnim, {func = AnimDisappear, args = {cyborg, unpack(cyborgPos)}})
   542   table.insert(refusedAnim, {func = AnimDisappear, args = {cyborg, unpack(cyborgPos)}})
   543   table.insert(refusedAnim, {func = AnimGiveState, args = {cyborg, gstInvisible}})
   543   table.insert(refusedAnim, {func = AnimGiveState, args = {cyborg, gstInvisible}})
   544   table.insert(refusedAnim, {func = AnimSay, args = {dense, loc("If you say so..."), SAY_THINK, 3000}})
   544   table.insert(refusedAnim, {func = AnimSay, args = {dense, loc("If you say so..."), SAY_THINK, 3000}})
   545   table.insert(refusedAnim, {func = AnimFollowGear, args = {cyborg}, swh = false})
   545   table.insert(refusedAnim, {func = AnimFollowGear, args = {cyborg}, swh = false})
   877 
   877 
   878 function DoReadyForStronglings()
   878 function DoReadyForStronglings()
   879   if stage == loseStage then
   879   if stage == loseStage then
   880     return
   880     return
   881   end
   881   end
   882   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("Leaks A Lot must survive!"), 1, 8000)
   882   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("Leaks A Lot must survive!"), 1, 8000)
   883   AddAmmo(dense, amSkip, 100)
   883   AddAmmo(dense, amSkip, 100)
   884   AddAmmo(dense, amSwitch, 100)
   884   AddAmmo(dense, amSwitch, 100)
   885   AddAmmo(leaks, amSkip, 100)
   885   AddAmmo(leaks, amSkip, 100)
   886   AddAmmo(leaks, amSwitch, 100)
   886   AddAmmo(leaks, amSwitch, 100)
   887   stage = duoStage
   887   stage = duoStage