app tweaks

This commit is contained in:
kepler155c@gmail.com
2019-04-25 14:43:55 -04:00
parent c486301116
commit b03b0d366b
6 changed files with 103 additions and 19 deletions

View File

@@ -1134,7 +1134,6 @@ while bRunning do
action = keyMapping.char
param = ie.ch
else
_debug(ie.code)
action = keyMapping[ie.code]
end
end

View File

@@ -115,7 +115,7 @@ Needs work
run = "multiMiner.lua",
},
[ "hexedit" ] = {
title = "hexEdit",
title = "HexEdit",
category = "Apps",
requires = "advancedComputer",
icon = "  dfŸfdŒdf›f5Œ5f›\

View File

@@ -171,11 +171,6 @@ local function run(member, point)
turtle.set({
movementStrategy = 'goto',
digPolicy = 'blacklist',
blacklist = {
'turtle',
'chest',
'shulker',
},
})
end
@@ -252,11 +247,17 @@ local function run(member, point)
while not turtle.go(Point.above(spt)) do
os.sleep(.5)
end
turtle.set({ digPolicy = 'dig' })
turtle.go(spt)
if turtle.selectSlotWithQuantity(0) then
turtle.set({ digPolicy = 'dig' })
end
while not turtle.go(spt) do
os.sleep(.5)
end
else
turtle.gotoY(spt.y)
turtle.go(spt)
while not turtle.go(spt) do
os.sleep(.5)
end
end
end)