#137 save/recall waste configuration with config file

This commit is contained in:
Mikayla Fischler
2023-01-23 20:47:45 -05:00
parent 8abac3fdcb
commit e808ee2be0
5 changed files with 40 additions and 4 deletions

View File

@@ -322,6 +322,9 @@ function unit.new(for_reactor, num_boilers, num_turbines)
---@param rs_unit unit_session
function public.add_redstone(rs_unit)
table.insert(self.redstone, rs_unit)
-- send or re-send waste settings
public.set_waste(self.waste_mode)
end
-- link a turbine RTU session

View File

@@ -14,7 +14,7 @@ local svsessions = require("supervisor.session.svsessions")
local config = require("supervisor.config")
local supervisor = require("supervisor.supervisor")
local SUPERVISOR_VERSION = "beta-v0.9.5"
local SUPERVISOR_VERSION = "beta-v0.9.6"
local print = util.print
local println = util.println