quicky fixy

This commit is contained in:
JustAGenericUsername 2024-08-05 10:30:12 -04:00
parent 10e4742ab7
commit e5589333d8
2 changed files with 5 additions and 8 deletions

View File

@ -1,8 +1,6 @@
if (!settings.heatglowMode){settings.heatglowMode = 1; saveSettings();}
if (!eLists.metals) { eLists.metals = [] }
eLists.metals = eLists.metals.concat(["iron", "glass", "copper", "gold", "brass","steel","nickel","zinc","silver","aluminum","bronze","metal_scrap","oxidized_copper","tin","lead", "rose_gold", "tungsten"])
if (!eLists.heatBlacklist) {eLists.heatBlacklist = []}
eLists.heatBlacklist = eLists.heatBlacklist.concat(["void", "sun", "light", "plasma", "fire", "border", "heater", "superheater"])
eLists.heatBlacklist = eLists.heatBlacklist.concat(["void", "sun", "light", "plasma", "fire", "border", "heater", "superheater", "laser", "ray"])
function tempToRGB(temp){
if (temp <= 6500){
return{
@ -58,7 +56,7 @@ renderEachPixel(function(pixel,ctx) {
} else {
color = oldtempToRgb(pixel.temp, pixel)
opacity = color.opacity
if (!eLists.metals.includes(pixel.element)){
if (!((elements[pixel.element].tempHigh > 400 && elements[elements[pixel.element].stateHigh] && elements[elements[pixel.element].stateHigh].state === "liquid"))){
return;
}
}

View File

@ -3282,6 +3282,7 @@ elements.function_machine = {
excludeRandom: true,
}
*/
/*
elements.galvanized_steel = {
color: "#4c585f",
behavior: behaviors.WALL,
@ -3327,6 +3328,7 @@ if (!elements.steel.reactions){elements.steel.reactions = {}}
elements.steel.reactions.molten_zinc = {elem1: "galvanized_steel", chance: 0.035}
if (!elements.molten_zinc.reactions){elements.zinc.reactions = {}}
elements.molten_zinc.reactions.steel = {elem1: "null", chance: 0.2}
*/
elements.super_heat_conductor = {
color: "#b66b61",
behavior: behaviors.WALL,
@ -3483,15 +3485,12 @@ elements.colored_filler = {
properties: {
"initalized": false,
},
onSelect: function(pixel){
logMessage("It is reccomended to place this while paused.")
},
tick: function(pixel){
let fillerNeighbors = {}
for (var i = 0; i < adjacentCoords.length; i++) {
var x = pixel.x+adjacentCoords[i][0];
var y = pixel.y+adjacentCoords[i][1];
if (isEmpty(x,y)) {
if (isEmpty(x,y) && pixel.initalized) {
createPixel("colored_filler", x, y)
pixelMap[x][y].color = pixel.color;
pixelMap[x][y].initalized = true