Show mines timer in ACF, Dragon's Lair
authorWuzzy <almikes@aol.com>
Sun, 16 Apr 2017 05:37:56 +0200
changeset 12274 401cf7a7f870
parent 12273 2eedf9e0cd6d
child 12275 c9d1a8cfa322
Show mines timer in ACF, Dragon's Lair
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua	Sun Apr 16 04:49:05 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua	Sun Apr 16 05:37:56 2017 +0200
@@ -299,7 +299,7 @@
   ShowMission(loc("Dragon's Lair"), loc("Obstacle course"), loc("In order to get to the other side, you need to collect the crates first.|") ..
                                                   loc("As the ammo is sparse, you might want to reuse ropes while mid-air.|") ..
                                                   loc("The enemy can't move but it might be a good idea to stay out of sight!|") ..
-                                                  string.format(loc("You have %d turns until Sudden Death! Better hurry!"), SuddenDeathTurns), 1, 0)
+                                                  loc("Mines time: 5 seconds"), 1, 0)
 end
 
 function SkipKillAnim()
@@ -312,7 +312,7 @@
   PutWeaponCrates()
   TurnTimeLeft = TurnTime
   AddEvent(CheckCyborgsDead, {}, DoCyborgsDead, {}, 0)
-  ShowMission(loc("Dragon's Lair"), loc("The Slaughter"), loc("Kill the aliens!"), 1, 2000)
+  ShowMission(loc("Dragon's Lair"), loc("The Slaughter"), loc("Kill the aliens!").."|"..loc("Mines time: 5 seconds"), 1, 2000)
 end
 
 function SkipKilledAnim()
@@ -330,7 +330,8 @@
   SpawnHealthCrate(secondPos[1][1] + 30, secondPos[1][2])
   ShowMission(loc("Dragon's Lair"), loc("The what?!"), loc("Use the portal gun to get to the next crate, then use the new gun to get to the final destination!|")..
                                              loc("Portal hint: one goes to the destination, and one is the entrance.|")..
-                                             loc("Teleport hint: just use the mouse to select the destination!"), 1, 0)
+                                             loc("Teleport hint: just use the mouse to select the destination!").."|"..
+                                             loc("Mines time: 5 seconds"), 1, 0)
 end
 -----------------------------Events------------------------------------