-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add transistors #564
Add transistors #564
Conversation
Why not do it with a single node? I don't see a reason for the extra one. |
Ah, I forgot to explain that. |
I think I understand now what you're trying to do, but I don't really see the use of it. This is not a transistor, it's more like a solid-state relay. (The piston would be a better match for a mechanical relay.) You want bi-directional transmission. What's the use-case for that? |
The naming is probably inaccurate, but I had to name it something. Bi-directional transmission is not the only benefit. It's also instant transmission, which can be eg. useful for building a fast adder. |
A piston-wire combo can conduct around a corner. This would be better if it conducted through all three faces instead of only the two sides. w = wire, C = conductor node, B = base node
|
The other gates also have instant transmission. I just tested it out. I put two AND gates in series and it updates at the same time as a piston controlled switch. Have you had a problem with that in the past? |
I have thought about making it conduct to 3 sides. But you can achieve more conductor sides easily by using multiple conditional conductors / transistors / relays / whatever (see the construction in the back of my screenshot). I've decided to only have two conductor sides for simplicity. And you can build smaller circuits if you can have uninsulated conductors (like mese blocks or vertical mescons) next to it. But I don't have a strong opinion about this. |
Looks nice. Not the diff stats though.
Sounds enough like a FET for me. Totally not a BJT of course.
File a bug. |
Yes.
I'll close this, and make it a separate mod if I find time some day. |
Adds new nodes are conducting or not depending on whether a special effector next to them is activated.
The player always places two nodes at once with the node, and digs both at once. (TNT can blast away one part, but the sinlge part causes no crashes or other problems.)
This works pretty much exactly like a piston that moves a conductor, the timing is also exactly the same (tested with my meseconometer mod). But these new nodes are smaller, make no noise, overheat and are less expensive for the server (no mvps movement).
There are the normally opened (N/O) and the normally closed (N/C) conductor. Closed means that the node is conducting. The N/O conductor only conducts if it's on, the N/c only if it's off.
Screenshot:
Please feel free to make suggestions for crafting recipes!
If this is not considered suitable for mesecons, I will release this as separate mod, or ask for inclusion in moremesecons.