disable head panic debugging

This commit is contained in:
O-01-67 2022-10-08 17:55:20 -04:00 committed by GitHub
parent dbb20138be
commit e7373476a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -257,11 +257,11 @@ if(enabledMods.includes(onTryMoveIntoMod)) {
};
elements.head.tick = function(pixel) {
//debugging: display panic through color and temp
pixel.temp = (pixel.panic * 100);
/*pixel.temp = (pixel.panic * 100);
var spookyColor = Math.min(pixel.panic,1) * 255;
var spookyColor2 = 255 - Math.max(pixel.panic-1, 0);
pixel.color = `rgb(${spookyColor},${spookyColor2},0)`;
//doHeat(pixel);
pixel.color = `rgb(${spookyColor},${spookyColor2},0)`;*/
doHeat(pixel);
doBurning(pixel);
doElectricity(pixel);
if (pixel.dead) {