MarsP4ste

Redstone--openVault

Jun 12th, 2021 (edited)
680
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local com = require("component")
  2. local sides = require("sides")
  3. local list = com.list("redstone")
  4.  
  5. function setOutput(state)
  6.   for b in list do
  7. --    com.proxy(b).setOutput(sides.north,state)
  8.     com.proxy(b).setOutput(sides.east, state)
  9. --    com.proxy(b).setOutput(sides.south, state)
  10. --    com.proxy(b).setOutput(sides.west, state)
  11.   end
  12. end
  13.  
  14. --program
  15. setOutput(1)
RAW Paste Data