From 9f61dcaab3a55033e417c11ef7eba2e99e820e93 Mon Sep 17 00:00:00 2001 From: O-01-67 <68935009+O-01-67@users.noreply.github.com> Date: Tue, 14 Jun 2022 11:03:36 -0400 Subject: [PATCH] histrelin state setting method causes bugs fix --- mods/randomness.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mods/randomness.js b/mods/randomness.js index bc02149f..633bde1f 100644 --- a/mods/randomness.js +++ b/mods/randomness.js @@ -534,10 +534,11 @@ elements.histrelin = { category: "solids", density: 1500, //https://www.chemicalbook.com/ProductMSDSDetailCB7457827_EN.htm tempHigh: 1800, //https://www.chemsrc.com/en/cas/76712-82-8_1042020.html + stateHigh: "vaporized_histrelin", category: "powders", }, -elements.molten_histrelin = { +elements.vaporized_histrelin = { color: ["#ffbf60","#ffdc60","#ff9d60"], behavior: behaviors.GAS, state: "gas", @@ -969,8 +970,4 @@ runAfterLoad(function() { hidden: true, } } - elements.vaporized_histrelin = elements.molten_histrelin - delete elements.molten_histrelin - elements.histrelin.stateHigh = "vaporized_histrelin" - elements.vaporized_histrelin.stateLow = "histrelin" });