Logcal AND, OR, NAND, NOR, XOR and XNOR gates. in development. uses the code from OCB’s excellent push-buttons mod… so it’s not compatible with an instance with that mod installed.
to use place one of the gates on a wall, with a relay on top and below. the two relays function as inputs and the output comes from the gate itself.
The mod is just some code in OCB’s mod. if someone want to take it and make an actual mod from it, you can get the source on https://github.com/nstraub/logicgates
DOWNLOAD (2 KB)
Credits: YonoZekenZoid, OCB
If you have any questions or have any problems/bugs, please use the support link (Discord, Forum Topic, GitHub Issues, etc.) in the post. If there is no support link in the post, please use the comments section.
This is really interesting. As far as the code, the gates should be independent of locations. There are elements that accept multiple outputs. I don’t think it would be that hard to create an element that accepts multiple inputs.
That would be ideal. I found a couple of failed attempts out there… if only I had the time to make a proper implementation :/
Please make something for multiple inputs my trap schemes are dying to do more than 2 types of traps