mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-21 07:33:12 +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 = {
|
sustained = {
|
||||||
value = sustained,
|
value = sustained,
|
||||||
caption = format_energy(statistics.energy_sustained, "W") .. " / " .. format_energy(statistics.energy_total_production, "W"),
|
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 = {
|
production = {
|
||||||
value = production,
|
value = production,
|
||||||
caption = format_energy(statistics.energy_production, "W") .. " / " .. format_energy(statistics.energy_max, "W"),
|
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 = {
|
capacity = {
|
||||||
value = capacity,
|
value = capacity,
|
||||||
caption = format_energy(statistics.energy_storage, "J") .. " / " .. format_energy(statistics.energy_capacity, "J"),
|
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"] = {
|
["surface-area"] = {
|
||||||
value = math.min(math.max(surface_area / 0.1, 0), 1),
|
value = math.min(math.max(surface_area / 0.1, 0), 1),
|
||||||
caption = format_number(statistics.remaining_surface_area, false),
|
caption = format_number(statistics.remaining_surface_area, false),
|
||||||
tooltip = format_string(", %.1f %%", surface_area * 100),
|
tooltip = format_string("%.1f %%", surface_area * 100),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user