minor changes

This commit is contained in:
Laetitia (O-01-67) 2023-02-27 17:11:08 -05:00 committed by GitHub
parent e7c48cad97
commit fa575894fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -43,12 +43,11 @@ function planetCrackerFinale(doColorChange=true) {
}; };
elements.planet_cracker = { elements.planet_cracker = {
color: ["#8f8f8f","3f3f3f"], color: "#ffc8ba",
behavior: behaviors.WALL, behavior: behaviors.WALL,
properties: { properties: {
active: true, active: true,
counter: 1, counter: 1,
changeTemp: true
}, },
tick: function(pixel) { tick: function(pixel) {
if(!pixel?.active) { if(!pixel?.active) {
@ -68,7 +67,7 @@ elements.planet_cracker = {
var finalRadius = Math.round(((1 + closenessToBottom) ** 2) * 6); var finalRadius = Math.round(((1 + closenessToBottom) ** 2) * 6);
if(typeof(explodeAtPlus) === "function") { 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 { } else {
explodeAt(pixel.x,pixel.y+pixel.counter,finalRadius,"plasma"); explodeAt(pixel.x,pixel.y+pixel.counter,finalRadius,"plasma");
}; };
@ -76,7 +75,7 @@ elements.planet_cracker = {
}; };
}, },
state: "solid", state: "solid",
density: 1000, density: 10000,
category: "weapons", category: "weapons",
hardness: 1, hardness: 1,
}; };