Eggs-D-Studios / wos-issues

Waste of Space bugs, suggestions, and other feedback
10 stars 0 forks source link

Logic Signals #493

Open kohtalee0910 opened 1 month ago

kohtalee0910 commented 1 month ago

Guidelines

Version

Main (Production)

Topic

A game mechanic (e.g. a part, a feature, etc)

Why are you making your suggestion?

Could allow better controlling of circuits and help mitigate the instant nature of Triggers

What do you propose? What should change, or what should be added?

Suggestion: Logic signals

Basically a combination of a trigger and power signal, basically it's constant like a power signal but can only be on or off like a trigger signal, this signal can be put through logic gates and can control power signals via an option on polysilicon, it can also be used in regular transistors to control trigger signals, you would get logic signals from Microcontrollers, possibly from a function called "setLogicOutput(port,boolean)" and putting power through a resistor, which can be set to have a certain threshold of true or false, you might also be able to get it from buttons, which would output true if the key is pressed and output false if it isn't.

Another suggestion here

Hexcede commented 2 weeks ago

@kohtalee0910 The Solenoid and Transistor parts are intended to fulfill this role already. At the moment Solenoid can't be used to its full potential due to the way power caching works, but in the future it will be able to be used to make logic gates. Transistor can already be used to perform computations and build circuits, although it isn't as versatile because you can't as easily store memory.

Hexcede commented 2 weeks ago

I also have vague plans for something I call buses, which will allow for substantially more than just logic circuits