Mods / Lavoisier

Tags: #Crafting #Library #Technology
Author: Moby_
Side: Both
Created: Feb 21st 2023 at 10:05 PM
Last modified: Mar 3rd at 12:21 PM
Downloads: 38058
Follow Unfollow 526

Latest release (for Vintage Story 1.20.1 - 1.20.3 and 1.20.4, outdated):
lavoisier_1.3.1.zip  1-click install


WARNING: This mod doesn't really adds anything besides the chemistry crafting system, it's meant to be used by other mods as a library. You can use ChemistryLib or Alchemistry if you want some things to make.

 

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

 

If you find a bug, have a suggestion or want to talk, feel free to join my Discord server!

The mod The Twelve Keys adds an alchemy merchant that sells retort parts!

About the mod

Lavoisier (named after Antoine Lavoisier, the father of chemistry) is a mod that adds a new crafting system based on early chemistry (right when it stopped being alchemy). This mod adds a new modular, multi-block chemistry apparatus, that can be used for anything from simple distillation to complex chemical synthesis.

This mod is a library: it's meant to be used along other mods that would add actual content (the mod by itself adds support for all boiler/condenser distillable liquids, using a boiling flask and a retort neck).

 

In Lavoisier, you will find a few new blocks:

The boiling flask, meant as a starting point for all synthesis. You can put both a solid and a liquid in a boiling flask to react (similar to a barrel), and after the reaction is complete, you can find up to one liquid and one solid byproduct inside.

The retort neck, that can be used to collect liquids after they reacted (don't forget to add a bowl to collect your distillate!). Including the byproducts, this crafting system can output up to two liquids and one solid.

The dissolver, that can, much like the retort neck, collect products after they reacted. The dissolver, however, can be filled with a liquid that will be used as another input, making it possible to use two liquid inputs in recipes. The dissolver can also gather both liquid and solid outputs.
To access the product content of a dissolver, you can right click it with an empty hand to collect a solid, or empty the reacting liquid first to access a liquid product.

Many components (the condenser, the reaction chamber, the reflux column and the catalyser for now) that are used to make more complex setups.

 

Be careful: you can only connect a single apparatus to another, and they have to all be oriented in the same direction (the boiling flask, having no orientation, can be placed however you like though)

 

Adding recipes and components

Adding new apparatus components and new recipes can be done purely using .json modding. A tutorial can be found in the wiki.

Here is an example of a recipe (the mead recipe doesn't actually involves salt, it's just to give an example)

Recipe example

{
   "code": "distillingmeadcider",
   "setup": [ "alembicboilingflask", "alembicretortneck" ],
   "ticksPerItem": 40,
   "liquidInput": {
      "type": "item",
      "code": "game:ciderportion-mead",
      "stackSize": 10
   },
   "solidInput": {
      "type": "item",
      "code": "game:ciderportion-mead",
      "stackSize": 1
   },
   "product": {
      "type": "item",
      "code": "game:spiritportion-mead",
      "stackSize": 1
   },
   "liquidByproduct": {
      "type": "item",
      "code": "game:waterportion",
      "stackSize": 9
   },
   "solidByproduct": {
      "type": "item",
      "code": "game:salt",
      "stackSize": 1
   }
}

Other possible setup components are "alembiccomponent-catalyser", "alembiccomponent-reactionchamber", "alembiccomponent-condenser" and "alembiccomponent-refluxvertical". Please note that all setups must start with a boiling flask, and it's recommanded to end with a retort neck if you want to have more than only byproducts.

If you want to add dissolver recipes, use another item stack named "endInput" which represents the dissolver's content. This has to be a liquid, or the recipe can't be matched. You should also end your setup with "alembicdissolver".

Please note that the game will stop checking for setup components after it finds a retort neck, so if you add components after a retort neck in your recipe, it will never be matched.

Please also note that you have to use stackSize even for liquids. For some reason, I can't get litres to parse correctly. Usually it's 1 item for 0.01L.
The "ticksPerItem" property represents the time it takes for the recipe to be handled once, 1 tick = 50 ms.
Be cautious: the mod doesn't check what you're doing and just lets you do it, and the game might not like it if, for instance, you try to put a solid item inside a liquid container. The game might also straight up crash if it fails to resolve an item sometimes.

 

If you want to add components, the only thing you have to do is make them orientable and make sure their item id starts with "alembic". The part right before the orientation (items have codes like "lavoisier:alembiccomponent-refluxvertical-north") should also end with "vertical" if your component is meant to be placed on top of another. You can look at the alembic component json for reference.

 

Development

Roadmap:

  • Make a tutorial on how to create components and recipes
  • Make an in-game handbook tutorial explaining how the system works
  • Adding a new start block: the electrolysis flask (when the Electricity mod is installed)
  • Add more sounds
  • Randomised/mutliple byproducts/byproduct tables
  • Maybe some way to have medium-scale production, I'm not sure I really want to add it but maybe funnels to automatically feed (or at least empty an output) stuff?
  • Tiered components (clay, glass, copper)
  • A new synthesis system: the athanor (reaction furnace, for higher temperatures)
  • Add explosion risk when recipes are done poorly (got too hot, not the right tier...)
  • Add actual temperature of reactions, and make it require fuel to heat

I am also planning to make more mods that will use Lavoisier in the (relatively) near future, including:
- A medicine mod, adding some antibiotics and other drugs
- Maybe an engines and transportation mod, since ChemistryLib adds explosive fuels
- Advanced metallurgy, like aluminium and titanium
- PetrochemistryLib, an expansion of ChemistryLib for petrol products (paraffin, bitumen, fuels, cheap benzene...)

 

Known issues:

  • The condenser and the catalyser models don't connect correctly to the reflux column. They work just fine when using in recipes, but they look bad
  • If you don't have the correct amounts of reagents, it won't react but it will still say "Will create [...]". It shouldn't say it (or should have another message saying that you don't have the correct amounts).
  • When a dissolver finishes reacting and is empty, the last portion of liquid won't be transferred to the accessible liquid slot (for unknown reasons)

 

