hide things that are in hidden category

This commit is contained in:
lllllllllwith10ls 2022-12-12 20:39:20 -06:00
parent b7fcd6b402
commit 7ce635aef1
1 changed files with 2 additions and 0 deletions

View File

@ -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,