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

Add acetic acid dilution recipe #31424

Merged
merged 2 commits into from
Jun 15, 2019

Conversation

Rail-Runner
Copy link
Contributor

Summary

SUMMARY: Content "Add acetic acid dilution recipe"

Purpose of change

Adds a recipe to dilute acetic acid to make vinegar. Vinegar in its basic form is, for the most part, acetic acid diluted in water, so this should work. I've also made it possible to use unclean water to make vinegar (as concentrated acetic acid would probably kill any microorganisms in there, making it safe to use in cooking). Amount of vinegar used to make acetic acid also got increased, to preserve volume and not create acetic acid out of nowhere.

Describe the solution

JSON editing.

Describe alternatives you've considered

None.

Additional context

I have no idea about how concentrated the acetic acid item is in-game, but in case it's pure acetic acid, resulting vinegar would contain 10% of acetic acid by volume, and in case it's 40% acetic acid solution, it'd be 4% of acetic acid. Both seem kind of reasonable.

@tenmillimaster
Copy link
Member

I think it's safe to consider concentrated acetic acid 'glacial acetic acid', as that's what would be found in labs.

@ZhilkinSerg ZhilkinSerg added [JSON] Changes (can be) made in JSON Crafting / Construction / Recipes Includes: Uncrafting / Disassembling labels Jun 14, 2019
@I-am-Erk
Copy link
Member

Yes, I only didn't call it glacial because I wasn't sure the average player would know the term.

@kevingranade
Copy link
Member

You chemistry experts want to weigh in on whether this is reasonable?
In particular, IDK if the recipe chain of (possibly dirty) water -> vinegar -> acetic acid -> lab stuff is reasonable.

@I-am-Erk
Copy link
Member

I-am-Erk commented Jun 15, 2019

Wait, did I add concentrated acetic acid or was it already in game?

Anyway, the recipe suggested here is fine although maybe should be restricted to clean water. I haven't checked proportions.

The older recipe, making glacial acetic acid by boiling vinegar, doesn't really work. However, if it used the fine distillation quality it would make sense

@Rail-Runner
Copy link
Contributor Author

The older recipe, making glacial acetic acid by boiling vinegar, doesn't really work.

Should I simply remove it then, or there is some other way to concentrate acetic acid present in vinegar?

@I-am-Erk
Copy link
Member

I-am-Erk commented Jun 15, 2019

You were faster than my edit. The fine distillation quality would be all it really needs. I can find the tag for you
Edit: [ "FINE_DISTILL" ]

@Rail-Runner
Copy link
Contributor Author

Done,

@Rivet-the-Zombie Rivet-the-Zombie merged commit 7a11ca5 into CleverRaven:master Jun 15, 2019
@tenmillimaster
Copy link
Member

tenmillimaster commented Jun 15, 2019

Quick math check for the proportions of the dilution recipe (glacial->white vinegar soln)

Assuming vinegar implies a 5% v/v acetic acid:water solution, and that we want to make a 5% solution from concentrated acetic acid:

Our givens: Concentration of glacial acetic acid: 99.8g/1000g soln, density of acetic acid: 1.049g/mL.

The smallest unit of Glacial Acetic Acid(GAA) in game is 250mL, or 262.5 grams of GAA. At 99.8% purity w/w, that's 99.8 grams Acetic Acid(AA) per 100 grams solution, or 261.975g AA per 262.5g GAA. As a ratio, this is 261.975g AA : 0.525g H2O.

A 5% v/v acetic acid soln(our average household white vinegar) is 5mL acetic acid per 100mL solution. As a ratio this is 5mL AA : 95mL H2O. Converting to w/w this is 5.245g AA : 95g H2O. Bringing the mass of AA to the lowest we can obtain from GAA the ratio is 261.975g AA : 4745.019 g H2O.

Thus, to turn the smallest unit of GAA into 5% vinegar solution we need to add (4745.019g - .525g) = 4744.49g of water. Expressed in units of 250mL, this is 18.978 1/4L's.

So with the smallest unit of GAA we can work with, we need to add 19 units of water to make white vinegar. This yields approximately 20 units (5L) of vinegar.

This was probably a lot more mathy than it needed to be but there ya go.

The same proportions in reverse are appropriate for the distillation recipe.

@Rail-Runner Rail-Runner deleted the acetic_acid branch June 15, 2019 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crafting / Construction / Recipes Includes: Uncrafting / Disassembling [JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants