Inserter Set Stack size has the same result for 0 and 1 value

Bugs that are actually features.
Post Reply
gGeorg
Filter Inserter
Filter Inserter
Posts: 392
Joined: Wed Jun 19, 2019 8:06 pm
Contact:

Inserter Set Stack size has the same result for 0 and 1 value

Post by gGeorg »

Bug
-----------------------------------------------------------------------

Inserter switched to Set Filter only work with non-zero input.
Inserter switched to Set Stack work even with zero input.
-------------------------------------------------------------------------------
Inconsistency

Test bed


Signal S control the stack. Turn constant combinators On to add more S signal.
Image
Here are results for values of signal S:
value 0 inserting 1 item
value 1 inserting 1 item
value 2 inserting 2 item

In the user interface, it makes sense to allow only 1 .. max stack. (to prevent confusion of a player who accidentally set stack to zero) However, when feature Set_Stack is active, then value is (should be) fully controlled by circuitry, then valid range should be 0 .. max stack.
Thank you for a consistency fix.

==========================================
Request for an improvement:
When changing stack_control behaviour could you add option of wild card? "Anything" Set Stack wild card will mean, the stack control uses the highest id number item. e.g. when used Set Filter AND Set stack together, it will process the same input.


mrvn
Smart Inserter
Smart Inserter
Posts: 5709
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Inserter Set Stack size has the same result for 0 and 1 value

Post by mrvn »

But would be a nice feature, or features as there is more than one idea here. Would be consistent with other places where a 0 signal or no signal disables the entity.

For the feature improvement I would suggest "each" so the stack size is the signal strength for the item it picks up instead of the maximum signal.

Post Reply

Return to “Not a bug”