share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 13377 57e15407804d
parent 13372 6fd53df98549
child 13379 e1aa72e0872e
equal deleted inserted replaced
13376:da913fc1d350 13377:57e15407804d
  1080 function SetCSAmmoDescriptions(mode)
  1080 function SetCSAmmoDescriptions(mode)
  1081 	if mode == "continents" then
  1081 	if mode == "continents" then
  1082 		for c=1, #CS.CONTINENT_INFORMATION do
  1082 		for c=1, #CS.CONTINENT_INFORMATION do
  1083 			local cont = CS.CONTINENT_INFORMATION[c]
  1083 			local cont = CS.CONTINENT_INFORMATION[c]
  1084 			local hp = string.format(loc("Initial health: %d"), cont[7])
  1084 			local hp = string.format(loc("Initial health: %d"), cont[7])
  1085 			SetAmmoTexts(cont[4][1], cont[1], cont[2], hp .."|" .. cont[3])
  1085 			SetAmmoTexts(cont[4][1], cont[1], cont[2], hp .."|" .. cont[3], false)
  1086 			SetAmmoDescriptionAppendix(cont[4][1], nil)
  1086 			SetAmmoDescriptionAppendix(cont[4][1], nil)
  1087 		end
  1087 		end
  1088 		SetAmmoTexts(amSwitch, loc("Random continent"), loc("If you just don’t care …"), loc("Select this item for a random continent."))
  1088 		SetAmmoTexts(amSwitch, loc("Random continent"), loc("If you just don’t care …"), loc("Select this item for a random continent."), false)
  1089 
  1089 
  1090 	elseif mode == "weapons" then
  1090 	elseif mode == "weapons" then
  1091 		local specSelect = loc("Switch: Select weapon special")
  1091 		local specSelect = loc("Switch: Select weapon special")
  1092 		local specHeader = loc("Available weapon specials:")
  1092 		local specHeader = loc("Available weapon specials:")
  1093 		local specText="|"..
  1093 		local specText="|"..