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

Fix phantom bread recipes from Aftershock dough obsoletion #36275

Merged
merged 1 commit into from Dec 20, 2019
Merged

Fix phantom bread recipes from Aftershock dough obsoletion #36275

merged 1 commit into from Dec 20, 2019

Conversation

ghost
Copy link

@ghost ghost commented Dec 19, 2019

Summary

SUMMARY: Bugfixes "Remove Aftershock phantom bread recipes"

Purpose of change

Obsoletion of the dough recipes in #36209 was done without adding the recipe suffix, and putting "obsolete": "true" instead of "obsolete": true. This lead to the vanilla recipes being overwritten to require no ingredients but create the bread anyway if Aftershock was enabled.

Describe the solution

Re-add suffix, fix obsolete field.

Describe alternatives you've considered

None.

Testing

Loaded ingame, saw that only the vanilla recipe was there and doesn't violate the law of conservation of mass.
Tried also without re-adding the suffix just for kicks, which obsoletes the vanilla recipe.
image

Additional context

Original bug(reported on Fancord by blackburn):
image

@kevingranade kevingranade merged commit 1ccb6a8 into CleverRaven:master Dec 20, 2019
fengjixuchui added a commit to fengjixuchui/Cataclysm-DDA that referenced this pull request Dec 20, 2019
@ghost ghost deleted the PhantomBread branch December 20, 2019 03:07
@ghost ghost changed the title Remove phantom bread recipes from Aftershock dough obsoletion Fix phantom bread recipes from Aftershock dough obsoletion Dec 20, 2019
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