Implement recipe result probabilities as a choice

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

mpratt
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Feb 14, 2017 5:28 am
Contact:

Implement recipe result probabilities as a choice

Post by mpratt »

Right now recipe results with probabilities are each evaluated independently. It would be great if we could specify results in such a manner that they were linked and one was chosen based on given weights, but other results are not linked and not affected.

Use case is a catalyst system that has a low percentage chance to become depleted, but the catalysts are rare enough that I don't want to rely on the law of averages. I want to ensure that every recipe completion results in exactly one of the two, never neither or both.

I'm currently using (or, abusing) a proxy result item with a spoil trigger which replaces the proxy item with one of the two other items but there's lots of weird edge cases (item on the ground, in a bot, in an inserter, in your hand, etc). The recipe result then needs to include the two possible end results as other options at 0% probability. This way the real results can be dropped back into the output of the assembler neatly and in a way the player expects rather than the dump inventory.
Post Reply

Return to “Ideas and Suggestions”