share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/shadow.lua
changeset 15068 6f51c75994a4
parent 15034 981f16edea02
child 15080 cd60866e6efb
equal deleted inserted replaced
15067:d59da429d22c 15068:6f51c75994a4
   251 function AfterStronglingsAnim()
   251 function AfterStronglingsAnim()
   252   if stage == loseStage then
   252   if stage == loseStage then
   253     return
   253     return
   254   end
   254   end
   255   stage = cyborgStage
   255   stage = cyborgStage
   256   ShowMission(loc("The Shadow Falls"), loc("The Dilemma"), loc("Choose your side! If you want to join the strange man, walk up to him.|Otherwise, walk away from him. If you decide to att...nevermind..."), 1, 8000)
   256   ShowMission(loc("The Shadow Falls"), loc("The Dilemma"), loc("Choose your side! If you want to join the strange man, walk up to him.|Otherwise, walk away from him. If you decide to att...nevermind..."), 3, 8000)
   257   AddEvent(CheckChoice, {}, DoChoice, {}, 0)
   257   AddEvent(CheckChoice, {}, DoChoice, {}, 0)
   258   AddEvent(CheckRefuse, {}, DoRefuse, {}, 0)
   258   AddEvent(CheckRefuse, {}, DoRefuse, {}, 0)
   259   AddEvent(CheckAccept, {}, DoAccept, {}, 0)
   259   AddEvent(CheckAccept, {}, DoAccept, {}, 0)
   260   AddEvent(CheckConfront, {}, DoConfront, {}, 0)
   260   AddEvent(CheckConfront, {}, DoConfront, {}, 0)
   261   AddAmmo(dense, amSwitch, 0)
   261   AddAmmo(dense, amSwitch, 0)
  1076      -- FIXME: No precise key available in Touch yet.
  1076      -- FIXME: No precise key available in Touch yet.
  1077      hint = ""
  1077      hint = ""
  1078   else
  1078   else
  1079      hint = "|" .. loc("Hint: Cinematics can be skipped with the [Precise] key.")
  1079      hint = "|" .. loc("Hint: Cinematics can be skipped with the [Precise] key.")
  1080   end
  1080   end
  1081   ShowMission(loc("The Shadow Falls"), loc("The First Encounter"), loc("Survive!") .. hint, 1, 0)
  1081   ShowMission(loc("The Shadow Falls"), loc("The First Encounter"), loc("Survive!") .. hint, 10, 0)
  1082 end
  1082 end
  1083 
  1083 
  1084 function onGameTick()
  1084 function onGameTick()
  1085   AnimUnWait()
  1085   AnimUnWait()
  1086   if ShowAnimation() == false then
  1086   if ShowAnimation() == false then