Reverse Factory

by Kryzeth

Reverse Factory machine will recycle (uncraft) nearly any item placed inside. Supports the recycling of most, if not all, modded items. Fully featured integration with Bobs Mods, Industrial Revolution, and Fantario (independently, not simultaneously)

Content
14 days ago
0.13 - 2.0
66.9K
Manufacturing

b [Fixed] Copper Cable Bug

2 months ago
(updated 2 months ago)

This mod is causing a bug where you cannot autocraft items in your inventory if they require copper cables. You can make copper cables in your inventory separately, then craft whatever you wanted to. but it's a tedious step.

2 months ago
(updated 2 months ago)

That sounds like a very familiar issue I've had with some other mods; are you sure that it's this one that's causing the issue? Because playing with just this mod and vanilla and the crafting works just fine.

Try hovering over the copper cable recipe in the crafting menu or the Factoripedia, there should be a list of mods that modify that recipe

2 months ago

I honestly thought it was the stack mod, or one of the 5dim mods I was using. but I loaded 1 by 1 and this was the only one causing it. I tested with and without this mod(while still having the other mods on), and this was the only one causing the issue. If anything, I think it may just be a compatibility issue between your mod and one of the others I was using. If you want I can send a list of the mods I was using if you want to test it.

2 months ago
(updated 2 months ago)

You are right however. I just tested it with your mod alone and it was working correctly. So I do think there is a compatibility issue happening somewhere with your mod and one of the other mods I'm using.

I was doing some more testing and found out that this happens when you have your mod and this mod "https://mods.factorio.com/mod/bobmodules" on together.

2 months ago
(updated 2 months ago)

Testing with just vanilla v2.0.55 (latest stable release) and Bob's Modules v2.0.3, and Reverse Factory, still not able to recreate the issue. Even tried testing with the rest of the bob mods suite, and Bob's Electronics was the only one where I couldn't craft the basic wooden circuit, power poles, etc. without having copper cable in my inventory. Except that happens even without Reverse Factory enabled, so my mod can't be the cause.

It's possible that there could be some kind of load order issue that makes it appear as if Reverse Factory is the cause?

2 months ago

So I just did another test and it seems to happen when Space Age v2.0.55, Bob's Modules v2.0.3, and Reverse Factory 9.0.33 are enabled. Not sure if it's a load order or something along that line, but not sure how to change the load order either.

2 months ago
(updated 2 months ago)

Hmm.. I was able to recreate the issue with that setup, though I wasn't able to figure out the cause. Running with Bob's Modules and Space Age works fine, running with Reverse Factory and Space Age is also fine, but running with all 3 causes the issue. But as far as I could tell, neither of our mods actually touches the copper cable recipe in any way.

However, simply considering the fact that I was able to recreate a very similar issue with Bob's Electronics by itself, I want to say it's more likely that this is a Bob's mods issue. Unfortunately, it's impossible to tell without a much deeper investigation (outright disabling/removing portions of code from each mod, like a binary search pattern).

I would suggest bringing this up to them first, in case they have any idea what the cause could be, before I go that deep into the weeds, especially for a relatively minor issue, that only appears in a very specific and unlikely configuration of mods (I can't imagine Bobs + Space Age is that well-tested or balanced?)

2 months ago

All good, at least you were able to recreate the issue. Either way, as you said it is a minor issue. I only see this being a problem in early game, since when you start automating everything you wont really need to worry about the cables then.

a month ago
(updated a month ago)

Hey! I'm the current dev for Bob's mods.

I can reproduce the issue using the following mod list:
- Space Age
- Reverse Factory
- Bob's Modules

However, if I have module contacts in my inventory, suddenly I can hand craft small electric poles again
It seems to be because of the recently added recipe property additional_categories

When you clone the recipe, you are maintaining the old additional categories. This includes the electronics category which can be hand crafted
To fix the issue, I suggest the following changes for your generated recipes:

recipe.additional_categories = nil
recipe.allow_as_intermediate = false

You mentioned being able to reproduce the issue without Reverse Factory enabled. I haven't been able to replicate this. Is there any additional information that you could give me? Maybe a save file?

a month ago

Thanks for the detailed report, should be fixed in v9.0.34

As for the second issue, I wasn't able to reproduce it in the current version of Factorio, so maybe there was something wrong with my testing, or something else changed between then and now, but it seems to be working perfectly fine, as far as I could tell.

New response