lets do some simple fuel printing

This commit is contained in:
Justus Wolff
2026-02-14 22:07:35 +01:00
parent 3bae5d5045
commit 336ccf810a

View File

@@ -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()))