Translations:

English and French by myself

Ukrainian by Olexn

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.3.1 lavoisier
1.20.1 - 1.20.3
9616 Mar 3rd at 12:21 PM lavoisier_1.3.1.zip 1-click install

- Updated to 1.20. It was literally just a legacy patch for liquid containers that broke everything lol

 

1.3.0 lavoisier
1.18.4 - 1.18.5 1.18.6 - 1.18.7 1.19.0 - 1.19.1
19154 Jul 25th 2023 at 11:21 AM lavoisier-1.3.0.zip 1-click install

Now automatically compatible with all distillable things (use the boiling flask and a retort neck for regular boiler/condenser recipes).

1.2.8 lavoisier
1.18.4 - 1.18.5
2550 Jun 1st 2023 at 11:25 AM lavoisier-1.2.8.zip 1-click install

Fixed the Vanilla liquid container quantities display bug

Added french and ukrainian translations

1.2.7 lavoisier
1.18.0 - 1.18.1
1718 Apr 22nd 2023 at 11:57 AM lavoisier-1.2.7.zip 1-click install

Updated to 1.18

1.2.6 lavoisier
1.17.10 - 1.17.11
603 Mar 3rd 2023 at 4:28 PM lavoisier-1.2.6.zip 1-click install

Added: when a dissolver is empty and a reaction ends, will put the product in the accessible liquid slot

