summaryrefslogtreecommitdiff
path: root/door.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-05-17 20:40:55 +0100
committerubq323 <ubq323@ubq323.website>2024-05-17 20:40:55 +0100
commitf1a883e2d890cb81381f0cb645a071cb7b2c599c (patch)
tree1d5998beabe6957f55171ec304177dd0f8548d46 /door.lua
parentef5adede617969488ec8f3c98cb64227da8a51c3 (diff)
launch doorHEADtrunk
Diffstat (limited to 'door.lua')
-rw-r--r--door.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/door.lua b/door.lua
index 2c3be24..4c489fb 100644
--- a/door.lua
+++ b/door.lua
@@ -1,9 +1,10 @@
local ps={peripheral.find"redstone_integrator"}
-local function set(v)
+local function set(b)
for _,v in ipairs(ps) do
- v.setOutput("top",v)
+ v.setOutput("top",b)
end
+end
while true do
set(true)