From bcf1e02e2fb3d5bd8df9071639935550ddd0c457 Mon Sep 17 00:00:00 2001 From: unboundlopez <47876628+unboundlopez@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:32:50 -0500 Subject: [PATCH] Update autowheelbarrow.lua Changed the amount of days it takes to loop the program as when there are to many wheelbarrows it can take a few days to carry the wheelbarrow over to a stockpile resulting in a infinite loop. Changing to 7 days results in even kids reaching their destination with a wheelbarrow before the 7th day. --- autowheelbarrow.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autowheelbarrow.lua b/autowheelbarrow.lua index 71008dbe3..192ed6653 100644 --- a/autowheelbarrow.lua +++ b/autowheelbarrow.lua @@ -101,8 +101,8 @@ local function event_loop() if enabled then dfhack.println("Running autowheelbarrow.lua ") auto_wheelbarrows() - -- Check again in 1 days - repeatutil.scheduleUnlessAlreadyScheduled(GLOBAL_KEY, 1, "days", event_loop) + -- Check again in 7 days + repeatutil.scheduleUnlessAlreadyScheduled(GLOBAL_KEY, 7, "days", event_loop) end end