remove fuel checking in VPrint entirely
This commit is contained in:
15
src/main.lua
15
src/main.lua
@@ -790,19 +790,8 @@ while true do
|
||||
else
|
||||
local buf,dimensions = load(name)
|
||||
local stacks = VP_createstack(buf, dimensions)
|
||||
|
||||
if turtle.getFuelLevel() < cost then
|
||||
write("WARNING: Not enough fuel! Continue anyway? y/n: ")
|
||||
while true do
|
||||
local ans = read("")
|
||||
if ans == "y" then
|
||||
VP_printstack(stacks, dimensions)
|
||||
break
|
||||
elseif ans == "n" then break end
|
||||
end
|
||||
else
|
||||
VP_printstack(stacks, dimensions)
|
||||
end
|
||||
|
||||
VP_printstack(stacks, dimensions)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user