From b1c8c261ec5427e97bbfca6192429ac46fc87c31 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Sun, 15 Mar 2026 23:33:34 -0400 Subject: [PATCH] Adjust compost interval to improve efficiency and increase feeding capacity in autoCompost function --- inventoryManager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inventoryManager.lua b/inventoryManager.lua index 41608ef..b9089dd 100644 --- a/inventoryManager.lua +++ b/inventoryManager.lua @@ -9,7 +9,7 @@ local SCAN_INTERVAL = 120 -- seconds between full background scans local SMELT_INTERVAL = 3 -- seconds between furnace checks local SMELT_RESERVE = 64 -- keep at least 1 stack of each raw material local DEFRAG_INTERVAL = 60 -- seconds between defrag passes -local COMPOST_INTERVAL = 10 -- seconds between composter checks +local COMPOST_INTERVAL = 3 -- seconds between composter checks local ALERT_INTERVAL = 15 -- seconds between alert re-checks local CACHE_FILE = ".inventory_cache" -- persistent cache file local SMELTER_MONITOR_SIDE = "top" @@ -1854,7 +1854,7 @@ local function autoCompost() local available = totalInStorage - COMPOST_RESERVE if available > 0 then - local toFeed = math.min(available, dropperFree, 16) + local toFeed = math.min(available, dropperFree, 64) local fed = 0 for _, source in ipairs(catalogue[itemName]) do local chest = peripheral.wrap(source.chest)