chore: remove explanatory comment

This commit is contained in:
Emerson Rosen-Jones 2026-01-02 22:47:22 -05:00
parent 685a3d47e0
commit 24e9672578

View file

@ -38,21 +38,6 @@ local RECIPES = {
local SLEEP_T = 20 local SLEEP_T = 20
-- logic: keep a certain amount of certain items in stock in STOCK via
-- RECIPES. while the number is over a certain amount, excess can be used
-- to keep items in stock in EXPORT_STORAGE
-- e.g. lower_lim is 100, upper_lim is 200. export_amt is 100
-- when below 100, go into recipe mode, producing the item
-- when above 200, go into export mode, sending items to export until there are
-- 100 in EXPORT_STORAGE or until at or below 100 in stock (lower_lim)
-- i.e. mode = match (stock_amt, current_mode) {
-- (x, _), x <= lower_lim = RecipeMode;
-- (x, _), x >= upper_lim = ExportMode;
-- (_, curr) = curr;
-- }
-- in order to push the other products through the system, they will be checked
-- and sent if enough of them accrue
function createModes (items) function createModes (items)
local result = {} local result = {}
for item, _ in pairs(items) do for item, _ in pairs(items) do