share/hedgewars/Data/Scripts/Multiplayer/Frenzy.lua
changeset 14413 04231f066ada
parent 12337 75b41f029aaa
child 14414 6843c4551cde
equal deleted inserted replaced
14412:70fe783d0548 14413:04231f066ada
    24 function showStartingInfo()
    24 function showStartingInfo()
    25 
    25 
    26 	ruleSet = "" ..
    26 	ruleSet = "" ..
    27 	loc("RULES:") .. " |" ..
    27 	loc("RULES:") .. " |" ..
    28 	loc("Each turn is only ONE SECOND!") .. "|" ..
    28 	loc("Each turn is only ONE SECOND!") .. "|" ..
    29 	loc("Use your ready time to think.") .. "|" ..
    29 	loc("Use your ready time to think.")
    30 	loc("Slot keys save time! (F1-F10 by default)") .. "| |"
    30 	if INTERFACE ~= "touch" then
    31 	for i=1, #frenzyAmmos do
    31 		ruleSet = ruleSet .. "|" ..
    32 		ruleSet = ruleSet .. string.format(loc("Slot %d: %s"), i, GetAmmoName(frenzyAmmos[i])) .. "|"
    32 		loc("Slot keys save time! (F1-F10 by default)") .. "| |"
       
    33 		for i=1, #frenzyAmmos do
       
    34 			ruleSet = ruleSet .. string.format(loc("Slot %d: %s"), i, GetAmmoName(frenzyAmmos[i])) .. "|"
       
    35 		end
    33 	end
    36 	end
    34 
    37 
    35 	ShowMission(loc("FRENZY"),
    38 	ShowMission(loc("FRENZY"),
    36                 loc("A frenetic Hedgewars mini-game"),
    39                 loc("A frenetic Hedgewars mini-game"),
    37                 ruleSet, 0, 4000)
    40                 ruleSet, 0, 4000)