diff --git a/exp_scenario/module/control/vlayer.lua b/exp_scenario/module/control/vlayer.lua index 70b8c05f..3b7be16d 100644 --- a/exp_scenario/module/control/vlayer.lua +++ b/exp_scenario/module/control/vlayer.lua @@ -68,6 +68,8 @@ local mega = 1000000 --- @field energy_production number W right now --- @field energy_total_production number W sustained if every stored solar panel was allocated --- @field energy_sustained number W averaged over a day +--- @field energy_input_limit number W input limit of storage, +--- @field energy_output_limit number W output limit of storage, --- @field energy_capacity number J --- @field energy_storage number J diff --git a/exp_scenario/module/gui/vlayer.lua b/exp_scenario/module/gui/vlayer.lua index f56b7e31..35fa136f 100644 --- a/exp_scenario/module/gui/vlayer.lua +++ b/exp_scenario/module/gui/vlayer.lua @@ -6,6 +6,7 @@ local Gui = require("modules/exp_gui") local Roles = require("modules/exp_roles") local Colors = require("modules/exp_util/include/color") local Vlayer = require("modules/exp_scenario/control/vlayer") +local Feature = require("modules/exp_scenario/features") local feature, config = Vlayer.feature, Vlayer.config local format_number = require("util").format_number @@ -385,6 +386,7 @@ Elements.remove_button = Gui.define("vlayer/remove_button") end) --[[@as any]] --- @class ExpGui_Vlayer.elements.controls.element_data +--- @field surface_dropdown LuaGuiElement --- @field type_dropdown LuaGuiElement --- @field interface_dropdown LuaGuiElement