Home » People & Blogs » Galacticraft computerized airlock

Galacticraft computerized airlock

Written By Galbi3000 on Friday, Nov 15, 2013 | 09:03 PM

 
Version 2 of this tutorial can be found here: https://youtu.be/GbIfrCFGIbY This is a quick build of a Galacticraft airlock that is controlled using a ComputerCraft computer. I used an advanced computer to make the program code a little clearer in the video but it works with a standard computer too. Here is the program code in case you want to copy'n'paste it instead of copying from the video (sorry about the lack of indentation here): redstone.setOutput("left", true) redstone.setOutput("right", false) while true do sleep(0.1)​ if redstone.getInput("back") then if redstone.getOutput("left") then redstone.setOutput("right", true) sleep(1) redstone.setOutput("left", false)​ else redstone.setOutput("left", true) sleep(1) redstone.setOutput("right", false)​ end​ end​ end *NOTE* Sorry about the lack of sound, this was before my Twitch days and before Nvidia ShadowPlay recording. I picked software I thought would do the job but found it failed to record sound and also had a time limit for the recordings! This video was actually 3 recordings cut together. If there is enough demand I might make another version with sound and using more recent versions of the mods :)