This commit is contained in:
Crispy 2025-05-22 20:51:25 +02:00
commit 12ffbdc45d
76 changed files with 79368 additions and 0 deletions

13
computer/14/startup.lua Normal file
View file

@ -0,0 +1,13 @@
while true do
tanks = peripheral.call("right","tanks")
lava = 0
for i,v in pairs(tanks) do
if v.name == "minecraft:lava" then
lava = lava + v.amount
end
end
if lava > 300 then
peripheral.call("right","pushFluid","left",lava - 300)
end
end