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