New virtual signal Recipes materials

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Fusogeno
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Oct 29, 2023 7:59 am
Contact:

New virtual signal Recipes materials

Post by Fusogeno »

TL;DR
New virtual signal, like Each signal, for arithmetic and decider combinators results that return recipe materials.

What ?
I have a set of signals like 2 Gear, 1 green circuit,...
Arithmetic combinator: Each * 1 -> Recipe materials
The result should be: 5 iron plate (2*2 gears + 1 green circuit) and 3 copper cable.

You can use all arithmetic operations to multiply, divide, add or subtract the input signals before returning the recipe materials.

You can use decider combinator to filter positive/negative signal or a min/max value

Why ?
If you want request materials in a logistic network for control smart train or space platform, you will be able to obtain the correct ratios with a few combinators.
PS: and for my sushi XD

Thanks you :)
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: New virtual signal Recipes materials

Post by Qon »

Took a while to understand the suggestion.
It's a bit weird to decide operation with the output signal.

It would make more sense to output [everything] and have the operation be "ingredients required". If you want to multiply or something then do it as a separate step.
Take a look at the Crafting Combinator.

I'm using that mod. It's great. It has a crafting combinator for setting the recipe of machines and it has a recipe combinator for doing the kinds of recipe calculations that you are asking for. And it adds new virtual signals for all the recipes where there's not just 1 recipe for each product (like the multiple solid fuel recipes) or for products where the recipes don't produce 1 output (like oil).
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Post Reply

Return to “Ideas and Suggestions”