Oxygen Not Included

Oxygen Not Included

View Stats:
Gavin786 Aug 14, 2019 @ 8:09am
DIODE Gate Needed!
Dear ONI Devs,

You have included a bunch of logic gates but no diode gate ?!?

I need to use 2 not gates in sequence to perform the diode gate function.

This is a fundamental gate needed for circuit logic and should be included, its ommission is surely an oversight ?

It is an extremely basic gate and should be in same category as NOT gate.

Anyone who is making any sophisticated logic will need it.

Tell me it will be in the next release?

Gavin

https://steamuserimages-a.akamaihd.net/ugc/776228513236145313/36D4ED234AF31C5D352B20D344DE2471686A534D/
Last edited by Gavin786; Aug 14, 2019 @ 8:11am
< >
Showing 1-11 of 11 comments
Bokonon Aug 14, 2019 @ 11:08am 
All ONI logic gates are already directional, they have discrete inputs and outputs, just curious what you need a diode for. I understand that diodes can be used to create logic gates, what are you trying to make?
Gavin786 Aug 21, 2019 @ 5:33pm 
Look at the design I gave above as I said there are 2 NOT gates in sequence where there should be a diode gate. Its a fundamental component of any sophisticated logic circuitry, really aught not to have to make an argument why it is useful. Basically it stops logic changes down the line from propagating backwards. Example lets say in above I want to control 3 sets of automatic doors. On 1 set I want to have a manual button to force the door to an open state(1). If there is no diode behind that, then the signal will back-propagate and affect all the logic(and doors in this case) attached to it, causing every door to open in this case. To prevent this as I said I need to use 2 not gates in lieu of a diode.
fluxtorrent Aug 21, 2019 @ 5:45pm 
All the gates in the game act as diode gates, they don't allow feedback. EVERY single one... Hell diode gate just means logic gates made with diodes (and thusly prevent feedback)

you could make the exact same system a lot simpler using a xor gate
Bokonon Aug 21, 2019 @ 5:49pm 
Originally posted by gavinb80:
Look at the design I gave above as I said there are 2 NOT gates in sequence where there should be a diode gate. Its a fundamental component of any sophisticated logic circuitry, really aught not to have to make an argument why it is useful. Basically it stops logic changes down the line from propagating backwards. Example lets say in above I want to control 3 sets of automatic doors. On 1 set I want to have a manual button to force the door to an open state(1). If there is no diode behind that, then the signal will back-propagate and affect all the logic(and doors in this case) attached to it, causing every door to open in this case. To prevent this as I said I need to use 2 not gates in lieu of a diode.
I honestly didn't understand half of that jumbled mess of out of context automation. I'm no guru when it comes to logic circuits.

Firstly, if you can get your diode gate logic with 2 NOT gates, ok, big deal, use the 2 NOT gates. Secondly, there's other ways to not propogate your signal. In you example, for the door you want a manual override for, instead of just running the existing automation wire right to the door, use an OR gate, both inputs are discrete and will not propogate across. Same effect. Thirdly, I'm just some dude, just because I don't see the need doesn't mean some modder or Klei won't see this and implement it. But it probably won't be anytime super soon.
fluxtorrent Aug 21, 2019 @ 5:51pm 
Originally posted by Bokonon:
Originally posted by gavinb80:
Look at the design I gave above as I said there are 2 NOT gates in sequence where there should be a diode gate. Its a fundamental component of any sophisticated logic circuitry, really aught not to have to make an argument why it is useful. Basically it stops logic changes down the line from propagating backwards. Example lets say in above I want to control 3 sets of automatic doors. On 1 set I want to have a manual button to force the door to an open state(1). If there is no diode behind that, then the signal will back-propagate and affect all the logic(and doors in this case) attached to it, causing every door to open in this case. To prevent this as I said I need to use 2 not gates in lieu of a diode.
I honestly didn't understand half of that jumbled mess of out of context automation. I'm no guru when it comes to logic circuits.

Firstly, if you can get your diode gate logic with 2 NOT gates, ok, big deal, use the 2 NOT gates. Secondly, there's other ways to not propogate your signal. In you example, for the door you want a manual override for, instead of just running the existing automation wire right to the door, use an OR gate, both inputs are discrete and will not propogate across. Same effect. Thirdly, I'm just some dude, just because I don't see the need doesn't mean some modder or Klei won't see this and implement it. But it probably won't be anytime super soon.
Thing is he isn't getting anything out of it. It's still literally outputting exactly what comes in, which means if his output is on that line it's still getting passed on.
Bokonon Aug 21, 2019 @ 5:54pm 
Originally posted by fluxtorrent:
Thing is he isn't getting anything out of it. It's still literally outputting exactly what comes in, which means if his output is on that line it's still getting passed on.
Yup, I noted in my first post on this thread that all logic gates have discrete inputs and outputs which, by being separate, only flow the logic one way.
fractalgem Aug 21, 2019 @ 11:31pm 
In your setup, pairs of diodes could be swapped out for a single OR gate. Is there some other reason you want to use diodes here?

Also, an OR gate can be used as a diode gate if you so choose. Just leave one input unattached, and the result will be the same.
Last edited by fractalgem; Aug 21, 2019 @ 11:33pm
Dschinghis Pan Aug 23, 2019 @ 1:21pm 
What would a diode-gate do?
I don't see any difference inbetween those double not-gates and a simple straight line.
Also why do 3 outputs lines combine on the middle right line? Wouldn't hat cause problems given it does currently get one green and 2 red signal? Dunno how the game handles that - though I'd guess either by combining them via OR or AND.
fractalgem Aug 23, 2019 @ 4:48pm 
Originally posted by Dschinghis Pan:
What would a diode-gate do?
I don't see any difference inbetween those double not-gates and a simple straight line.
Also why do 3 outputs lines combine on the middle right line? Wouldn't hat cause problems given it does currently get one green and 2 red signal? Dunno how the game handles that - though I'd guess either by combining them via OR or AND.
Mixing signals like that combines them as an un-insulated OR.

Diode gates provide insulation-but so do the built-in logic gates. Thus, the main advantage of a diode here is...say you want to send signal A to 5 different applications, and one of those is a 5-way OR. The 5 way OR gate can be set up as an uninsulated OR fairly easily, and using a diode means that the OTHER 4 things your using signal A for don't get the wrong signal.


Last edited by fractalgem; Aug 23, 2019 @ 4:48pm
Dschinghis Pan Aug 24, 2019 @ 3:55am 
Originally posted by fractalgem:
Originally posted by Dschinghis Pan:
What would a diode-gate do?
I don't see any difference inbetween those double not-gates and a simple straight line.
Also why do 3 outputs lines combine on the middle right line? Wouldn't hat cause problems given it does currently get one green and 2 red signal? Dunno how the game handles that - though I'd guess either by combining them via OR or AND.
Mixing signals like that combines them as an un-insulated OR.

Diode gates provide insulation-but so do the built-in logic gates. Thus, the main advantage of a diode here is...say you want to send signal A to 5 different applications, and one of those is a 5-way OR. The 5 way OR gate can be set up as an uninsulated OR fairly easily, and using a diode means that the OTHER 4 things your using signal A for don't get the wrong signal.
Ok... but if I understand this correctly, every logic-gate in the game is insulated, so every gate could also work as a diode. Just put a buffer gate with 0s or an OR-gate with only one input.
In your example, an OR-gate could connect singalA with the other uninsulated OR to create an insulation.
Not the cleanest solution, but I don't use a lot of automation atm, so no idea where it could be of practical use to create something like this.
fractalgem Aug 24, 2019 @ 11:01am 
In your example, an OR-gate could connect singalA with the other uninsulated OR to create an insulation.
Exactly. The OR gate can be used as a diode if you really need a diode for some weird reason.

Which makes me wonder what OP is thinking...
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Aug 14, 2019 @ 8:09am
Posts: 11