Pyanodons Petroleum Handling


Adds realistic petrochemical processing into Factorio. Process bitumen hydrocarbons into hundreds of products and drill deep for underground oil deposits.

Overhaul
6 days ago
1.1 - 2.0
62.1K
Mining Fluids Manufacturing

b Conflict with Deadlocks stacking iron gears recipes

4 years ago

Hi,

Py Petroleum is replacing all recipes that require iron gears to use instead small-parts. This cause issues with Deadlocks stacking recipes and completely break iron gears stacking.
I looked into your code and notice that your global_item_replacer function is able to receive a table of black listed recipes that will not be affected by the replacer. Also noticed that, since this function does not interact with the blacklist in a way that would cause issues if the recipe did not existed, there will be no issues if the mod is not present...
Would it be possible to add the stacking/unstacking recipe for iron gears to this blacklist?

I just tested it and it works flawlessly.

The two recipe names that need to be added in the data.lua and data-final-fixes.lua:
"deadlock-stacks-stack-iron-gear-wheel"
"deadlock-stacks-unstack-iron-gear-wheel"

New response