Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 18, 2024
1 parent 750440c commit b59e84f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autowheelbarrow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ local function set_wheelbarrows_for_all_stockpiles()
#food_settings.powder_creature > 0 or #food_settings.glob > 0 or #food_settings.glob_paste > 0 or
#food_settings.glob_pressed > 0 or #food_settings.liquid_plant > 0 or #food_settings.liquid_animal > 0 or
#food_settings.liquid_misc > 0
--dfhack.println("Skipping stockpile due to food items" .. tostring(building))
--dfhack.println("Skipping stockpile due to food items" .. tostring(building))

end

Expand Down Expand Up @@ -99,7 +99,7 @@ end
-- Event loop function to call periodically
local function event_loop()
if enabled then
dfhack.println("Running autowheelbarrow.lua ")
dfhack.println("Running autowheelbarrow.lua ")
auto_wheelbarrows()
-- Check again in 1 days
repeatutil.scheduleUnlessAlreadyScheduled(GLOBAL_KEY, 1, "days", event_loop)
Expand All @@ -117,4 +117,4 @@ end

-- Enable the script and start the event loop
enabled = true
event_loop()
event_loop()

0 comments on commit b59e84f

Please sign in to comment.