(the last liquid portion won't transfer, for some reason)

1.2.6-pre.1 lavoisier 1159 Mar 5th 2023 at 11:32 AM lavoisier-1.2.6-pre.1.zip 1-click install

The same as 1.2.6, but with 1.18-pre bugfixes. It should work.

1.2.5 lavoisier
1.17.10 - 1.17.11
301 Mar 3rd 2023 at 3:26 PM lavoisier-1.2.5.zip 1-click install

Fixed a bug where you could grab liquids out of the dissolver with your bare hands (thanks to KenigVovan for pointing it out!)

1.2.4 lavoisier
1.17.10 - 1.17.11
272 Mar 2nd 2023 at 10:25 AM lavoisier-1.2.4.zip 1-click install

Removed ChemistryLib recipes ; now part of ChemistryLib

1.2.3 lavoisier
1.17.10 - 1.17.11
287 Feb 25th 2023 at 5:22 PM lavoisier-1.2.3.zip 1-click install

Removed debug stuff from the boiling flask. Literally nothing else changed, you could use 1.2.2 for debugging purposes.

1.2.2 lavoisier
1.17.10 - 1.17.11
264 Feb 25th 2023 at 5:14 PM lavoisier-1.2.2.zip 1-click install

Added support for crafting most things in ChemistryLib. The rest will be craftable using ChemistryLib-recipes.

1.2.1 lavoisier
1.17.10 - 1.17.11
281 Feb 24th 2023 at 11:02 PM lavoisier-1.2.1.zip 1-click install

Fixed a LOT of bugs, including:

- You couldn't really have recipes using only a solid input
- Display stuff probably
- Recipes with unmatched ingredients will now be ignored instead of trying to be added. This avoids a situation where a recipe could be thought to be another (for instance vanilla salt + chemistrylib's sulfuric acid, when you didn't had chemistrylib, would work with only salt)

 

Also, today's progress towards making ChemistryLib fully supported (now only organic chemistry stuff is missing, and of course the recipes that will be part of ChemistryLib-recipes)

1.2.0 lavoisier
1.17.10 - 1.17.11
291 Feb 23rd 2023 at 11:22 PM lavoisier-1.2.0.zip 1-click install

Started adding ChemistryLib compatibility

1.1.3 lavoisier
1.17.10 - 1.17.11
240 Feb 23rd 2023 at 9:54 PM lavoisier-1.1.3.zip 1-click install

Fixed a bug introduced by the last version where it wouldn't say what it's about to produce in the block info

1.1.2 lavoisier
1.17.10 - 1.17.11
257 Feb 23rd 2023 at 7:48 PM lavoisier-1.1.2.zip 1-click install

Probably fixed some lag when looking at a boiling flask

1.1.1 lavoisier
1.17.10 - 1.17.11
261 Feb 23rd 2023 at 10:42 AM lavoisier-1.1.1.zip 1-click install

Bugfix: I broke the retort neck recipes by adding the dissolver, it's now fixed

Also the recipe for the dissolver is fixed (thanks to Raccoon!)

1.1.0 lavoisier
1.17.10 - 1.17.11
262 Feb 22nd 2023 at 7:23 PM lavoisier-1.1.0.zip 1-click install

Added: Dissolver end component and Dissolver recipes support

Also better sound effects

1.0.1 lavoisier
1.17.10 - 1.17.11
267 Feb 22nd 2023 at 2:18 PM lavoisier-1.0.1.zip 1-click install

Added some sounds

Fixed the bug where the game would crash when trying to process recipes that produce only byproducts

1.0.0 lavoisier
1.17.10 - 1.17.11
275 Feb 21st 2023 at 11:07 PM lavoisier-alpha1.0.0.zip 1-click install

First version of the mod


59 Comments (oldest first | newest first)

💬 Infinite_fire, 4 days ago

This mod is unusable due to crashing when placing an oil lamp in the boiling flask. Can the mod author please upload the most up to date version of the mod to github? I believe this crash can be (basically) fixed with a one line change and would do it myself, but the version on the github right now is 2 years old. 

💬 Azraile, Nov 2nd at 2:04 PM

It is nice please update

💬 JavaChop, Oct 22nd at 11:56 PM

hey, any plans to fix this mod? huge fan btw.

💬 Azraile, Oct 18th at 9:25 AM

is this currently working?

💬 Yelb, Oct 10th at 11:18 AM

Hi !

I want me hiking in the forest and taking photo of amazing VS world and wildlife.

Yes yes yes ?

💬 Cthugha, Oct 1st at 8:14 PM

INCREDIBLY excited to see this update, along with Alchemistry. Thanks for your hard work.

💬 tsarevich, Sep 16th at 4:35 AM

Moby_ Awesome!!! Thank you for all your hard work, I look forward to using these mods :)

New player, but I saw the KoS mods and I've been wanting to try them out along Lavoisier on an updated world. Can't wait!

💬 Moby_ , Sep 11th at 9:04 PM

Wostolfo Yeah, I'm currently rewriting basically the entire system, I'll probably push a smaller update first to get it working, but this is absolutely getting updated, along with the KoS series (and ChemistryLib will be rebalanced)

💬 Wostolfo, Sep 11th at 5:47 PM

I tried running the mod on 1.21, and adding the oil lamp to the boiler causes a crash, is there an update planned?

 

💬 Wingfriend, Aug 7th at 10:17 AM (modified Aug 14th at 7:27 AM)

Moby_

 Hello! I love the mod and it's feel. After beginning to make a potion for the first time, I noticed that the bubbling sound effect doesn't get quieter with distance. It can even be heard from a good dozen and a half or so blocks away. Was wondering if there was a way to lower the volume of the bubbling maybe? If not it's, that's ok. The sound is not to bad, just kinda messes with the immersion feel a bit :P

💬 DilanRona, Jul 25th at 3:31 PM

Great mod.

💬 NerArth, Apr 29th at 11:31 PM

Getting back into the game again and thinking of what I need to update my own mod, I remembered the discussion we had about the athanor. Still really looking forward to that! 😆😅

I see that you are probably in the process of overhauling/refactoring ChemistryLib though, it'll be interesting to see the changes.

💬 thegerman643, Mar 9th at 11:33 AM

Moby_ Just saw your response and am super excited! We definitely need more firearms representation in VS! I'm looking forward to seeing what you and the community can do.

💬 Moby_ , Mar 7th at 8:13 PM

Akaston You don't need to wait, it's going to work
Probably not perfectly, since afaik Alchemy got some changes so 1.20 is untested, but it will work

💬 Akaston, Mar 7th at 4:18 PM

Sorry if this is a dumb question, but do I need to wait for Alchemistry to update to 1.20, or is it okay to use Lavoisier with the current outdated version of Alchemistry? What do you recommend?

💬 AcidNight, Mar 6th at 3:46 PM

Moby_

oki xD

💬 Moby_ , Mar 5th at 11:06 AM

wojtek16 I'm never saying no to help with modeling, especially with what's ahead x)
Basically if anyone sends me a better model for one of my mods i'll just add it, and I'll have a lot of modeling work for vehicles and various other projects that I could definitely use help with :D

AcidNight C'est pas trop dur de faire une traduction, il faut "juste" copier un fichier du dossier "lang" du mod, puis tout traduire, le renommer en genre fr.json pour le français, puis soit l'envoyer au dev pour qu'il l'ajoute soit faire un mod de traduction. Le dev d'Alchemy est pas hyper réactif en revanche

💬 wojtek16, Mar 4th at 5:35 PM

Thank you so much Moby_ for this update!

If you do want some help with modeling, I would love to give a hand anyway I can! Of course with your approval, I've been working on a project myself into some of the water features that are added to VS, but it's going slow due to coe knowledge barrier, but I do love doing things in the model applicaiton if there is anywhere I can help :)

You are killing it! Thank you for all your work you do!

💬 AcidNight, Mar 4th at 3:59 PM

Moby_

Nooon j'avais jamais fait le rapprochement xD, vivement la suite pour la V2 et Alchemistry ^^ et manquera plus que le mode Alchemy soit traduit en français intégralement,

c’est facile à faire de donner une traduction ?

à la limite je regarderais bien pour la faire xD

💬 Annastasija, Mar 4th at 1:18 PM

Yay I can't wait for your other mods to update. I need my victorian vibes back <3

 

💬 Moby_ , Mar 3rd at 7:59 PM

oneil champions du monde en impôts on est là xD

💬 Chumber, Mar 3rd at 6:37 PM

Jumping on the hype train. Can't wait for photography to come back

💬 oneil, Mar 3rd at 5:41 PM

Moby_ "because unemployment in my country works in a way that you'd be giving money to the government and not to me " je crois comprendre d'ou tu viens ;) 

💬 Moby_ , Mar 3rd at 5:20 PM

thegerman643 Mercury fulminate is definitely possible (mercury + nitric acid + alcohol), but a future ChemistryLib update is also going to make potassium chlorate a thing and Armstrong's mixture is much cheaper to make percussion caps from x) Could be neat to have both options
I've been thinking about giving firearms a go myself for a while, especially now that Maltiez made his guns require Combat Overhaul (CO is a great mod, but it changes the game a lot)

If I do it, they're going to be much more simplistic than Maltiez's, but making my own guns would also give me the possibility to add blackpowder revolvers to Fire&Explosions, and let's face it: the Kingdom of Science series definitely goes into the western vibe :D

💬 thegerman643, Mar 3rd at 5:03 PM

This is huge! Now we just have to convince Maltiez or someone as skilled to make cap and ball or primer based firearms! With this mod mercury fulminate is now feasible I believe!

 

💬 Moby_ , Mar 3rd at 4:42 PM

wojtek16 The KoS series is definitely getting an update, starting with Photographic Memories (now that more explosives were added to vanilla, I'll have to rethink Fire & Explosions, and KoS:GAE is already working), and later at least two new instalments (Pulp & Polymers, and Engines & Transportation, which have been on hiatus because tyron announced that the rideable entity system was going to change completely in 1.20, which it did. P&P will come at least in part after Lavoisier 2, E&T is mostly limited by the time it takes to model good-looking large vehicles).

A proper Alchemistry update will have to wait a little longer, partly because Lavoisier 2 is going to make it so much cooler, and much easier to deal with Alchemy

The possibility for new KoS installments (besides P&P and E&T) include:
- Metallurgy adding real-life-accurate aluminium making (I found a very complicated non-electric process for making aluminium in a book from the 1920s)
- Medicine, although I'll also have to add diseases for them to be useful
- Nuclear power, using uranium from vanilla and insanely expensive heavy water, possibly with Fire&Explosions compatibility for mass destruction if I can figure out how to optimize it
- Aircrafts (hot air balloons are going to be part of the Joy of series, but early airplanes and dirigibles would be part a KoS mod)

💬 RaptorMother, Mar 3rd at 3:24 PM

All I can say is big hype, can't wait to go back to learning alchemy :)

💬 wojtek16, Mar 3rd at 3:15 PM

omg omg omg it's happening!!

Time to get hyped, Lavoisier is updated to 1.20! Do you think you might update the companion mods like KOS mods too? I would love to scrap book my server world with pictures of my travels :)

💬 Sylvi, Mar 3rd at 2:30 PM

Its back!!!

 

💬 DUCATISLO, Mar 3rd at 12:26 PM

oh look new update

💬 Moby_ , Mar 3rd at 12:24 PM

Cantos Turns out, it was pretty damn easy to update lol, I just had to remove a legacy patch for liquid containers and it worked again, so yeah i'll do that :D

IAmAmica Thank you :D
I don't have a donation page yet, because unemployment in my country works in a way that you'd be giving money to the government and not to me if you were to donate. Since I'm being asked that more and more regularly, I'll probably set something up once I find a job again (probably a few months from now)

💬 Cantos, Mar 3rd at 3:04 AM

Love this mod.

As for a big rework vs quick fix. If you can just put out the quick fix for now for people who want it now, then have the big rework take a bit longer, I think that should do best to satisfy all parties.

💬 Cantos, Mar 3rd at 3:03 AM
💬 IAmAmica, Mar 2nd at 10:29 PM

This looks rad, love the model work and concept and I'm excited to use this once its updated. I hope you have a good day if you're reading this <3
as an aside, can't really advise as to whether to throw out a quick patch vs. rewrite with new features but do you have a donation page or something? Seems like the kind of content I'd like to support.

💬 pabadger, Feb 17th at 2:11 AM

I personally feel as though I'd prefer to play with a fully updated system, but I understand that there are people out there who probably want the "quick fix".

💬 oneil, Feb 6th at 9:32 PM

