# HG changeset patch # User Wuzzy # Date 1546718842 -3600 # Node ID c96079ee46875794bfb717ca6442779a206196f3 # Parent 213a636f57fe5d9cc6b071eda6ecb74ea103fb49 TS: Simplify mission panel, fix bad string concatenation diff -r 213a636f57fe -r c96079ee4687 share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua Sat Jan 05 20:58:12 2019 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/The_Specialists.lua Sat Jan 05 21:07:22 2019 +0100 @@ -219,24 +219,12 @@ ClearGameFlags() EnableGameFlags(gfResetWeps, gfInfAttack, gfPlaceHog, gfPerHogAmmo, gfSwitchHog) HealthCaseProb = 100 + Goals = loc("The Specialists: Each hedgehog starts with its own weapon set") end function onGameStart() CreateTeam() - - ShowMission( - loc("THE SPECIALISTS"), - loc("a Hedgewars mini-game"), - loc("Eliminate the enemy specialists.") .. "|" .. - " " .. "|" .. - loc("Game Modifiers: ") .. "|" .. - loc("Per-Hog Ammo") .. "|" .. - loc("Weapons Reset") .. "|" .. - loc("Unlimited Attacks") .. "|" .. - "", 4, 4000 - ) - trackTeams() end @@ -245,7 +233,7 @@ function onNewTurn() started = true - AddCaption(loc("Prepare yourself") .. ", " .. GetHogName(CurrentHedgehog).. "!") + AddCaption(string.format(loc("Prepare yourself, %s!"), GetHogName(CurrentHedgehog))) end