From 4dd883748e410397b10f296a46730edb081697f9 Mon Sep 17 00:00:00 2001 From: moss <146470829+electric-moss@users.noreply.github.com> Date: Thu, 30 May 2024 17:50:49 +0200 Subject: [PATCH] made freeze ray more official --- mods/mossstuff.js | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/mods/mossstuff.js b/mods/mossstuff.js index 72336bd3..fcd89e9e 100644 --- a/mods/mossstuff.js +++ b/mods/mossstuff.js @@ -1,37 +1,5 @@ - -elements.freeze_ray = { - color: ["#8cf9ff","#5c59ff"], - tick: function(pixel) { - var x = pixel.x; - for (var y = pixel.y; y < height; y++) { - if (outOfBounds(x, y)) { - break; - } - if (isEmpty(x, y)) { - if (Math.random() > 0.05) { continue } - createPixel("flash", x, y); - pixelMap[x][y].color = "#96b6ff"; - pixelMap[x][y].temp = -257; - } - else { - if (elements[pixelMap[x][y].element].isGas) { continue } - if (elements[pixelMap[x][y].element].id === elements.heat_ray.id) { break } - pixelMap[x][y].temp -= 100; - pixelTempCheck(pixelMap[x][y]); - break; - } - } - deletePixel(pixel.x, pixel.y); - }, - temp: -257, - category: "energy", - state: "gas", - excludeRandom: true, - noMix: true -}; - elements.devil_ray = { color: ["#ba0000","#8f0000"], tick: function(pixel) { @@ -2330,4 +2298,4 @@ elements.yogurt.reactions.currant = { elem1: "fruit_yogurt", elem2: null } /* uhhhh i just finished changing every color in the mod and now i have enough hex codes for a lifetime oh god i added like 2 million new fruits -*/ \ No newline at end of file +*/