Mods / ChemistryLib
- Tags:
- Author:
- Moby_
- Side:
- Both
- Created:
- Feb 23rd 2023 at 11:11 PM
- Last modified:
- Apr 3rd at 9:25 PM
- Downloads:
- 31793
- Follow Unfollow 368
-
Latest release (for Vintage Story 1.21.0-pre.1 - 1.21.6 and 1.22.0-pre.1 - 1.22.0-rc.7, potentially outdated):
chemistrylib-1.2.2.zip 1-click install
This mod is best used with Lavoisier and A Culinary Artillery. Using both mods, all items from ChemistryLib can be made.
Note: since the March 31, 2026 rebalance (1.2.0), ChemistryLib is uncompatible with most mods using its acids that haven't received an update since. Kingdom of Science series to be expected shortly.
Also, the quantities noted on the wiki are wrong. You'll need much more liquid component per solid item, on the order of 0.1-1 per litre. Recipes will take much longer to process, since most of them will process the full quantity at once. I'll update the github wiki in the near-ish future, in the meantime you can tinker with it (Lavoisier isn't very sensitive), or check the files (reminder: 100 quantity = 1L for most liquid items)
If you find a bug, have a suggestion or want to talk, feel free to join my Discord server!
About ChemistryLib
ChemistryLib is a library mod adding a fair amount of common chemicals to Vintage Story.
I first thought about this mod when I saw that multiple mods used sulfuric acid in their recipes, and every mod added their own sulfuric acid: none were compatible with each other. This mod is trying to fix this kind of issue.
This mod is also the reason why I created Lavoisier: I was missing an immersive crafting system to be used as a default for ChemistryLib.
The mod adds the following items:
Acids:
Hydrochloric acid ("Spirit of salt")
Sulfuric acid ("Oil of vitriol") (1.2.0+: replaced with vanilla sulfuric acid)
Nitric acid ("Spirit of niter")
Hydrofluoric acid ("Spirit of fluorite")
Aqua regia
Acetic acid (glacial; not exactly the same as vinegar)
Pyroligneous acid (wood dry distillation product, contains acetic acid and methanol, mostly)
Alkali:
Sodium carbonate ("Soda ash")
Sodium hydroxide ("Caustic soda")
Potassium hydroxide ("Caustic potash")
Ammonia
Pure elements:
Phosphorus (white and red) note: red phosphorus can be made by simmering white phosphorus, even though it's not stated in the handbook.
Mercury
Minerals:
Calcium acetate
Glauber's salt
Ammonium chloride ("Sal ammoniac")
Organic compounds:
Glycerin
Acetone
Turpentine
Methanol ("Wood spirit")
Coal tar (1.2.0+: replaced with vanilla tar)
Phenolate
Phenol
Benzene
Formaldehyde
Other:
Soap
Seltzer (carbonated water)
Lens (a glass lens)
Mods using ChemistryLib:
Kingdom of Science: Fire & Explosions : adds dynamite (and nitroglycerin to make it) and phosphorus matches.
Simple Alchemy (formerly, up to 2.2.10) : adds potions with various effects, and a potion-making system.
Kingdom of Science: Photographic Memories : adds silver photography to the game.
Pretzels : adds pretzels and lye croissants.
Nearsighted : adds self-inflicted nearsightedness to the game, and more glasses. (uses the lens)
Kingdom of Science: Gold Amalgam Extraction : adds an easier way to extract gold from sand and gravel using mercury amalgamation.
Rusty Shell : adds chemical warfare and incendiary weapons (along with various old cannons)
For modders:
The goal of ChemistryLib is, obviously, to be used by other mods! You can use any of these items just like you would use vanilla items, just use the "chemistrylib:" prefix instead of the "game:" prefix.
Please tell me if you make a mod that uses ChemistryLib so I can list it here.
Also please tell me if you'll need any other chemical that you feel could be widely used (or if it's already used by another mod), or if you see any chemical used by two separate mods, so I can add it here!
Using Lavoisier:
Check the Lavoisier wiki.
Known issues:
The mod has overlapping items with Expanded Matter. They're not technically incompatible, but could be confusing. I found a way to fix that, but have yet to finish implementing it.
just adding ChemLib to the page since I call it that most of the time, for referencing
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.2.2 | chemistrylib | 664 | Apr 3rd at 9:25 PM | chemistrylib-1.2.2.zip | 1-click install | ||
|
Fixed mineral alkali barrel recipe | |||||||
| 1.2.1 | chemistrylib | 83 | Mar 31st at 10:44 AM | chemistrylib-1.2.1.zip | 1-click install | ||
|
forgot to fix lang files after acid changes (check 1.2.0 patch notes, they're important) | |||||||
| 1.2.0 | chemistrylib | 10 | Mar 31st at 10:34 AM | chemistrylib-1.2.0.zip | 1-click install | ||
Note: this update is largely untested, especially in survival. Please let me know if I forgot something, if something broke or if | |||||||
| 1.1.5 | chemistrylib | 21839 | Jun 28th 2023 at 3:27 PM | chemistrylib-1.1.5.zip | 1-click install | ||
| |||||||
| 1.1.4 | chemistrylib | 1201 | Jun 13th 2023 at 5:28 PM | chemistrylib-1.1.4.zip | 1-click install | ||
|
Patched some recipes (grinding lenses thanks to Olexnn) Added french and ukrainian translation | |||||||
| 1.1.3 | chemistrylib | 470 | Jun 11th 2023 at 9:11 AM | chemistrylib-1.1.3.zip | 1-click install | ||
|
Actually fixed the phosphorus recipes (I only fixed the coke recipe before) | |||||||
| 1.1.2 | chemistrylib | 575 | Jun 7th 2023 at 2:36 PM | chemistrylib-1.1.2.zip | 1-click install | ||
|
Lowered the cooking point of white phosophorus so it's actually craftable (it wasn't before). It's less realistic, but at least you can make it while I think about a more elegant solution | |||||||
| 1.1.1 | chemistrylib | 2731 | Mar 12th 2023 at 5:24 PM | chemistrylib-1.1.1.zip | 1-click install | ||
|
Fixed handbook guide | |||||||
| 1.1.0 | chemistrylib | 1218 | Mar 12th 2023 at 2:22 PM | chemistrylib-1.1.0.zip | 1-click install | ||
|
Added ammonium chloride and lenses Also there should be a handbook entry now | |||||||
| 1.0.7 | chemistrylib | 673 | Mar 3rd 2023 at 2:42 PM | chemistrylib-1.0.7.zip | 1-click install | ||
|
Fixed sulfuric acid contact process | |||||||
| 1.0.6 | chemistrylib | 398 | Mar 3rd 2023 at 2:20 PM | chemistrylib-1.0.6.zip | 1-click install | ||
|
Fixed liquid simmering recipes | |||||||
| 1.0.5 | chemistrylib | 402 | Mar 2nd 2023 at 1:54 PM | chemistrylib-1.0.5.zip | 1-click install | ||
|
Fixed the recipes for artificial saltpeter and white phosphorus (using coke) | |||||||
| 1.0.4 | chemistrylib | 371 | Mar 2nd 2023 at 10:23 AM | chemistrylib-1.0.4.zip | 1-click install | ||
|
Added seltzer water Added all recipes | |||||||
| 1.0.3 | chemistrylib | 396 | Feb 26th 2023 at 12:19 PM | chemistrylib-1.0.3.zip | 1-click install | ||
|
Fixed: I messed up the alkali, now they should work | |||||||
| 1.0.1 | chemistrylib | 382 | Feb 24th 2023 at 11:24 AM | chemistrylib-1.0.1.zip | 1-click install | ||
|
Fixed crash when trying to empty a container filled with a acetic acid nd pyroligneous acid Fixed acetic acid texture | |||||||
| 1.0.0 | chemistrylib | 380 | Feb 23rd 2023 at 11:14 PM | chemistrylib-1.0.0.zip | 1-click install | ||
|
First release | |||||||
Just to update my previous message, it was a different mod causing the issue, sorry again for wasting your time Moby, hope you didn't go too deep into investigating this!
Don't pain yourself with it just yet, I'm doing some testing from my side to see, I did install the Enchantment table mod along when I updated yours to our server, so I'm guessing that this might be the issue. I did test things out on a singlplayer world and it worked fine but seems to be crashing the MP one. I'll update this if I do find the issue behind it later today.
Appreciate all you do Moby!
wojtek16 I'll check, but ChemistryLib is a 100% json mod, so I don't really see how it could cause that kind of problem. I'll still check, though
Not sure if this might be the mod causing an issue but any item I right click or break in my world seems to crash the server, anyone run into this?
We are so back
epic
Resserfi yeah, but I have to rewrite lavoisier first (i'll tackle that very soon)
To clarify why I have to rewrite lavoisier, the way lavoisier works is by processing items 1 by 1, however because of the addition of vanilla sulfuric acid, with liters of it being made with single-digit items, I'm going to have to process not full items but fractions of items to output the standard 0.01L
I could technically update it now but it would mean like, waiting for half an hour then having everything processed at once
Moby_ Can u uptade it to 1.20?
Even though Lavoisier is fixed, my official position is to not use ChemistryLib right now: there's going to be a massive rebalancing update (to balance around the vanilla sulfuric acid recipe, which is currently completely separated from the ChemLib sulfuric acid), but said rebalancing will require a more in-depth Lavoisier update (actually closer to a rewrite)
So, you can play with it now to scratch that itch, but keep in mind that it's going to change, and chemicals are going to get much cheaper
RagondinMan Backwards compatibility is my top priority for this rewrite, so it shouldn't break anything (including potential mods that use it: the new version will be able to parse the old crafting recipes). You might have to break and place again some components though (to reset the block entity), but the goal is to not have it be more than that.
Moby_ oh cool cool!
about your comment with a rewrite, do you think itll break existing saves? or will it be a smooth transition
RagondinMan Yeah, it's going to work on an existing save, this doesn't change the worldgen in any way so won't be an issue
Moon_Dew I'm planning to revisit this, it's long overdue for an update (lavoisier and chemistrylib were my first mods so that update is probably going to be a complete rewrite + a bunch of new features for Lavoisier, implemented into chemistrylib). I'm not really waiting for 1.20, mostly waiting for IRL stuff to settle (should be good by the end of this year I hope).
can you add this mid save?
Any plans on updating this and related mods soon, or are you waiting for version 1.20 to drop?
Made a translation into russian. Also added recipes from the Lavoisier mod. For 1.1.5 version.
UP: Added recipes for Kingdom of Science: Gold Amalgam Extraction and Kingdom of Science: Fire & Explosions.
Added names acids, such as Sulfuric acid, Hydrochloric acid, etc.
ru.json
Kind of odd storing all these powerful acids in just wooden buckets...
qgame Thank you for the feedback! I'm aware of that bug, iirc it used to be game:leather and changed, and I never changed it. It's on the top of the to-do list.
I'm probably going to add more ways to make ammonia in the future too. Maybe not the Haber process (I'll add it if I add tiered chemical apparatuses and make it a steel apparatus exclusive) but at least other "distill organic materials" recipes
Hey, a friend and I recently added this to our server (current version of the game and your mod) and we found out, that the mod has a bug in the recipe for "ammonialeather" The recipe didn't work for us at all, but we fixed it by changing the line ["code": "game:leather"] to ["code": "game:leather-plain"] in \Mods\chemistrylib-1.1.5.zip\assets\chemistrylib\recipes\alembic\retort\alkali.json. (the compost version of the same recipe works without any issue)
I just wanted to let you know of that. Thanks for your mod, it's a lot of fun to use!
have a nice day.
conninator2000 You actually need a cauldron to make it. Cauldrons can go up to 900°C (which would be a bit cold IRL, I'm thinking about adding a chemistry oven to reach higher reaction temperatures), and I don't even think that saucepans can fit enough items to make phosphorus.
Looks super cool but I am having some trouble with phosphorus. Both the wiki and the guide say to just "boil" it in a saucepan, the saucepan recognizes the recipe and just sits at 400C without the progress bar moving
Neato. I could use some of this weirdo stuff in Expanded Foods. Like the nitric acid!
Well done! Thank you for this!!