From 8c2674e5dd072a5447ca3da99353e22fb78bc9b4 Mon Sep 17 00:00:00 2001 From: kepler155c Date: Sat, 24 Nov 2018 17:00:23 -0500 Subject: [PATCH] milo: slow down retry time --- milo/Milo.lua | 3 +++ milo/MiloRemote.lua | 2 +- milo/apps/furni.lua | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/milo/Milo.lua b/milo/Milo.lua index 84c3e36..ac734fd 100644 --- a/milo/Milo.lua +++ b/milo/Milo.lua @@ -9,6 +9,9 @@ 2. Equip the turtle with an introspection module. ]]-- + +-- TODO: fix which is primary wired modem + _G.requireInjector(_ENV) local Config = require('config') diff --git a/milo/MiloRemote.lua b/milo/MiloRemote.lua index 3434260..ee00142 100644 --- a/milo/MiloRemote.lua +++ b/milo/MiloRemote.lua @@ -429,7 +429,7 @@ end Event.addRoutine(function() local sleepTime = 1.5 while true do - os.sleep(sleepTime) + os.sleep(socket and sleepTime or 5) if config.deposit then local neural = device.neuralInterface local inv = config.useShield and 'getEquipment' or 'getInventory' diff --git a/milo/apps/furni.lua b/milo/apps/furni.lua index 188519c..3692f92 100644 --- a/milo/apps/furni.lua +++ b/milo/apps/furni.lua @@ -4,7 +4,7 @@ Use 4 furnaces at once to smelt items. SETUP: Place an introspection module into the turtles inventory. Connect with wired modem at bottom of turtle. - Place furnaces on each side EXCEPT for bottom and right. + Place furnaces on each side EXCEPT for bottom and left. CONFIGURATION: Set turtle as a "Generic Inventory"