histrelin state setting method causes bugs

fix
This commit is contained in:
O-01-67 2022-06-14 11:03:36 -04:00 committed by GitHub
parent 65b9187911
commit 9f61dcaab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -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"
});