Merge pull request #76 from mrnoodleface/patch-4

fixed my screwed up brackets
This commit is contained in:
slweeb 2023-03-22 15:56:02 -04:00 committed by GitHub
commit 77eb271969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 13 deletions

View File

@ -1,5 +1,5 @@
elements.exploder = { elements.exploder = {
color: "#fa872f", color: "#ffffff",
tool: function(pixel) { tool: function(pixel) {
if (pixel.element == "sand") { if (pixel.element == "sand") {
pixel.element = "explosion" pixel.element = "explosion"
@ -9,21 +9,27 @@ elements.exploder = {
}; };
elements.radiator = { elements.radiator = {
color: "#248c1c", color: '#ffffff',
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