This commit is contained in:
phidias authored and GitHub committed 2026-11-11 01:47:43 +09:00
1 parent f329ad0f3d
commit abe11ae7ff
1 file changed
+4 -4
+4 -4
View File
@@ -152,22 +152,22 @@ function Elements.stats_table.calculate_display_data()
sustained = {
value = sustained,
caption = format_energy(statistics.energy_sustained, "W") .. " / " .. format_energy(statistics.energy_total_production, "W"),
tooltip = format_string(", %.1f %%", sustained * 100),
tooltip = format_string("%.1f %%", sustained * 100),
},
production = {
value = production,
caption = format_energy(statistics.energy_production, "W") .. " / " .. format_energy(statistics.energy_max, "W"),
tooltip = format_string(", %.1f %%", production * 100),
tooltip = format_string("%.1f %%", production * 100),
},
capacity = {
value = capacity,
caption = format_energy(statistics.energy_storage, "J") .. " / " .. format_energy(statistics.energy_capacity, "J"),
tooltip = format_string(", %.1f %%", capacity * 100),
tooltip = format_string("%.1f %%", capacity * 100),
},
["surface-area"] = {
value = math.min(math.max(surface_area / 0.1, 0), 1),
caption = format_number(statistics.remaining_surface_area, false),
tooltip = format_string(", %.1f %%", surface_area * 100),
tooltip = format_string("%.1f %%", surface_area * 100),
},
}
end