From e9c6e2a5daaac82d23e37072812635938a761e1e Mon Sep 17 00:00:00 2001 From: ike709 Date: Tue, 14 Jul 2020 14:41:11 -0500 Subject: [PATCH] Adds boiling points and melting points for all chemicals and elements (#1390) * Adds boiling points and melting points for all chemicals and elements * Readd ice, will deal with it later --- Resources/Prototypes/Reagents/chemicals.yml | 34 +++++++++++++++++++ Resources/Prototypes/Reagents/elements.yml | 36 +++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/Resources/Prototypes/Reagents/chemicals.yml b/Resources/Prototypes/Reagents/chemicals.yml index ef75765dda..0f6421018e 100644 --- a/Resources/Prototypes/Reagents/chemicals.yml +++ b/Resources/Prototypes/Reagents/chemicals.yml @@ -12,12 +12,16 @@ name: sulfuric acid desc: A highly corrosive, oily, colorless liquid. color: "#BF8C00" + boilingPoint: 337.0 + meltingPoint: 10.31 - type: reagent id: chem.H2O name: water desc: A tasty colorless liquid. color: "#c0e0ff20" + boilingPoint: 100.0 + meltingPoint: 0.0 metabolism: - !type:DefaultDrink rate: 1 @@ -27,87 +31,117 @@ name: ice desc: Frozen water. color: "#bed8e6" + meltingPoint: 0.0 + boilingPoint: 100.0 - type: reagent id: chem.Plasma name: plasma desc: Funky, space-magic pixie dust. You probably shouldn't eat this, but we both know you will anyways. color: "#500064" + boilingPoint: -127.3 # Random values picked between the actual values for CO2 and O2 + meltingPoint: -186.4 - type: reagent id: chem.Ethanol name: ethanol desc: A simple alcohol, makes you drunk if consumed, flammable. color: "#b05b3c" + boilingPoint: 78.2 + meltingPoint: -114.1 - type: reagent id: chem.Glucose name: glucose desc: A simple sugar found in many foods. color: "#ffffff" + boilingPoint: 340282300000000000000000000000000000000 #Fun fact: Glucose can't boil. So let's just set it to the maximum float value. + meltingPoint: 146.0 - type: reagent id: chem.Ammonia name: ammonia desc: An effective fertilizer which is better than what is available to the botanist initially, though it isn't as powerful as Diethylamine color: "#77b58e" + boilingPoint: -33.0 + meltingPoint: -77.7 - type: reagent id: chem.Bleach name: bleach desc: Heavy duty cleaner that can clean tiles the same as Space Cleaner and also decontaminate clothes. Extremely toxic when ingested. color: "#a1000b" + boilingPoint: 111.0 + meltingPoint: -5.0 - type: reagent id: chem.Diethylamine name: diethylamine desc: A very potent fertilizer. color: "#a1000b" + boilingPoint: 55.5 + meltingPoint: -50.0 - type: reagent id: chem.FoamingAgent name: foaming agent desc: Makes foam such as that required in metal foam grenades color: "#215263" + boilingPoint: 418.0 # I went with ammonium lauryl sulfate as the basis for this + meltingPoint: 7.4 # I made this up - type: reagent id: chem.PolytrinicAcid name: polytrinic acid desc: An extremely corrosive chemical substance. The slightest touch of it will melt off most masks and headgear, and it deals extreme damage to anyone who comes directly into contact with it. Spraying it on other items will usually melt them too, which does make it useful if the clown has covered the entire hallway in banana peels. color: "#a1000b" + boilingPoint: 78.2 # This isn't a real chemical... + meltingPoint: -19.4 - type: reagent id: chem.SpaceCleaner name: space cleaner desc: This is able to clean almost all surfaces of almost anything that may dirty them. The janitor is likely to appreciate refills. color: "#215263" + boilingPoint: 147.0 # Made this up, loosely based on bleach + meltingPoint: -11.0 - type: reagent id: chem.SpaceLube name: space lube desc: Space Lube is a high performance lubricant intended for maintenance of extremely complex mechanical equipment (and certainly not used to make people slip). color: "#77b58e" + boilingPoint: 290.0 # Glycerin + meltingPoint: 18.2 - type: reagent id: chem.TableSalt name: table salt desc: Commonly known as salt, Sodium Chloride is often used to season food or kill borers instantly. color: "#a1000b" + boilingPoint: 1465.0 + meltingPoint: 800.7 - type: reagent id: chem.Thermite name: thermite desc: A mixture that becomes extremely hot when ignited, and which can burn straight through walls when applied and ignited. It'll slowly inflict burn damage to anybody dumb enough to ingest it, but can't be ignited inside inside said dumb person. color: "#77b58e" + boilingPoint: 2977.0 # Aluminum oxide + meltingPoint: 2030.0 - type: reagent id: chem.UnstableMutagen name: unstable mutagen desc: Causes mutations when injected into living people or plants. High doses may be lethal, especially in humans. color: "#77b58e" + boilingPoint: 340282300000000000000000000000000000000 # Ethidium bromide, which doesn't boil. + meltingPoint: 261.0 - type: reagent id: chem.WeldingFuel name: welding fuel desc: Used by welders to weld. color: "#a76b1c" + boilingPoint: -84.7 # Acetylene. Close enough. + meltingPoint: -80.7 diff --git a/Resources/Prototypes/Reagents/elements.yml b/Resources/Prototypes/Reagents/elements.yml index b84af6b7e3..13fa9d1d5c 100644 --- a/Resources/Prototypes/Reagents/elements.yml +++ b/Resources/Prototypes/Reagents/elements.yml @@ -3,105 +3,141 @@ name: hydrogen desc: A light, flammable gas. color: "#808080" + boilingPoint: -253.0 + meltingPoint: -259.2 - type: reagent id: chem.O name: oxygen desc: An oxidizing, colorless gas. color: "#808080" + boilingPoint: -183.0 + meltingPoint: -218.4 - type: reagent id: chem.S name: sulfur desc: A yellow, crystalline solid. color: "#FFFACD" + boilingPoint: 445.0 + meltingPoint: 120.0 - type: reagent id: chem.C name: carbon desc: A black, crystalline solid. color: "#22282b" + boilingPoint: 4200.0 + meltingPoint: 3550.0 - type: reagent id: chem.Al name: aluminum desc: A silvery-white, soft, non-magnetic, and ductile metal. color: "#848789" + boilingPoint: 2327.0 + meltingPoint: 660.0 - type: reagent id: chem.Cu name: copper desc: A soft, malleable, and ductile metal with very high thermal and electrical conductivity. color: "#b05b3c" + boilingPoint: 2595.0 + meltingPoint: 1083.0 - type: reagent id: chem.N name: nitrogen desc: A colorless, odorless unreactive gas. Highly stable. color: "#808080" + boilingPoint: -195.8 + meltingPoint: -210.0 - type: reagent id: chem.Fe name: iron desc: A silvery-grey metal which forms iron oxides (rust) with contact with air. Commonly alloyed with other elements to create alloys such as steel. color: "#434b4d" + boilingPoint: 2862.0 + meltingPoint: 1538.0 - type: reagent id: chem.F name: fluorine desc: A highly toxic pale yellow gas. Extremely reactive. color: "#808080" + boilingPoint: -188.11 + meltingPoint: -219.67 - type: reagent id: chem.Si name: silicon desc: A hard and brittle crystalline solid with a blue-grey color. color: "#364266" + boilingPoint: 3265.0 + meltingPoint: 1414.0 - type: reagent id: chem.Cl name: chlorine desc: A yellow-green gas which is toxic to humans. color: "#a2ff00" + meltingPoint: -101.5 + boilingPoint: -34.04 - type: reagent id: chem.Li name: lithium desc: A soft, silvery-white alkali metal. It is highly reactive, and ignites if it makes contact with water. color: "#c6c8cc" + meltingPoint: 180.5 + boilingPoint: 1330.0 - type: reagent id: chem.Hg name: mercury desc: A silver metal which is liquid at room temperature. It is highly toxic to humans. color: "#929296" + meltingPoint: -38.83 + boilingPoint: 356.73 - type: reagent id: chem.P name: phosphorus desc: A reactive metal used in pyrotechnics and weapons. color: "#803330" + meltingPoint: 44.2 + boilingPoint: 280.5 - type: reagent id: chem.K name: potassium desc: A soft, silvery-white metal. Even more reactive than lithium. color: "#c6c8cc" + meltingPoint: 65.5 + boilingPoint: 759.0 - type: reagent id: chem.Ra name: radium desc: A radioactive metal, silvery-white in it's pure form. It glows due to it's radioactivity and is highly toxic. color: "#00ff04" + meltingPoint: 700.0 + boilingPoint: 1737.0 - type: reagent id: chem.Na name: sodium desc: A silvery-white alkali metal. Highly reactive in it's pure form. color: "#c6c8cc" + meltingPoint: 97.8 + boilingPoint: 883.0 - type: reagent id: chem.U name: uranium desc: A silvery-white metallic chemical element in the actinide series, weakly radioactive. color: "#00ff06" + meltingPoint: 1133.0 + boilingPoint: 4131.0