lets do some simple fuel printing
This commit is contained in:
10
src/main.lua
10
src/main.lua
@@ -0,0 +1,10 @@
|
||||
-- https://git.l--n.de/justuswolff/cc_housebuild/raw/branch/main/src/main.lua
|
||||
|
||||
if not _G["turtle"] then
|
||||
error("This program only runs on turtles!")
|
||||
end
|
||||
|
||||
local turtle = _G["turtle"]
|
||||
|
||||
print("fuel: "..tostring(turtle.getFuelLevel()).."/"..tostring(turtle.getFuelLimit()))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user