CTF_Blizzard: Fix the mission text, remove string concatenation stuff
authorWuzzy <Wuzzy2@mail.ru>
Thu, 16 May 2019 21:15:07 +0200
changeset 14982 1e21dfd7f9b5
parent 14981 8c1a8673843f
child 14983 fe8b4f2da9aa
CTF_Blizzard: Fix the mission text, remove string concatenation stuff
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)