Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Insolator handling of custom recipes (+added config option) #55

Open
wants to merge 1 commit into
base: 1.12
Choose a base branch
from
Open

Conversation

hacatu
Copy link

@hacatu hacatu commented Jan 13, 2020

The Phytogenic Insolator with Monoculture Cycle upgrade does not preserve "non-fertilizer" inputs in recipes without fertilizer. Normally this is not an observable problem as there are no recipes without fertilizer. However, it can arise for custom recipes. For example, FTB Interactions significantly changes the recipe to the Monoculture Cycle, clearly with the intention of allowing it to make custom recipes much cheaper, but it does not affect these recipes. This pull request makes it so the Monoculture Cycle upgrade preserves the second input in the case that neither is a fertilizer, and adds a config option to disable this behavior.

I tested that the insulator has its normal behavior under these changes. I did not actually test the handling of custom recipes is now correct though so I'm only 95% sure.

Only the changes to TileInsolator.java should be added, I had issues with duplicate jei / no cofh world so I had to change the gradle config a bit.

@KingLemming
Copy link
Member

For example, FTB Interactions significantly changes the recipe to the Monoculture Cycle, clearly with the intention of allowing it to make custom recipes much cheaper

Can you substantiate this claim?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants