From 7d07d62d35eb56410831510b173a5c68885bc8a7 Mon Sep 17 00:00:00 2001 From: Lily-129 <68935009+Lily-129@users.noreply.github.com> Date: Fri, 28 Jan 2022 10:40:07 -0500 Subject: [PATCH] new thingy --- mods/randomness_but_tick.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/mods/randomness_but_tick.js b/mods/randomness_but_tick.js index 96dff7d3..29f03b86 100644 --- a/mods/randomness_but_tick.js +++ b/mods/randomness_but_tick.js @@ -145,6 +145,23 @@ elements.globalwarmer = { hidden: true, }, +elements.agw = { //adjustable global warmer + color: "#66ff66", + tick: function(pixel) { + for (var i = 1; i < width; i++) { + for (var j = 1; j < height; j++) { + if (!isEmpty(i,j)) { + pixelMap[i][j].temp = pixel.temp + } + } + } + }, + category: "machines", + insulate: true, + state: "solid", + hidden: true, +}, + elements.sencc = { //same element neighbor count check color: "#000000", uwu: 0,