From 24e9672578bbe77bd620a12415fe5be0aedf56a2 Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Fri, 2 Jan 2026 22:47:22 -0500 Subject: [PATCH 1/2] chore: remove explanatory comment --- oregen-manager.lua | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/oregen-manager.lua b/oregen-manager.lua index 3cf8da1..922e09f 100644 --- a/oregen-manager.lua +++ b/oregen-manager.lua @@ -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 From 656c6f88ba39134d173db45d8491581c2fc790b4 Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Fri, 2 Jan 2026 22:58:55 -0500 Subject: [PATCH 2/2] feat: add more metals --- oregen-manager.lua | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/oregen-manager.lua b/oregen-manager.lua index 922e09f..097d183 100644 --- a/oregen-manager.lua +++ b/oregen-manager.lua @@ -12,6 +12,9 @@ local EXPORT_ADDR = "Output" -- amount to keep in EXPORT_STORAGE local KEEP_STOCKED = { ["minecraft:iron_nugget"] = 4 * 64, + ["minecraft:gold_nugget"] = 4 * 64, + ["create:zinc_nugget"] = 4 * 64, + ["create:copper_nugget"] = 4 * 64, } local GLOBAL_LIMS = { @@ -23,17 +26,35 @@ local LIMIT_EXCEPTIONS = {} local CRUSHABLE = { "create:crimsite", + "create:asurine", + "create:veridium", + "create:ochrum", } local WASHABLE = { } local MELTABLE = { "create:crushed_raw_iron", + "create:crushed_raw_zinc", + "create:crushed_raw_gold", + "create:crushed_raw_copper", } local RECIPES = { ["minecraft:iron_nugget"] = { - {"create:crimsite", 60}, + {"minecraft:iron_nugget", 60}, {"minecraft:gravel", 24}, }, + ["minecraft:gold_nugget"] = { + {"minecraft:gold_nugget", 64}, + {"minecraft:gravel", 64}, + }, + ["create:zinc_nugget"] = { + {"create:zinc_nugget", 64}, + {"minecraft:gravel", 32}, + }, + ["create:copper_nugget"] = { + {"create:copper_nugget", 63}, + {"minecraft:gravel", 18}, + }, } local SLEEP_T = 20