From fa575894fc5a72c0f9754b93533dc781ff647b90 Mon Sep 17 00:00:00 2001 From: "Laetitia (O-01-67)" <68935009+O-01-67@users.noreply.github.com> Date: Mon, 27 Feb 2023 17:11:08 -0500 Subject: [PATCH] minor changes --- mods/planet_cracker.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mods/planet_cracker.js b/mods/planet_cracker.js index 20faaa03..4176ddde 100644 --- a/mods/planet_cracker.js +++ b/mods/planet_cracker.js @@ -43,12 +43,11 @@ function planetCrackerFinale(doColorChange=true) { }; elements.planet_cracker = { - color: ["#8f8f8f","3f3f3f"], + color: "#ffc8ba", behavior: behaviors.WALL, properties: { active: true, counter: 1, - changeTemp: true }, tick: function(pixel) { if(!pixel?.active) { @@ -68,7 +67,7 @@ elements.planet_cracker = { var finalRadius = Math.round(((1 + closenessToBottom) ** 2) * 6); if(typeof(explodeAtPlus) === "function") { - explodeAtPlus(pixel.x,pixel.y+pixel.counter,finalRadius,"plasma","fire",null,planetCrackerHeat,pixel.changeTemp); + explodeAtPlus(pixel.x,pixel.y+pixel.counter,finalRadius,"plasma","fire",null,planetCrackerHeat); } else { explodeAt(pixel.x,pixel.y+pixel.counter,finalRadius,"plasma"); }; @@ -76,7 +75,7 @@ elements.planet_cracker = { }; }, state: "solid", - density: 1000, + density: 10000, category: "weapons", hardness: 1, };