缺氧
60 次評價
Edge Detectors and Diode (Automation)
   
獎勵
加入最愛
已加入最愛
移除最愛
Compatibility: Base Game, Spaced Out!
檔案大小
發佈於
更新時間
815.403 KB
2022 年 3 月 11 日 上午 8:52
2022 年 3 月 15 日 下午 3:55
5 項更新註記 (檢視)

訂閱以下載
Edge Detectors and Diode (Automation)

描述
Note: The mod has been renamed in the mods view from "Some Logic Gates" to "Edge Detectors and Diode"
Note: The rising edge counter is now just an edge counter (counts both rising and falling).

  • Falling Edge Detector
  • Rising Edge Detector
  • Diode
  • Edge Counter

Rising Edge Detector
Sends a green signal for one tick when the input goes from red to green.

Falling Edge Detector
Sends a green signal for one tick when the input goes from green to red.

Edge Counter (NEW!)
Counts the number of times the input signal changes and outputs that in binary to a ribbon.

Diode
Copies input to output.
The diode can be used to de-couple logic circuits, and/or to create OR gates with any number of inputs (just connect the outputs together, and that's your OR gate.)

(Note also to make arbitrarily large AND gates, you just do the same thing with NOT gates, and then add a NOT gate to the output.)

A AND B = NOT (NOT A OR NOT B)
A OR B = NOT (NOT A AND NOT B)



My first mod ever. :-) More to come.

Source code available here [github.com].
15 則留言
Thundercraft 2023 年 4 月 30 日 上午 3:39 
Just an FYI: From my limited testing so far (with Spaced Out DLC enabled), this mod still seems to be working as intended - no issue. :steamthumbsup:
Sane Boi Caligula 2022 年 7 月 16 日 下午 5:00 
I am getting a visual bug between this and the Wallpaper mod, where the items from this mod will sometimes display on top of the wallpaper, and sometimes behind it. It seems to change when I open the automation overlay, but only part of the time.
greggel 2022 年 4 月 14 日 上午 9:18 
Basic RL automation stuff. This mod should be in vanilla. Big :steamthumbsup:
blaxx 2022 年 3 月 25 日 上午 8:06 
finally a usefull automation set. the game lack of edge detector
nipodemos 2022 年 3 月 19 日 上午 5:22 
for the ones that play spaced out, you can use this automation to send a green signal to start to fill the fuel of rockets as soon as they land. Finnaly I'll be able to automate refuelling in a simple way
Suicide Commando 2022 年 3 月 15 日 上午 9:02 
Great stuff! These are some very useful extra logic gates.
gnidan 2022 年 3 月 14 日 下午 7:03 
Oh heck yes!
R. Mueller  [作者] 2022 年 3 月 14 日 下午 6:37 
I've published the code to git: https://github.com/happyjack27/ONI-Mods

(BTW, i'm working on the 8-bit ram module, having some issues. when it's done, though, the stack-based ALU will be done real quick.)
Shame 2022 年 3 月 13 日 下午 9:19 
A button that you must press to send a green signal for one tick would come in handy with this logic set.
R. Mueller  [作者] 2022 年 3 月 13 日 下午 1:48 
dont have a git yet, but will soon. doing some reorganization. atm and starting my next mod. ( "Computer Parts"). This was my first C# program, and my first visual studio program. I'll push it to an new github repo prolly this week.