Is it possible to produce more than one result?

Place to get help with not working mods / modding interface.
Post Reply
User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 727
Joined: Sun Mar 13, 2016 9:48 am
Contact:

Is it possible to produce more than one result?

Post by DRY411S »

I was wondering whether it was possible to have a 'machine' that produced more than 1 result.

I'm thinking it would be good to have some recycling plants that can 'disassemble' products, but they'd need to produce more than 1 product.

For example, putting an electronic circuit into a 'recycling machine' would create some iron plate and some copper cable.

A mod like this would be good for idiots like me who create gazillions of things they don't need, and cannot bear the thought of all the wasted materials they've used up.

User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 727
Joined: Sun Mar 13, 2016 9:48 am
Contact:

Re: Is it possible to produce more than one result?

Post by DRY411S »

Oh never mind. Of course it's possible. Oil Refineries do it.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Is it possible to produce more than one result?

Post by bobingabout »

Use results= instead of result=

If you use results then it takes a table similar to ingredients.

It also requires you to specify an icon and order, or... I forget the tag... default result, to use icon and order from those instead.

Look at oil processing recipe anyway, it's a big hint.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 727
Joined: Sun Mar 13, 2016 9:48 am
Contact:

Re: Is it possible to produce more than one result?

Post by DRY411S »

Thanks for the steer on where to look.

I now have a 'recycling centre' turning electronic circuits back into copper cable and iron plate :)

Post Reply

Return to “Modding help”