Extraplanetary Production


Adds more and alternate recipes to the foundry, EM plant, and cryogenic plant, with a focus on immersive and vanilla-friendly changes. Also has full support for Age of Production, integrating EP's recipe changes with AoP's buildings.

Tweaks
5 hours ago
2.0
2.01K
Manufacturing

b Cryo Plant Recipe Changes using Incorrect Reference

11 days ago
(updated 11 days ago)

Figured I'd make an actual proper thread documenting this issue, I spent some time poking at the code for 1.3.7 and 1.3.6 to try and understand where the problem is, and I did actually figure it out.

So the tl;dr of the issue is any recipes being added by the mod to the Cryogenics Plant are being changed to ONLY be craftable in the Cryogenics Plant, including Ice Platform, uranium ammunitions, both Poison and Slowdown Capsules, Atomic Bombs, and if enabled in mod configuration, Space Science and Nuclear Reactors.

This is happening because the reference for these changes in the code is "fluoroketone-cooling", the recipe for turning Hot Fluoroketone into Cold Fluoroketone, which is only in the Cryogenics Plant (and thus assigned the category of "cryogenics"). Because the code is designed to override the selected category for changeCategory() if a valid reference is offered, instead of assigning the proscribed "cryogenics-or-assembly" category to these recipes, it instead just assigns "cryogenics". The only recipe in vanilla that actually uses the category "cryogenics-or-assembly" is the recipe for the Cryogenic Plant itself.

I've tested and confirmed that setting the reference to "cryogenic-plant" for these recipes fixes the issue.

11 days ago

Notably, changing the reference to "cryogenic-plant" may introduce some new oddities due to inheriting mod changes to the Cryo Plant's category; at this time this does NOT appear to include Age of Production, fortunately. I would suspect larger mods like Bob's would be more likely to cause strange behavior, but I don't think compatibility on that scale is a realistic expectation here.

11 days ago

Whoops, hotfix soon. Thanks for looking into it!
I had checked for recipes that had the same category I was looking for, but clearly I overlooked something.

New response