unhide.js mod

This commit is contained in:
slweeb 2022-02-02 17:37:49 -05:00
parent f4a1ed00d5
commit 97370fb5ec
1 changed files with 10 additions and 0 deletions

10
mods/unhide.js Normal file
View File

@ -0,0 +1,10 @@
// This mod unhides all elements besides molten ones.
runAfterLoad(function() {
// Loop through every item in the elements object, if it has a hidden property, delete it.
for (var elem in elements) {
if (elements[elem].hidden) {
delete elements[elem].hidden;
}
}
});