mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-13 16:14:52 +09:00
limit
This commit is contained in:
1 parent
81d89683c7
commit
b3e91220ff
1 file changed
+4
@@ -211,6 +211,8 @@ local circuit_signals = {
|
||||
production_multiplier = "signal-M",
|
||||
energy_production = "signal-P",
|
||||
energy_sustained = "signal-S",
|
||||
energy_input_limit = "signal-I",
|
||||
energy_output_limit = "signal-O",
|
||||
energy_capacity = "signal-C",
|
||||
energy_storage = "signal-E",
|
||||
} --- @type table<string, string>
|
||||
@@ -476,6 +478,8 @@ function Vlayer.get_statistics(s_index)
|
||||
energy_max = production,
|
||||
energy_production = production * production_multiplier,
|
||||
energy_total_production = properties.total_production * sustained_multiplier * mega,
|
||||
energy_input_limit = properties.input_limit * mega,
|
||||
energy_output_limit = properties.output_limit * mega,
|
||||
energy_sustained = production * sustained_multiplier,
|
||||
energy_capacity = properties.capacity * mega,
|
||||
energy_storage = vd.storage.energy,
|
||||
|
||||
Reference in new issue
Block a user