Update aChefsDream.js

This commit is contained in:
SquareScreamYT 2024-04-05 08:19:49 +08:00 committed by GitHub
parent 8eadf300d7
commit d17940e187
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -7099,12 +7099,14 @@ elements.food_coloring = {
pixelMap[x][y].color = `rgb(${parseInt(newrgb2.r)},${parseInt(newrgb2.g)},${parseInt(newrgb2.b)})`;
if (Math.random() < 0.002) {
deletePixel(pixel.x,pixel.y)
break
}
}
}
}
}
}
doDefaults(pixel)
},
onSelect: function () {
logMessage("Tip: You can spread food coloring using water.");