User:Thalpy: Difference between revisions
m water |
m PR link |
||
Line 1: | Line 1: | ||
If you have feedback/concerns, I'm happy to hear them! | If you have feedback/concerns, I'm happy to hear them! Link to PR: https://github.com/tgstation/tgstation/pull/56019 | ||
= Recipe changes= | = Recipe changes= |
Revision as of 01:57, 16 January 2021
If you have feedback/concerns, I'm happy to hear them! Link to PR: https://github.com/tgstation/tgstation/pull/56019
Recipe changes
Name | Recipe | Reaction vars | Description | Chemical properties | pH |
---|---|---|---|---|---|
ALL reactions (unless specified)? | See https://tgstation13.org/wiki/Guide_to_chemistry | Min react temp: 100K Overheat temp: 900K Optimal pH range: 5 to 9 Min purity: 0.15 Mildly exothermic Mildly H+ consuming |
This is a catch all default reaction. In most cases it'll easily resolve to a purity 1 product. | n/a | n/a |
Drink reactions? | See https://tgstation13.org/wiki/Drinks | Min react temp: 100K Overheat temp: 900K Optimal pH range: 2 to 10 Min purity: 0.15 Mildly exothermic |
This is a catch all default reaction. In most cases it'll easily resolve to a purity 1 product. | n/a | n/a |
Acidic buffer? | 1 parts Saline-Glucose Solution 3 parts Ethanol 3 parts Oxygen 3 parts Water |
Min react temp: 250K Overheat temp: 9999K pH range: 0 to 14 Min purity: 0.15 Mildly H+ producing |
This reagent will consume itself and move the pH of a beaker towards acidity when added to another. | Metabolism rate: 0.2u/s | 0 |
Basic buffer? | 1 parts Lye 2 parts Ethanol 2 parts Water Catalyst: 1u Sulphuric acid |
Min react temp: 250K Overheat temp: 9999K pH range: 0 to 14 Min purity: 0.15 Mildly H+ consuming |
This reagent will consume itself and move the pH of a beaker towards alkalinity when added to another. | Metabolism rate: 0.2u/s | 14 |
Ammonia ? | 3 parts Hydrogen 1 part Nitrogen |
Min react temp: 100K Overheat temp: 900K Optimal pH range: 1 to 12 Min purity: 0.15 Mildly exothermic Mildly H+ consuming |
An effective fertilizer. Ingredient in many recipes. (Results in 3 units instead of 4)
Used in: | ||
Hercuri? | 3 parts Cryostylane 1 part Ice 1 part Stable Plasma 1 part Lye 1 part Sodium 1 part Hydrogen 1 part Bromine |
Cold reaction Min react temp: 47K Overheat temp: 5K pH range: 5 to 9 Min purity: 0.15 Endothermic Mildly H+ consuming |
Heals burn damage and can cool you to unsafe levels. If applied with vapor such as with a spray bottle ![]()
Overdose cools you down even more. Was originally named Rhigoxane. |
Metabolism rate: 0.2 u/s OD: 25 Units | |
Firefighting Foam? | 1 part Stabilizing Agent 1 part Iron 1 part Oxygen 1 part Fluorosurfactant 2 parts Carbon 2 parts Fluorine 1 part Carbon |
Cold reaction Min react temp: 200K Overheat temp: 5K pH range: 5 to 9 Min purity: 0.15 Very endothermic Mildly H+ consuming |
When used in a spray or with smoke it creates a non-slippery foam which extinguishes fires and burning creatures, and removes burning plasma from the air, dumping it on the floor upon dissipation. | Metabolism rate: 0.4u/s | |
Chocolate milk? | 3 parts Hot Coco, 2 parts Coco Powder, under 300K temperature. | Cold reaction Min react temp: 300K Overheat temp: 5K pH range: 5 to 9 Min purity: 0.15 mildly endothermic |
When used in a spray or with smoke it creates a non-slippery foam which extinguishes fires and burning creatures, and removes burning plasma from the air, dumping it on the floor upon dissipation. | Metabolism rate: 0.4u/s |
Handiling reactions
It's important to note that the basic reaction is a one size fits all, so it's unlikely that they'll cause too much trouble for you. Keep your pH within 5-9 and bare in mind all reactions are exothermic now.
Temperature
All reactions that are non-instant have a reaction rate tied to the temperature of a beaker. If a chemical is reacting too slowly, simply heat the beaker up to speed it up. As a reaction occurs, it is either Exothermic (heat producing) or Endothermic (heat consuming). Care should be taken for the Exothermic reactions, as they are liable to overheat. An overheated reaction will reduce the yield of your reaction by default, and other reactions can have specialise effects when they get too hot (not in yet, but soon!). The rate in which a reaction heats up is faster the hotter it is, be careful to not lose control, and run if you do.
Potential of Hydrogen (pH)
Every chemical has an innate pH, which can be seen by pressing the cog on the dispenser. The pH of the beaker is the sum of the pHes in the mix. The pH of a beaker determines how pure a product is, for the recipes with a given pH, you want to have your pH at the centre of the limits when the reaction starts. As a reaction progresses, it's likely the pH will begin to drift, and must be compensated for either with buffer reagents or acidic/alkaline compounds. The pH range is something chemists often have to learn over several reactions, and the ChemMaster 3000 analyse function can give an insight into what pH you should be aiming for (Not in yet). Highly impure compounds are liable to affect your reaction too thus it is prudent to set your pH before reacting, as an overly impure reaction will drag the purity down of all other reagents with it.
Presently the pH meter on the machines have a higher accuracy than normal to help players accumulate.
Purity
Purity of a reagent is determined by how pure your reactants were, and how optimal the pH was during the reaction. If the product is slightly impure, it'll split into the impure chem, if it is highly impure, it will invert all of the product into the inverse chem. By default an impure chem will reduce your total effective volume when administered, and cause slight liver damage. If your purity is too pure, but you still complete the reaction, it will 100% covnert into the inverse chem, which wil lcause slight toxin damage. If you fail the reaction from purity, the reaction will crash out into a foul sludge, which causes nutritional damage. the impure, inverse and failed chems are all given above (not in yet) and differ on a reagent basis, and in the case of drinks, their impure and inverse chem is water.
Do like an otter, add acid to water.
Not in yet
General tips
- Make sure your pH is correct before heating up the reaction, If it's not reacting, this is usually the problem, after the reaction has started however, it will keep going past the limits, producing 0% impurity product.
- Keeping your reaction in the heater to cool it can be a way to deal with exothermic reactions.
- You can adjust the pH of a reaction easily by using a dropper with buffer. Using a dropper on a heater will adjust the pH of the beaker within.
- Take a note of how your pH changes across the reaction and adjust beforehand accordingly, or have some buffer handy to inject into the reaction in the middle of it.
- You can abort reactions by crashing the temperature and hoping it's not exothermic enough to overcome that anyways. Alternatively, you could throw the beaker in a panic.
- Upgrading the heater and the dispenser will improve their ability to detect pH. (soon)
- For some reactions, it can be useful to keep reagents away from each other until both of them have optimal conditions.
- Temperature of buffers will change the temperature of whatever you're adding it to! Make sure to not pour hot buffer into a temperature sensitive reaction!
Tools
pH paper
pH paper can tell you the rough pH by putting it into the beaker. The colour of the strip will indicate what the pH is.
Buffer reagents
Buffers are reagents that alter the pH of a mixture towards acidity (0) or alkalinity (14). These liquids dissiplate into a mixture, unless stabilizing agent is added.
pH meter
A handy meter that can tell you all about the reagents found in a beaker. Resarchable and printable by the lathe. Currently the only way to detect purity of a reagent, other than taking it yourself.
Full list of changes
- Added pH booklets to the chemists chemdrobe - these can tell you the pH of a beaker by ripping a sheet out of them and using it on a beaker or reagent holder
- Adds a pH meter than can be researched and printed from the med lathe. When used on a reagent holder it will tell you a detailed breakdown of the reagents in the beaker, including pH, volume and purity. It will also detect ongoing reactions.
- Adds pH to all reagents * the pH of a beaker/holder will be the sum of all reagents with respect to volume. pH is an abstracted potential of hydrogen that affects reactions.
- Adds a new reaction mechanic that allows reaction to occur in an incremental fashion.
- Adds reaction rates to reactions, by default the maximum reaction rate of a chem will be 20u/tick at optimal temperature.
- Adds purity to reagents. Purity is defined by how optimal pH remains during a reaction. For all reactions the range is 5*9 for optimal except for buffers.
- Adds exothermic and endothermic reactions ? reactions that produce heat across a reaction.
- Adds the ability for reactions to consume or generate pH as it reacts
- Adds purity mechanics for reactions * if a purity is too low at the end of a reaction then it will convert into viscous sludge or a failed chem. At the moment you have to go out of your way to cause this, but the code is there to expand upon.
- Adds purity handling mechanics when a reagent is consumed; If a reagent is very impure it will inverse into another chem. This inversion will remove all of the original chem and take its place instead.
- Adds further purity handling mechanics when a reagent is consumed, If it's slightly impure then it will split into an impure chem with respect to purity. The ratio of original to impure is determined by the purity of the original when consumed.
- Adds impure reagents to accommodate the changes above:
- Chemical Isomers * Causes slight liver damage, or toxin damage if there's no liver.
- Toxic sludge * Causes slight toxin damage
- Viscous sludge * Tastes terrible and causes nutrition damage
- Acidic and basic buffers. These will self-consume when added to a reagent holder will other reagents in it, and alter the pH towards their respective extreme. Thereby altering the pH without affecting the volume.
- Adds an overheat mechanic to reactions - overheating your reaction past it's overheat point will reduce the yield of your product by 2% per tick.
- Adds an overly impure mechanic to reactions * if you're reacting a chemical that is too impure it will reduce the purity of all reagents present in the beaker.
- Adds 2 pH booklets, 1 dropper and 1 bottle of acidic buffer (you can make this) to the chemist's locker.
- edited chem master, chem dispenser and heater’s UI to show pH
- Impurity reduces the yield you get from instant reactions.
- Tweaks most reagents to use a default handler. The ones omitted are ones that rely on being instant. This default has a minimum reaction temperature of 100, an optimal temperature of 500 and an overheat temperature of 900+. Their optimal pH range is 5-9; which will result in a purity 1 reagent when kept within this window. If the reaction is within a pH window of 1-4 or 9-13 the resulting purity will be dependent on the deviation from 5 or 9. <1 or >14 will create impure chems for every step. If your final purity on the end of a reaction is less than 0.15, then it will collapse into Viscous sludge. The reaction is mildly exothermic and H+ consuming.
- tweaks chocolate milk, firefighting foam and hercuri reactions to work better with the new mechanics. These inherit the same pH windows as above.
- Chocolate milk now has an minimum reaction temp of below 300, an optimal reaction temperature between 200 * 5, and an overheat (or rather underheat) temperature of below 5. It is also midly endothermic.
- Hercuri now has an minimum reaction temp of below 47, an optimal reaction temperature between 10 * 5, and an overheat (or rather underheat) temperature of below 5.
- Firefighting foam now has an minimum reaction temp of below 200, an optimal reaction temperature between 50 * 5, and an overheat (or rather underheat) temperature of below 5. It is also mildly endothermic and shifts towards acidic conditions during reaction slightly.
- acidspit and triple_citrus's optimal pH was set to 0 - 7
- Ammonia's pH window has been widened to 1-12
- weedkiller is H+ producing
- You can now use droppers and syringes directly on heaters to affect the beaker inside of it (provided there’s a beaker in there)
- added several sound effects for chemistry
- added melting beaker icons
- changed reagents code, created equilibrium.dm
- refactored main chemistry mechanics to use reaction rates, pH and purity mechanics