adapting ore outputs to machine types?

Place to post guides, observations, things related to modding that are not mods themselves.
User avatar
darkrising
Inserter
Inserter
Posts: 27
Joined: Sun May 04, 2014 7:32 pm
Contact:

adapting ore outputs to machine types?

Post by darkrising »

I was working on a new mod idea and I ran into a limitation with the game.

A mining drill will only switch to fluid mode if it's over an ore patch that requires a fluid. There's workarounds such as changing the type to an assembler and just scripting the output but obviously that isn't ideal.

I was thinking it would be better if ore patches had the ability to specify different outputs for different machines mining them. Maybe in the form of an added category or additional field inside of minable.

For example, iron ore can output iron with a mining drill and then a mod, iron ore can output an iron fluid with a fluid extractor as well.
Natha
Filter Inserter
Filter Inserter
Posts: 259
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

Re: adapting ore outputs to machine types?

Post by Natha »

You could define a new resource (invisible) and place it over existing ores. If it has a different category, matching your drill categories, it should work like you want.
Post Reply

Return to “Modding discussion”