remove old file
This commit is contained in:
parent
83b189bec1
commit
b365c31671
|
@ -1,29 +0,0 @@
|
||||||
local tnt = peripheral.wrap "right"
|
|
||||||
local singularity = peripheral.wrap "left"
|
|
||||||
local ender_dust = peripheral.wrap "minecraft:dropper_0"
|
|
||||||
local vac = peripheral.wrap "thermal:device_collector_0"
|
|
||||||
|
|
||||||
while true do
|
|
||||||
if
|
|
||||||
#vac.list() == 0 and
|
|
||||||
tnt.getItemDetail(1).count >= 1 and
|
|
||||||
singularity.getItemDetail(1).count >= 5 and
|
|
||||||
ender_dust.getItemDetail(1).count >= 5
|
|
||||||
then
|
|
||||||
local i = 0
|
|
||||||
while i < 5 do
|
|
||||||
i = i + 1
|
|
||||||
redstone.setOutput("left", true)
|
|
||||||
os.sleep(0.1)
|
|
||||||
redstone.setOutput("left", false)
|
|
||||||
os.sleep(0.1)
|
|
||||||
end
|
|
||||||
os.sleep(1)
|
|
||||||
redstone.setOutput("right", true)
|
|
||||||
os.sleep(0.1)
|
|
||||||
redstone.setOutput("right", false)
|
|
||||||
end
|
|
||||||
|
|
||||||
os.sleep(25)
|
|
||||||
end
|
|
||||||
|
|
Loading…
Reference in a new issue