Upload files to "Lua minecraft"

This commit is contained in:
2025-11-09 17:46:47 -05:00
parent 573cbaafbc
commit a0e08089e7
9 changed files with 1624 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
local p=peripheral.wrap("fissionReactorLogicAdapter_2")
local burn = 0
local maxburn= tonumber(p.getMaxBurnRate())
while true do
burn = tonumber(read())
if burn > maxburn then
print("Burnrate not reachable")
else
if burn > 100 then
print("Burn rate to high")
else
break
end
end
end
p.setBurnRate(burn)
print("Reactor Burnrate =",p.getBurnRate())