Selector Combinator additional features for stack size

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

TokMor
Inserter
Inserter
Posts: 31
Joined: Mon Jan 23, 2017 3:37 am
Contact:

Selector Combinator additional features for stack size

Post by TokMor »

TL;DR
Add additional options for the stack size selection in the selector combinator to allow for additional flexibility

What?
In addition to outputting the value of a single stack of an item, add additional options to multiply or divide the input by the stack size of the item.

I propose adding the following options:
  • One stack: Current behavior, outputs the value of one stack of the items, filtering out any non item signals
  • Multiply: Multiply the (non filtered out) input signals by the value of the stack size. For example, if a value of 5 iron plate was received, the output would be 500 iron plate.
  • Divide (floor): Divide the (non filtered out) input signals by the stack size of the item, dropping fractions. For example, if a value of 450 iron plate was received, the output would be 4 iron plate
  • Divide (ceiling): Divide the (non filtered out) input signals by the stack size of the item, round up any fractions. For example, if a value of 450 iron plate was received, the output would be 5 iron plate
Why?
This will make filling limited inventories with multiple different types of items much easier to manage as you can effectively calculate how many slots are being used and/or how many more items it can hold to fill completely.
Also useful for filling a train wagon with mixed items when you don't want to limit yourself by locking slots to specific items but instead want to generate that list dynamically.

Thank you for your consideration
Post Reply

Return to “Ideas and Suggestions”