Conditions: Stack size multiplier for values?

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

4wry
Burner Inserter
Burner Inserter
Posts: 16
Joined: Mon Oct 21, 2024 10:58 pm
Contact:

Conditions: Stack size multiplier for values?

Post by 4wry »

Struggling with this in the context of the generic Fuel(Any) interrupt, but technically this has wide application potential across circuits.

The issue is that stack sizes vary widely. Using fuel as an example nuclear = 1, rocket = 10, coal = 50 etc.
This makes setting a dynamic cutoff applicable to all impossible.

The suggestion is to expand values with a radio button
  • use constant value (default); this is how it currently works
  • factor by item stack size
  • factor by rocket stack size

This would then multiply the value of the item condition by 1, or the respective stack sizes, depending on the item defined in the condition, which could be variable (when using generic signals, or read signals).

I.e. a condition could e.g. be simply if item < 1 stack of said item and adjust dynamically. This would resolve a lot of issues due to variable stack sizes, e.g. for the fuel condition, or generally chest capacity.
Post Reply

Return to “Ideas and Suggestions”