chore: remove explanatory comment
This commit is contained in:
parent
685a3d47e0
commit
24e9672578
1 changed files with 0 additions and 15 deletions
|
|
@ -38,21 +38,6 @@ local RECIPES = {
|
|||
|
||||
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)
|
||||
local result = {}
|
||||
for item, _ in pairs(items) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue