From 7ce635aef1448c025fae9ad9c0acb61300d2e330 Mon Sep 17 00:00:00 2001 From: lllllllllwith10ls <38187754+lllllllllwith10ls@users.noreply.github.com> Date: Mon, 12 Dec 2022 20:39:20 -0600 Subject: [PATCH] hide things that are in hidden category --- mods/chem.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/chem.js b/mods/chem.js index 17375dfc..506bd6c8 100644 --- a/mods/chem.js +++ b/mods/chem.js @@ -383,6 +383,7 @@ function createAcid(name,reactions, gasReactions, color, colorGas, category, cat ignore: elements.acid.ignore.concat(ignoreAcid), reactions: reactions, category: category, + hidden: categoryGas === "hidden", tempHigh: tempHigh, stateHigh: name + "_gas", tempLow: tempLow, @@ -401,6 +402,7 @@ function createAcid(name,reactions, gasReactions, color, colorGas, category, cat ignore: elements.acid_gas.ignore.concat(ignoreAcid), reactions: gasReactions, category: categoryGas, + hidden: categoryGas === "hidden", tempHigh: tempHighGas, stateHigh: "fire", tempLow: tempLowGas,