# HG changeset patch # User Wuzzy # Date 1448138240 -3600 # Node ID e02f2e98bf713a8991cc23e0cfe026be09fdf708 # Parent 806da449d355b3d9cb609c1912e1a6cbf18213ed Use Goals instead of ShowMission for Highlander mission dialog diff -r 806da449d355 -r e02f2e98bf71 share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Sat Nov 21 21:23:05 2015 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua Sat Nov 21 21:37:20 2015 +0100 @@ -242,6 +242,8 @@ EnableGameFlags(gfInfAttack, gfRandomOrder, gfPerHogAmmo) DisableGameFlags(gfResetWeps, gfSharedAmmo) HealthCaseProb = 100 + Goals = loc("Highlander: Eliminate enemy hogs and take their weapons.") .."|" .. + loc("Weapons are reset on end of turn.") end function onGameStart() @@ -271,16 +273,6 @@ --WriteLnToConsole('utiltot:'..utiltot..' atktot:'..atktot) - ShowMission ( - loc("HIGHLANDER"), - loc("Not all hogs are born equal."), - - "- " .. loc("Eliminate enemy hogs and take their weapons.") .. "|" .. - "- " .. loc("Per-Hog Ammo") .. "|" .. - "- " .. loc("Weapons reset.") .. "|" .. - "- " .. loc("Unlimited Attacks") .. "|" .. - "", 4, 4000 - ) runOnGears(StartingSetUp) runOnGears(ConvertValues)