share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
changeset 15069 e16f906224fd
parent 14989 5188ecbf726f
child 15269 96fbf9bb960a
equal deleted inserted replaced
15068:6f51c75994a4 15069:e16f906224fd
   126 
   126 
   127 end
   127 end
   128 
   128 
   129 function showStartingInfo()
   129 function showStartingInfo()
   130 
   130 
   131     ShowMission(loc("Mutant"), loc("A Hedgewars tag game"), rules(), 1, 5000)
   131     ShowMission(loc("Mutant"), loc("A Hedgewars tag game"), rules(), -amWatermelon, 5000)
   132 
   132 
   133 end
   133 end
   134 
   134 
   135 function onGameInit()
   135 function onGameInit()
   136     -- Sudden Death would be weird
   136     -- Sudden Death would be weird
   463     else
   463     else
   464 
   464 
   465     ShowMission(loc("Mutant"),
   465     ShowMission(loc("Mutant"),
   466         loc("Final result"),
   466         loc("Final result"),
   467         string.format(loc("Winner: %s"), teamsSorted[1]) .. "| |" .. loc("Scores:") .. " |" ..
   467         string.format(loc("Winner: %s"), teamsSorted[1]) .. "| |" .. loc("Scores:") .. " |" ..
   468         showScore, 0, 15000)
   468         showScore, 4, 15000)
   469 
   469 
   470         -- return winning team
   470         -- return winning team
   471         return teamsSorted[1]
   471         return teamsSorted[1]
   472     end
   472     end
   473 end
   473 end