Code: Select all
local text = format( [=[Continuing work on <b>%s</b> will require <b>%d</b><METAL> next turn.]=],
building_design or (planet.activity and 'Manufacture Population') or planet.project_name, metal_use)
Code: Select all
local text = format( [=[Continuing work on <b>%s</b> will require <b>%d</b><METAL> next turn.]=],
planet.project_name or (planet.activity and 'Manufacture Population') or building_design, metal_use)
gaerzi wrote:Did you add a metal cost to terraforming? The text about the "incomplete hull" sounds weird in that context too. The incomplete hull of the planet?
Code: Select all
if (metal_use > 0) or (building_metal >0)
local text = format( [=[Continuing work on <b>%s</b> will require <b>%d</b><METAL> next turn.]=],
planet.project_name or (planet.activity and 'Manufacture Population') or building_design, metal_use)
if building_metal > 0
text ..= format( " (The incomplete %s already contains <b>%d</b><METAL>.)",building_design and 'hull' or 'project', building_metal)
end
Users browsing this forum: No registered users and 12 guests