parent
032f4ce16b
commit
cc66e8f68f
|
|
@ -0,0 +1,8 @@
|
||||||
|
elements.water.reactions.petal = {
|
||||||
|
func: function(pixel1, pixel2) {
|
||||||
|
if (pixel1.temp > 64) {
|
||||||
|
deletePixel(pixel1.x, pixel1.y);
|
||||||
|
pixel2.element = "dye";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue