This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
NeoHummel's profile picture

[1.31] Rightclicking disk drives with a disk

Started by NeoHummel, 23 March 2012 - 05:06 PM
NeoHummel #1
Posted 23 March 2012 - 06:06 PM
So, I've meticulously trawled the entire suggestions forum and not found anything about this.

What I want is basically the ability that when I right-click the disk drive with either a disk or a record, or just disks whatever, it will be inserted, assuming there is not already an item in the disk drive.

Reason for this is simple, I like anybody who starts with cc and Lua created a Hello World! program and then a door lock.
My door lock program looks for a keycard, a disk with a specific file, sends the keycode from that file to a controller and opens the door if it matches, either way the keycard gets ejected after it has been read.
Now the thing is, I have to open the disk drive GUI, drag my keycard from my inventory and into the disk drive slot, whereupon it immediately pops out and into my inventory (since I am standing infront of the disk drive).

I find this to be quite tedious and would love for this to be implemented.
PatriotBob #2
Posted 23 March 2012 - 07:37 PM
I while heartedly agree with this suggestion.

The first thing I did after creating my first disk was try to insert it into a drive in this manner. It's clean, concise, and an intuitive change. Shouldn't even be hard to implement.

Btw, I'm glad to see that I wasn't the only one to think of key card auth. I makes complex passwords simple to use. And you can always use a dual system of disk and manual entry.
hamish1001 #3
Posted 23 March 2012 - 07:59 PM
So, I've meticulously trawled the entire suggestions forum and not found anything about this.

What I want is basically the ability that when I right-click the disk drive with either a disk or a record, or just disks whatever, it will be inserted, assuming there is not already an item in the disk drive.

Reason for this is simple, I like anybody who starts with cc and Lua created a Hello World! program and then a door lock.
My door lock program looks for a keycard, a disk with a specific file, sends the keycode from that file to a controller and opens the door if it matches, either way the keycard gets ejected after it has been read.
Now the thing is, I have to open the disk drive GUI, drag my keycard from my inventory and into the disk drive slot, whereupon it immediately pops out and into my inventory (since I am standing infront of the disk drive).

I find this to be quite tedious and would love for this to be implemented.
i agree to :)/>/>
Spoilersupercalifragilisticexpialidocious :(/>/>
Espen #4
Posted 24 March 2012 - 12:30 AM
I like this idea, too.
It could behave like the vanilla record player, just for disks in this case.
Right click with a disk on the disk drive => disk inserted.
Right click on disk drive that has a disk in it => disk is ejected (just like a record from a record player).

I don't know if Dan has some future plans in mind for the disk drive GUI, but as it is now there's only place for one disk anyway.
So unless there's something important to be said against the idea to let the insert/output mechanism behave like the one from the vanilla record player, I'd definitely support it. :(/>/>
czp #5
Posted 24 March 2012 - 03:54 PM
I also like it, but I think that better will be keep the old way and add this to it.
kamnxt #6
Posted 24 March 2012 - 08:19 PM
Maybe a card reader and cards? When you right click the card reader it would only read the card label, without taking the card out of your hand. :(/>/>
NeoHummel #7
Posted 24 March 2012 - 09:25 PM
Maybe a card reader and cards? When you right click the card reader it would only read the card label, without taking the card out of your hand. :(/>/>

I was thinking about something similar, will attempt to make one when I get home from work tonight.
6677 #8
Posted 25 March 2012 - 10:58 AM
Maybe a card reader and cards? When you right click the card reader it would only read the card label, without taking the card out of your hand. :(/>/>
Not a bad idea although there is the disk.eject() function. You could just have it so once the floppy disk is read it gets ejected in code.
Sebra #9
Posted 25 March 2012 - 11:05 AM
Easy eject can be programmed.
Easy insert should be coded by Dan200.
kamnxt #10
Posted 25 March 2012 - 02:32 PM
Maybe a card reader and cards? When you right click the card reader it would only read the card label, without taking the card out of your hand. :(/>/>
Not a bad idea although there is the disk.eject() function. You could just have it so once the floppy disk is read it gets ejected in code.
So maybe a new function: disk.setFastInsert(true)(?) ?
NeoHummel #11
Posted 25 March 2012 - 05:12 PM
Not a bad idea although there is the disk.eject() function. You could just have it so once the floppy disk is read it gets ejected in code.

I've already programmed my code to eject the disk :(/>/>

So maybe a new function: disk.setFastInsert(true)(?) ?

That would be awesome, then the program defines whether or not the disk should get inserted on right-click, love the idea.
NuBSMcGee #12
Posted 28 March 2012 - 01:40 AM
Maybe a card reader and cards? When you right click the card reader it would only read the card label, without taking the card out of your hand. :o/>/>
Not a bad idea although there is the disk.eject() function. You could just have it so once the floppy disk is read it gets ejected in code.
So maybe a new function: disk.setFastInsert(true)(?) ?

I also support this Idea! I think it would be an intuitive and excellent addition to the feature set.
Teraminer #13
Posted 06 April 2012 - 05:52 PM
Great idea but shift-right click sould open the old GUI.
J0P5 #14
Posted 06 April 2012 - 08:06 PM
Love this idea


Right click with disk, insert disk (I may even like the card reader idea by kamnxt better), right click with anything else to open the GUI.
Sebra #15
Posted 07 April 2012 - 07:23 AM
Right click with any thing on empty -> insert.
Right click with empty hand on full -> extract.
Shift right click or other conditions -> GUI.
LBPHacker #16
Posted 05 September 2013 - 12:19 PM
Wanted to suggest this. Turns out somebody has suggested it already. So bump.

If the thread gets locked, at least that'll be a reaction from the developers.
Lyqyd #17
Posted 05 September 2013 - 12:32 PM
Did you even try shift-right-clicking a drive with a disk in hand? Clearly not. Ugh. Locked.