More GregTech integration
Ihamfp opened this issue ยท 8 comments
I've started tweaking every NuclearCraft recipe to use GTCE's machines instead of NC's (because I like integration), but there are way too many...
Would it be possible to add an option to disable all NC machines and add the recipes to GregTech instead ? It is already in the dependencies, and adding recipes is pretty easy (GregicAdditions has some examples for this). Only the recipes involving NC stuff tho, as most other things are already integrated (ingot to molten metal and such).
That would be awesome! The time and power variables are multipliers of the base processing time/power of the machine, which can be found in the configs :)
I don't think I'll do this unless written as a PR, because although the recipe API may be good (I haven't used it before), it would probably still take a little while to implement, and I'm a bit short on time right now which I need to dedicate to more fundamental mechanics of the mod. So yes, I'll leave this here, but I don't know when I'll get to it!
I pushed some code for recipe integration on my fork, never done anything like this so I'd like to know if it works on your side... Also I'm gonna need your help to read the config class, there are way too many fields x) .
Also there will be some duplicate recipes to remove, maybe I could do it automatically, but just in case I'd need to see how to add a field in the config...
Wow, you've done a fantastic job - thanks so much! There are gonna be a lot of happy GTCE players if your work goes to plan.
I'll move over your addition to the active code, and of course credit you on release :)
I'll play around with it a bit - see if there are any duplicates, etc., and then finish off the support for the last few machines.
Also added some code to check through all potential ingredient clashes to prioritise GTCE recipes :)
Thanks ! I just optimized the code a bit (didn't find any machine/recipe without exactly 2 extras).
Don't worry, I'm already making use of some 'secret' methods at the bottom of the ProcessorRecipe class, and have finished off the recipes for the other machines. I've also tweaked the power use and process time in each case to fit nicely alongside the recipes already added by GTCE :)