SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Lavoisier

MBy Moby_

Adds a new crafting system based on early chemistry/alchemy. Meant for use with other mods.

Lavoisier

Description

<span style="color: #e74c3c;">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.</span>

<span style="color: #e74c3c;">Also, this is NOT COMPATIBLE WITH VANILLA SULFURIC ACID YET, anything that mentions sulfuric acid refers specifically to the chemistrylib one</span>

&nbsp;

<span style="color: #e74c3c;">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
</span>

&nbsp;

<span style="color: #000000;">If you find a bug, have a suggestion or want to talk, feel free to join my Discord server!</span>

<span style="color: #000000;">The mod The Twelve Keys adds an alchemy merchant that sells retort parts!</span>

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).

&nbsp;

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.

&nbsp;

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)

&nbsp;

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

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

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.

Read the full description on Vintage Story ModDB →

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.