Merge pull request #71 from mrnoodleface/patch-1

Create cool_tools.js
This commit is contained in:
slweeb 2023-03-21 17:28:55 -04:00 committed by GitHub
commit beeb4c8ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
mods/cool_tools.js Normal file
View File

@ -0,0 +1,29 @@
elements.exploder = {
color: "#fa872f",
tool: function(pixel) {
if (pixel.element == "sand") {
pixel.element = "explosion"
}
},
category: "tools",
elements.radiator = {
color: "#248c1c",
tool: function(pixel) {
if (pixel.element == "null") {
pixel.element == "radiation"
}
if (pixel.element == "cloud") {
pixel.element = "rad_cloud"
}
if (pixel.element == "cell") {
pixel.element = "cancer"
}
if (pixel.element == "steam" {
pixel.element = "rad_steam
}
},
category: "tools",
//im aware that theres more radiation stuf than this