sandboxels/mods/petal_dye.js

41 lines
913 B
JavaScript
Raw Normal View History

2025-07-20 20:26:02 -04:00
elements.water.reactions.petal = {
func: function(pixel1, pixel2) {
if (pixel1.temp > 64) {
deletePixel(pixel1.x, pixel1.y);
pixel2.element = "dye";
}
}
}
2025-07-22 20:43:16 -04:00
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";
}
}
}