fixed my screwed up brackets

This commit is contained in:
mrnoodleface 2023-03-22 15:14:27 -04:00 committed by GitHub
parent 72b65cac1a
commit d83b56fded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 16 deletions

View File

@ -9,21 +9,30 @@ elements.exploder = {
};
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",
color: '#248c1c',
tool: function (pixel) {
if (pixel.element == 'cloud') {
pixel.element = 'rad_cloud';
}
if (pixel.element == 'cell') {
pixel.element = 'cancer';
}
if (pixel.element == 'steam') {
pixel.element = 'rad_steam';
}
if (pixel.element == 'dust') {
pixel.element = 'fallout';
}
if (pixel.element == 'explosion') {
pixel.element = 'n_explosion';
}
if (pixel.element == 'null') {
pixel.element = 'radiation';
}
},
category: 'tools',
};
//im aware that theres more radiation stuf than this