feat: add new crafting recipes for cobblestone and stone variants; enhance auto-crafting logic for excess items
This commit is contained in:
@@ -445,11 +445,9 @@ local function main()
|
||||
|
||||
-- Task 5c: Auto-craft excess items into target products
|
||||
function()
|
||||
if #cfg.AUTO_CRAFT_RULES == 0 then
|
||||
while true do sleep(3600) end
|
||||
end
|
||||
sleep(12) -- let initial scan + discard settle first
|
||||
log.info("AUTOCRAFT", "Auto-craft active with %d rule(s)", #cfg.AUTO_CRAFT_RULES)
|
||||
log.info("AUTOCRAFT", "Auto-craft active (%d explicit rule(s), smart=%s)",
|
||||
#cfg.AUTO_CRAFT_RULES, tostring(cfg.AUTO_CRAFT_FROM_EXCESS))
|
||||
while true do
|
||||
if ctx.craftTurtleName then
|
||||
activity.autocrafting = true
|
||||
|
||||
Reference in New Issue
Block a user