Astro Colony

Astro Colony

View Stats:
n0stalg1a Oct 31, 2023 @ 3:28pm
AND - OR logic blocks?
These would be really handy! Hopefully you are already on to it!
< >
Showing 1-6 of 6 comments
AstroColony  [developer] Nov 1, 2023 @ 3:28am 
Do you mean adding AND/OR etc to the math operations of the arithmetic logic block?

There are some improvements planned for logic blocks like merger, timer pusher, independent counters for splitter, static signal producer, two signals combinator.

Please share more details about functionality you expect from logic blocks, thanks!
n0stalg1a Nov 2, 2023 @ 8:02pm 
Say for instance you have a warehouse and you want to toggle a machines on/off state based on 2 items in the warehouse being at a certain level.

For Example:-
IF Iron Plate AND Copper Plates have 1000 qty each in the warehouse. Then turn off the machine.

IF Iron Plate OR Copper Plates have 1000 qty in the warehouse. Then turn off the machine.

As of right now you can set this up but as soon as one or the other plates has reached 1000 it will stop the machine. Effectively they are all running as OR so to separate it would be nice.

Maybe a fully functional IF logic block.

ALSO being able to access the toggling of which item a machine produces through the logic blocks would create some amazing functionality.
Last edited by n0stalg1a; Nov 2, 2023 @ 8:08pm
Sasheria Apr 29, 2024 @ 5:54am 
That is what I thought originally (checking for multiple items) but it seems that If I was checking two items (using the same decision cube) it is AND function (either one reach X number) vs OR function which will turn off if BOTH reaches that number. This would be helpful when reducing machine footprint. I ended up creating one factory to create one item each :(
Trajan May 1, 2024 @ 3:35am 
You can emulate those logic block, just take some space :
Can be an AND or OR :
https://ibb.co/grMWPsW
On each side you have 2 containers with a single iron ore that can switch from a container to another depending of the logic INPUT.
The central logic take the state of these containers as its own INPUT and you can sum two INPUT if it's the same item.
The logic OUPUT can be either 0, 1 or 2.
0 : No condition met
1 : One condition met
2 : Both conditions met

AND : =2
OR : >=1
XOR : =1

Last edited by Trajan; May 1, 2024 @ 4:14am
Trajan May 1, 2024 @ 4:06am 
5L*5W*3H version you can hide under a conveyor belt :
https://ibb.co/fGHWywG
Last edited by Trajan; May 1, 2024 @ 4:11am
becket_mac May 1, 2024 @ 10:37pm 
An overflow would help I keep getting clogs and an up/down pusher for pipes
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Oct 31, 2023 @ 3:28pm
Posts: 6