From 30df21c3b968e75a45b7af7343fe6b715183fe86 Mon Sep 17 00:00:00 2001 From: DoobieRalsei <163950752+DoobieRalsei@users.noreply.github.com> Date: Mon, 20 May 2024 13:37:55 -0700 Subject: [PATCH 1/2] Fixed dead plant charcoal bug --- mods/fossils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/fossils.js b/mods/fossils.js index 2661c3ce..b6d2024e 100644 --- a/mods/fossils.js +++ b/mods/fossils.js @@ -411,3 +411,4 @@ elements.algae.reactions.quicklime = { "elem1": ["oil","methane","methane","coal elements.algae.reactions.slaked_lime = { "elem1": ["oil","methane","methane","coal"], tempMin:280, chance:0.000025 }; delete elements.dirt.reactions.bone +delete elements.rock.reactions.dead_plant From 0ddefb1aea4c47cb6ba23dbc1fad363192d21962 Mon Sep 17 00:00:00 2001 From: redbirdly <155550833+redbirdly@users.noreply.github.com> Date: Tue, 21 May 2024 09:29:41 +0800 Subject: [PATCH 2/2] removed console.log spam --- mods/nicer_flame.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/nicer_flame.js b/mods/nicer_flame.js index 73a61b73..a988a719 100644 --- a/mods/nicer_flame.js +++ b/mods/nicer_flame.js @@ -4,7 +4,6 @@ let topColor = 'rgb(130, 0, 0)'; let blending = 0.7; function cssColorToRGB(color) { - console.log(color); let rgbMatch = color.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); return [parseInt(rgbMatch[1]), parseInt(rgbMatch[2]), parseInt(rgbMatch[3])]; } @@ -29,4 +28,4 @@ elements.fire.tick = function(pixel) { let originalColor = pixel.color; pixel.color = blendColors(originalColor, topColor, blending); } -}; \ No newline at end of file +};