# HG changeset patch # User Wuzzy # Date 1558034107 -7200 # Node ID 1e21dfd7f9b5a0716877307696c91c62fe2c336b # Parent 8c1a8673843f02f899718be404bf24f5c12c3f42 CTF_Blizzard: Fix the mission text, remove string concatenation stuff diff -r 8c1a8673843f -r 1e21dfd7f9b5 share/hedgewars/Data/Maps/CTF_Blizzard/map.lua --- a/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua Thu May 16 20:31:41 2019 +0200 +++ b/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua Thu May 16 21:15:07 2019 +0200 @@ -237,7 +237,8 @@ SetHealth(hhs[i],0) end end - ShowMission(loc("GAME OVER!"), loc("Victory for the ") .. GetHogTeamName(CurrentHedgehog), loc("Hooray!"), 0, 0) + local victoryMsg = string.format(loc("Victory for %s!"), GetHogTeamName(CurrentHedgehog)) + AddCaption(victoryMsg, capcolDefault, capgrpGameState) end end @@ -532,14 +533,13 @@ function onGameStart() ShowMission(loc("CTF_Blizzard"), loc("Capture The Flag"), - loc("- Place your clan flag at the end of your first turn") .. "|" .. loc("- Return the enemy flag to your base to score") .."|".. string.format(loc("- First clan to score %d captures wins"), 3) .. "|".. loc("- You may only score when your flag is in your base") .."|".. loc("- Hogs will drop the flag when killed") .."|".. loc("- Dropped flags may be returned or recaptured").."|".. loc("- Hogs will be revived") .."|".. - loc("- Enter the sparkling forcefield to teleport"), 0, 0) + loc("- Touch the sparkles near your base to teleport"), 0, 0) -- initialize teleporters leftTel = CreateZone(342,1316,42,449) -- left teleporter (clan 0)