From e5589333d8dd90f0b2abfa257822261baccb7804 Mon Sep 17 00:00:00 2001 From: JustAGenericUsername <92590792+JustAGenericUsername@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:30:12 -0400 Subject: [PATCH] quicky fixy --- mods/heatglow.js | 6 ++---- mods/nousersthings.js | 7 +++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/mods/heatglow.js b/mods/heatglow.js index 8267a6fa..57863e1f 100644 --- a/mods/heatglow.js +++ b/mods/heatglow.js @@ -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; } } diff --git a/mods/nousersthings.js b/mods/nousersthings.js index bfc148d7..dc38e355 100644 --- a/mods/nousersthings.js +++ b/mods/nousersthings.js @@ -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