equal
deleted
inserted
replaced
706 local teamComment = {} |
706 local teamComment = {} |
707 for i = TeamsCount,1,-1 do |
707 for i = TeamsCount,1,-1 do |
708 local comment |
708 local comment |
709 if teamStats[i].name ~= " " then |
709 if teamStats[i].name ~= " " then |
710 local comment = teamStats[i].name .. " |" .. |
710 local comment = teamStats[i].name .. " |" .. |
711 string.format(loc("Score: %d points"), teamStats[i].score) .. "|" .. |
711 string.format(loc("Score: %d"), teamStats[i].score) .. "|" .. |
712 string.format(loc("Kills: %d invaders destroyed"), teamStats[i].kills) .. "|" .. |
712 string.format(loc("Kills: %d"), teamStats[i].kills) |
713 " " .. "|" |
713 if i < TeamsCount then |
|
714 comment = comment .. "| |" |
|
715 end |
714 table.insert(teamComment, comment) |
716 table.insert(teamComment, comment) |
715 |
717 |
716 SendStat(siClanHealth, tostring(teamStats[i].score), teamStats[i].name) |
718 SendStat(siClanHealth, tostring(teamStats[i].score), teamStats[i].name) |
717 else |
719 else |
718 comment = "|" |
720 comment = "|" |
1228 |
1230 |
1229 ShowMission ( |
1231 ShowMission ( |
1230 loc("SPACE INVASION"), |
1232 loc("SPACE INVASION"), |
1231 loc("A Hedgewars mini-game"), |
1233 loc("A Hedgewars mini-game"), |
1232 |
1234 |
1233 loc("Destroy invaders to score points.") .. "|" .. |
1235 loc("Fly into space to fight off the invaders with barrels!") .."|".. |
|
1236 loc("Destroy invaders and collect bonuses to score points.") .. "|" .. |
|
1237 loc("Get the highest score to win.") .. "|" .. |
|
1238 " " .. "|" .. |
|
1239 loc("Avoid bazookas, red and blue invaders.") .. "|" .. |
|
1240 loc("Collect the green and purple invaders.") .. "|" .. |
|
1241 loc("Use the shield to protect yourself from bazookas.") .. "|" .. |
1234 " " .. "|" .. |
1242 " " .. "|" .. |
1235 |
1243 |
1236 string.format(loc("Round Limit: %d"), roundLimit) .. "|" .. |
1244 string.format(loc("Round Limit: %d"), roundLimit) .. "|" .. |
1237 string.format(loc("Turn Time: %dsec"), (TurnTime/1000)) .. "|" .. |
1245 string.format(loc("Turn Time: %dsec"), (TurnTime/1000)) .. "|" .. |
1238 " " .. "|" .. |
1246 " " .. "|" .. |
1819 vCircActive[i] = false |
1827 vCircActive[i] = false |
1820 |
1828 |
1821 if (vType[i] == "drone") then |
1829 if (vType[i] == "drone") then |
1822 PlaySound(sndHellishImpact4) |
1830 PlaySound(sndHellishImpact4) |
1823 TimeLeft = TimeLeft + timeBonus |
1831 TimeLeft = TimeLeft + timeBonus |
1824 AddCaption(string.format(loc("Time Extended! +%dsec"), timeBonus), 0xff0000ff,capgrpMessage ) |
1832 AddCaption(string.format(loc("Time extended! +%dsec"), timeBonus), 0xff0000ff,capgrpMessage ) |
1825 DrawTag(0) |
1833 DrawTag(0) |
1826 |
1834 |
1827 morte = AddGear(vCircX[i], vCircY[i], gtExplosives, 0, 0, 0, 1) |
1835 morte = AddGear(vCircX[i], vCircY[i], gtExplosives, 0, 0, 0, 1) |
1828 SetHealth(morte, 0) |
1836 SetHealth(morte, 0) |
1829 |
1837 |