From 4a78ddac88ee67148c0304e712eec5c5fab770f1 Mon Sep 17 00:00:00 2001 From: JustAGenericUsername <92590792+JustAGenericUsername@users.noreply.github.com> Date: Sun, 16 Jun 2024 10:04:20 -0400 Subject: [PATCH] strong pistons --- mods/heatglow.js | 2 +- mods/nousersthings.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/heatglow.js b/mods/heatglow.js index 2293bc77..f3805ca5 100644 --- a/mods/heatglow.js +++ b/mods/heatglow.js @@ -38,7 +38,7 @@ const heatfunc = function(pixel){ pixel.color = "rgb(" + weightedAverage(pixel.ogR, newR, weight) + "," + weightedAverage(pixel.ogG, newG, weight) + "," + weightedAverage(pixel.ogB, newB, weight) + ")"; }}}; 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"]) + 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"]) eLists.metals.forEach(metal => { const prefunc = elements[metal].tick; if (!prefunc){ diff --git a/mods/nousersthings.js b/mods/nousersthings.js index 2d3c2922..db810a70 100644 --- a/mods/nousersthings.js +++ b/mods/nousersthings.js @@ -3093,7 +3093,7 @@ elements.piston_ray_emitter = { var lx = lcoord[0]; var ly = lcoord[1]; if (!isEmpty(lx, ly, true)){ - tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1]) + tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1], null, true) } pCoord[0] = lx; pCoord[1] = ly; @@ -3153,7 +3153,7 @@ elements.specific_piston_ray_emitter = { var lx = lcoord[0]; var ly = lcoord[1]; if (!isEmpty(lx, ly, true)){ - tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1]) + tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1], null, true) } pCoord[0] = lx; pCoord[1] = ly;