A short video showing a LUA script I put together for the ComputerCraft Mod for Minecraft.
When the console is active you can press "d" to open the disk drive (it autocloses after 5 seconds). You can then insert a disk as a key card to activate the secure door.
Alternatively you can press "p" to get a password prompt which will do the same.
It's written in a way which prevents code termination via CTRL+T.
It also comes with an installation routine for the ingame computers and some other options.
Here's the LUA code for it, use and improve as you like:
v1.3: http://pastebin.com/ddZNfxFp
OLD VERSIONS:
v1.2: http://pastebin.com/xbWTT26W
v1.1 http://pastebin.com/3YMBzuXt
Worldsave: http://www.mediafire.com/?ipfrrfxi4kkftah
(The worldsave uses v1.0 of the script)
ComputerCraft: http://www.minecraftforum.net/topic/892282-11-computercraft-121/
Inventory Mod:
"Not Enough Items": http://www.minecraftforum.net/topic/909223-110181-smp-chickenbones-mods/
TELL US HOW YOU DOWNLOAD COMPUTER CRAFT!
when i try it says did not install corectly
slicker41 1 week ago
@slicker41 Unfortunately there are too many possibilities of what could've gone wrong. Try asking for help in the ComputerCraft forum thread. You have better chances there, I'm sure. :)
nicodemusimnexus 1 week ago
When you check your inventory, what was the mod that adds more buttons?
lolydodo123 4 weeks ago
@lolydodo123 It's called "Not Enough Items", which is a successor to both Too Many Items and Recipe Book. You also need "CodeChickenCore", which is a base mod from the same modder. I'll update the description in a moment with a link.
nicodemusimnexus 4 weeks ago
Nice. Should of went through the doors so we could see inside!!
st0n1e 1 month ago
@st0n1e Hehe, I see what you mean. But unfortunately there's nothing special inside, just 2 Hallways. It was primarily all about the entrance as an experiment.^^
nicodemusimnexus 1 month ago