disable head panic debugging
This commit is contained in:
parent
dbb20138be
commit
e7373476a7
|
|
@ -257,11 +257,11 @@ if(enabledMods.includes(onTryMoveIntoMod)) {
|
||||||
};
|
};
|
||||||
elements.head.tick = function(pixel) {
|
elements.head.tick = function(pixel) {
|
||||||
//debugging: display panic through color and temp
|
//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 spookyColor = Math.min(pixel.panic,1) * 255;
|
||||||
var spookyColor2 = 255 - Math.max(pixel.panic-1, 0);
|
var spookyColor2 = 255 - Math.max(pixel.panic-1, 0);
|
||||||
pixel.color = `rgb(${spookyColor},${spookyColor2},0)`;
|
pixel.color = `rgb(${spookyColor},${spookyColor2},0)`;*/
|
||||||
//doHeat(pixel);
|
doHeat(pixel);
|
||||||
doBurning(pixel);
|
doBurning(pixel);
|
||||||
doElectricity(pixel);
|
doElectricity(pixel);
|
||||||
if (pixel.dead) {
|
if (pixel.dead) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue