Extend logic combinator functionality

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
CzBuCHi
Long Handed Inserter
Long Handed Inserter
Posts: 90
Joined: Thu Feb 22, 2018 10:25 pm
Contact:

Extend logic combinator functionality

Post by CzBuCHi »

Currently logic combinator can "execute" this code:

Code: Select all

if (A > B) {
  return C;
}
I would love to see this extended, so it would be able "execute" this code:

Code: Select all

if (A > B) {
  return C;
} else {
  return D;
}

Tekky
Smart Inserter
Smart Inserter
Posts: 1039
Joined: Sun Jul 31, 2016 10:53 am
Contact:

Re: Extend logic combinator functionality

Post by Tekky »

That can easily be accomplished with a second decider combinator.

Although it may be nice if the number of combinators necessary is lower, this would also increase the complexity (and the size of the GUI) of the individual combinators.

Therefore, I am rather against the suggestion.

Atlas
Inserter
Inserter
Posts: 43
Joined: Sun Jan 28, 2018 8:09 pm
Contact:

Re: Extend logic combinator functionality

Post by Atlas »

I'll support anything that would lead to decreasing the area of combinator contraptions. Else function is a standard counterpart to If function, and so it should also be in Factorio.

Engimage
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Wed Jun 29, 2016 10:02 am
Contact:

Re: Extend logic combinator functionality

Post by Engimage »

If you can achieve something with existing tools (without crazy complexity) it will not be added to Factorio.
And as Tekky said just add another decider to achieve your goal. Maybe not perfect but it works so...

McDuff
Fast Inserter
Fast Inserter
Posts: 236
Joined: Sun Jan 11, 2015 11:09 am
Contact:

Re: Extend logic combinator functionality

Post by McDuff »

Making things smaller is a valid tech tree level of progression in my view. After all, you can make any number of iron plates with stone furnaces and yellow belts, so why do you need blue belts and electric furnaces with speed modules? You can "already do it" with existing technology.

Fact is, as you get bigger and more complicated, it makes sense to be able to compress some of the basic functions into a smaller space.

User avatar
DanGio
Filter Inserter
Filter Inserter
Posts: 394
Joined: Sat May 10, 2014 6:22 pm
Contact:

Re: Extend logic combinator functionality

Post by DanGio »

Tekky wrote:Although it may be nice if the number of combinators necessary is lower, this would also increase the complexity (and the size of the GUI) of the individual combinators.
I agree. On the other hand, combinators are already an advanced element of the game, and GUI is already getting refined in near future. I'm sure devs will be able to fit this new functionality in a nice way. :)

The added complexity in combinator behavior is quite null I think : if you understand "if" , you understand "else" . And if you leave "else" blank, the combinator behaves like before.

McDuff
Fast Inserter
Fast Inserter
Posts: 236
Joined: Sun Jan 11, 2015 11:09 am
Contact:

Re: Extend logic combinator functionality

Post by McDuff »

Yeah, an "else" doesn't really add much to a GUI.

Post Reply

Return to “Ideas and Suggestions”