From fcc5cc35ea4b94bd1a9f4c4cae6f4160c4c99096 Mon Sep 17 00:00:00 2001 From: Suss <167750109+therealsuss@users.noreply.github.com> Date: Wed, 23 Jul 2025 10:43:16 +1000 Subject: [PATCH] fix --- mods/petal_dye.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/mods/petal_dye.js b/mods/petal_dye.js index 38a06353..137032a3 100644 --- a/mods/petal_dye.js +++ b/mods/petal_dye.js @@ -6,3 +6,35 @@ elements.water.reactions.petal = { } } } +elements.salt_water.reactions.petal = { + func: function(pixel1, pixel2) { + if (pixel1.temp > 64) { + deletePixel(pixel1.x, pixel1.y); + pixel2.element = "dye"; + } + } +} +elements.sugar_water.reactions.petal = { + func: function(pixel1, pixel2) { + if (pixel1.temp > 64) { + deletePixel(pixel1.x, pixel1.y); + pixel2.element = "dye"; + } + } +} +elements.seltzer.reactions.petal = { + func: function(pixel1, pixel2) { + if (pixel1.temp > 64) { + deletePixel(pixel1.x, pixel1.y); + pixel2.element = "dye"; + } + } +} +elements.pool_water.reactions.petal = { + func: function(pixel1, pixel2) { + if (pixel1.temp > 64) { + deletePixel(pixel1.x, pixel1.y); + pixel2.element = "dye"; + } + } +}