From 7caf16310aee2462420628d08ccebeaf1eaf1c2a Mon Sep 17 00:00:00 2001 From: O-01-67 <68935009+O-01-67@users.noreply.github.com> Date: Sun, 4 Sep 2022 16:49:30 -0400 Subject: [PATCH] Add files via upload --- mods/lone_urea.js | 69 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 mods/lone_urea.js diff --git a/mods/lone_urea.js b/mods/lone_urea.js new file mode 100644 index 00000000..7a743cd2 --- /dev/null +++ b/mods/lone_urea.js @@ -0,0 +1,69 @@ +//This mod is a subset of funny_liquid_2.js + +if(enabledMods.includes("mods/funny_liquid_2.js")) { + console.log("lone_urea.js is a subset of funny_liquid_2.js, and having the latter makes this mod redundant.") +}; + +elements.urea = { + color: "#fef7ee", //once again mapping UV absorbances to the visible range + //https://www.researchgate.net/publication/266458879 + //http://depts.washington.edu/cmditr/modules/lum/color.html + behavior: behaviors.POWDER, + state: "solid", + density: 1320, + tempHigh: 133, + category: "powders", +}, + +elements.molten_urea = { + tempHigh: 350, //https://pubs.acs.org/doi/pdf/10.1021/ie034052j + stateHigh: ["ammonia","vaporized_isocyanic_acid"], +}, + +elements.liquid_isocyanic_acid = { + color: "#ffe5f0", //now it's an IR spectrum + //https://www.researchgate.net/publication/231057584 + behavior: behaviors.LIQUID, + reactions: { + "water": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + "steam": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + "ice": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + }, + state: "liquid", + density: 1140, + tempHigh: 23, + stateHigh: "vaporized_isocyanic_acid", + tempLow: -86, + stateLow: "frozen_isocyanic_acid", + category: "liquids", +}, + +elements.frozen_isocyanic_acid = { + color: "#ffe5f0", + behavior: behaviors.WALL, + reactions: { + "water": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + "steam": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + "ice": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + }, + state: "solid", + density: 1267, + tempHigh: -86, + stateHigh: "liquid_isocyanic_acid", + category: "powders", +}, + +elements.vaporized_isocyanic_acid = { + color: "#ffe5f0", + behavior: behaviors.GAS, + reactions: { + "water": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + "steam": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + "ice": { "elem1": "carbon_dioxide", "elem2": "ammonia" }, + }, + state: "gas", + density: 1026, + tempLow: 23, + stateLow: "liquid_isocyanic_acid", + category: "gases", +} \ No newline at end of file