mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 07:54:52 +09:00
comma
This commit is contained in:
1 parent
f329ad0f3d
commit
abe11ae7ff
1 file changed
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user