petal dye

yeah
This commit is contained in:
Suss 2025-07-21 10:26:02 +10:00 committed by GitHub
parent 032f4ce16b
commit cc66e8f68f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

8
mods/petal_dye.js Normal file
View File

@ -0,0 +1,8 @@
elements.water.reactions.petal = {
func: function(pixel1, pixel2) {
if (pixel1.temp > 64) {
deletePixel(pixel1.x, pixel1.y);
pixel2.element = "dye";
}
}
}