my personal : take the time needed !  your ideas are cool 

💬 TagMail, Feb 3rd at 1:50 PM

I think it all depends on the time needed for the big update, you need 1 month or more, for example a small update to allow the player to wait, it's cool, the mod was great, I miss the chemistry

💬 Moby_ , Feb 1st at 7:08 PM

Announcement: There will be an update, I'm working on updating Joy of Sailing first, but Lavoisier (along with ChemistryLib and related, and Alchemistry) will be updated next, in that order.

One question being that I have a pretty big update planned for Lavoisier, and I'm not sure whether to get a basic compatibility patch out quickly and work on the actual update later, or release the (considerably better, but considerably longer to make) updated version directly

That update would be pretty much an entire rewrite, with a bunch of added functionalities  (like other chemical processes, more tools, possibly introducing dangers to certain reactions, maybe making retort cooking actually use fuel...)

💬 AcidNight, Jan 26th at 9:15 PM

When will there be an update for 1.2.3? The "Alchemistry" mod already worked at 50% for the "Alchemy" mode like no craft for strong potions and here the mode does not work in the new version :(

💬 Valter, Jan 20th at 6:53 PM

Dear author, we are waiting for your mod to be updated to version 1.20.1 (stable). We really liked this mod.

💬 DilanRona, Jan 17th at 5:32 AM

Crashes game when trying to use with RC8 of Vintage story 1.20. Crash is severe enough the game doesn't generate a crash window, and couldn't see any info in the logs as to which mod was causing the crash till I disabled some of the last mods added today.

💬 RollForWizards, Jan 16th at 2:07 AM

So this isn't compatible with 1.2? I guess that must be why Alchemistry is 1.19 only. Hmm.

💬 ImRender, Nov 9th 2024 at 11:50 PM

UPDATE TO 1.20 PLEASEE

💬 Linek, Oct 15th 2024 at 7:09 PM

Wanna update your mod to 1.20 game version?

💬 DarkWalf88, Oct 1st 2024 at 10:12 AM

ty man

 

💬 Moby_ , Oct 1st 2024 at 9:41 AM

DarkWalf88 As far as I know it does. Some things might break in 1.20 (dimension awareness isn't really optional anymore), but 1.19.8 shouldn't be an issue. 1.19.0 wasn't, and the code didn't changed much

💬 DarkWalf88, Oct 1st 2024 at 9:09 AM

Moby_   does the mod work in 1.19.8? It's the last stable version before 1.20.x.

💬 RagondinMan, May 19th 2024 at 8:03 AM

ty!

💬 Moby_ , May 18th 2024 at 9:40 PM

RagondinMan it's not touching worldgen in any way so it's fine to add it to an existing world :D

💬 RagondinMan, May 18th 2024 at 9:06 PM

can this be added to a world?

💬 Rexxia, May 6th 2024 at 6:26 AM

Yes an alchemy mod is essential for this!

 

💬 RomixERR, Mar 25th 2024 at 11:59 AM

Russian lang translation

ru.json

💬 GrimoireODS, Dec 26th 2023 at 2:45 PM

I agree big time with Filvandrel

💬 Filvandrel, Jul 16th 2023 at 8:37 AM

This would be a great thing to integrate with the Alchemy mod, it would make the process of making potions more immersive :D

💬 actuallyasriel, Jul 15th 2023 at 12:23 AM

OMG, someone made the idea I wanted to do!! Very well done. :) Might slam out an addon or two for this.

💬 Moby_ , May 24th 2023 at 12:01 PM

Leightz0g If by msg you mean monosodium glutatmate, there's everything needed to make it in ChemistryLib, I thought about it recently and I was planning to ask l33tmaan if he wants it for Expanded Foods.

It's not there right now, but I'm definitely considering it

💬 Leightz0g, May 24th 2023 at 11:22 AM

can i make msg

💬 HoosierDaddy, Feb 23rd 2023 at 4:27 PM

Nice! I'll be watching.

💬 Bogrin, Feb 22nd 2023 at 5:46 PM

A brilliant and vanilla-friendly addition!

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом