Logic Gates

7 days to die logic gates

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

7 days to die logic gates additional screenshot 1

7 days to die logic gates additional screenshot 2

DOWNLOAD (2 KB)

Credits: YonoZekenZoid, OCB

Share this with your friends:
Get Comment Notifications
Notify of
guest

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.

3 Comments
Inline Feedbacks
View all comments
Davina
Davina
May 19, 2025 8:18 pm

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.

YonoZekenZoid
YonoZekenZoid
May 21, 2025 4:53 pm
Reply to  Davina

That would be ideal. I found a couple of failed attempts out there… if only I had the time to make a proper implementation :/

CRAG
CRAG
July 5, 2025 11:09 pm
Reply to  YonoZekenZoid

Please make something for multiple inputs my trap schemes are dying to do more than 2 types of traps