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

Brewing density fixes #72640

Closed
wants to merge 5 commits into from
Closed

Conversation

Alm999
Copy link
Contributor

@Alm999 Alm999 commented Mar 26, 2024

Summary

Bugfixes "Correct Density for Some Brewing Fluids"

Purpose of change

Some densities of brewing liquids were wrong because the JSON entries still had their "charges" fields set to something other than 1 resulting in wrong calculations.

Describe the solution

I've set the "charges" fields to 1 correcting "weight" and/or "volume" fields if needed.

Describe alternatives you've considered

I could return charges and recalculate "weight"/"volume" fields instead, but I was told that would not be the appropriate solution as we are trying to discard the "charges" field for good.

Testing

Tested recipes in-game. They seem to produce the correct yield unit-wise and densities are OK.

Additional context

None.

@github-actions github-actions bot added [JSON] Changes (can be) made in JSON <Bugfix> This is a fix for a bug (or closes open issue) json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Mar 26, 2024
@Alm999 Alm999 closed this Mar 26, 2024
@Maleclypse
Copy link
Member

Did you mean to close this?

@Alm999
Copy link
Contributor Author

Alm999 commented Mar 27, 2024

Did you mean to close this?

Yes. It is superseded by #72641

It turned out that correcting densities has triggered "known bad density" tests to fail because now unfermented vinegar and young yeast need to be removed from the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants