Create nocancer.js

This commit is contained in:
MollTheCoder 2022-12-17 21:28:12 -05:00 committed by GitHub
parent 737f48d092
commit 0cc0a80d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

9
mods/nocancer.js Normal file
View File

@ -0,0 +1,9 @@
elements.cancer.behavior = [
"XX|XX|XX",
"XX|DL|XX",
"XX|XX|XX"
]
elements.cancer.color = "#000000";
window.addEventListener("load", ()=>{
if(!settings.cheerful)document.getElementById("elementButton-cancer").remove();
})