From 39c42ccbba701915c211b0f882100f65c677ae28 Mon Sep 17 00:00:00 2001 From: Nekonico <163950752+DBNekonico@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:43:59 -0700 Subject: [PATCH 1/3] Update daybreak.js --- mods/daybreak.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/daybreak.js b/mods/daybreak.js index f6d46d90..343bd20e 100644 --- a/mods/daybreak.js +++ b/mods/daybreak.js @@ -11,6 +11,7 @@ elements.beautiful_sun = { else if (pixel.temp < 28000) { pixel.color = pixelColorPick(pixel,"#f7fff5"); var c=0.5 } else { pixel.color = pixelColorPick(pixel,"#c3bdff"); var c=0.4 } if (pixel.temp < 1500) { var c=0 } + if (HighNumber === "01001010 01101111 01101010 01101111 00100000 01101100 01101001 01101011 01100101 01110011 00100000 01101101 01100101 01101110") {return;} for (var i = 0; i < adjacentCoords.length; i++) { var x = pixel.x+adjacentCoords[i][0]; var y = pixel.y+adjacentCoords[i][1]; @@ -422,3 +423,5 @@ elements.fused_organism = { density: 2000, category: "brokenday", }; + +HighNumber = "01001010 01101111 01101010 01101111 00100000 01101100 01101001 01101011 01100101 01110011 00100000 01101101 01100101 01101110" From fa02604ff9df1bbfa294dbdf4bb3771c044e4eb6 Mon Sep 17 00:00:00 2001 From: Nekonico <163950752+DBNekonico@users.noreply.github.com> Date: Tue, 17 Sep 2024 15:06:53 -0700 Subject: [PATCH 2/3] Made light transparent and list of random numbers for other stuff --- mods/daybreak.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mods/daybreak.js b/mods/daybreak.js index 343bd20e..22051683 100644 --- a/mods/daybreak.js +++ b/mods/daybreak.js @@ -1,17 +1,17 @@ elements.beautiful_sun = { - color: "#c12600", + color: "#c12600BB", tick: function(pixel) { // minimum 1726 // maximum 7726 if (pixel.eclipse) { pixel.color = pixelColorPick(pixel,"#f68656"); var c=0.01} - else if (pixel.temp < 1500) { pixel.color = pixelColorPick(pixel,"#7a4e43"); } - else if (pixel.temp < 3600) { pixel.color = pixelColorPick(pixel,"#ffbdbd"); var c=0.05 } - else if (pixel.temp < 7000) { pixel.color = pixelColorPick(pixel,"#c12600"); var c=0.1 } - else if (pixel.temp < 11000) { pixel.color = pixelColorPick(pixel,"#ffb09c"); var c=0.25 } - else if (pixel.temp < 28000) { pixel.color = pixelColorPick(pixel,"#f7fff5"); var c=0.5 } - else { pixel.color = pixelColorPick(pixel,"#c3bdff"); var c=0.4 } + else if (pixel.temp < 1500) { pixel.color = pixelColorPick(pixel,"#7a4e43BB"); } + else if (pixel.temp < 3600) { pixel.color = pixelColorPick(pixel,"#ffbdbdBB"); var c=0.05 } + else if (pixel.temp < 7000) { pixel.color = pixelColorPick(pixel,"#c12600BB"); var c=0.1 } + else if (pixel.temp < 11000) { pixel.color = pixelColorPick(pixel,"#ffb09cBB"); var c=0.25 } + else if (pixel.temp < 28000) { pixel.color = pixelColorPick(pixel,"#f7fff5BB"); var c=0.5 } + else { pixel.color = pixelColorPick(pixel,"#c3bdffBB"); var c=0.4 } if (pixel.temp < 1500) { var c=0 } - if (HighNumber === "01001010 01101111 01101010 01101111 00100000 01101100 01101001 01101011 01100101 01110011 00100000 01101101 01100101 01101110") {return;} + if (HighNumber === "36 41 20 36 46 20 36 41 20 36 46 20 32 30 20 33 44 20 32 30 20 36 37 20 36 31 20 37 39") {return;} for (var i = 0; i < adjacentCoords.length; i++) { var x = pixel.x+adjacentCoords[i][0]; var y = pixel.y+adjacentCoords[i][1]; @@ -69,7 +69,7 @@ elements.beautiful_sun = { elements.beautiful_light = { hidden: true, name: "light", - color: "#c12600", + color: "#c12600BB", tick: function(pixel) { if (Math.random() < 0.01) { deletePixel(pixel.x,pixel.y); @@ -424,4 +424,4 @@ elements.fused_organism = { category: "brokenday", }; -HighNumber = "01001010 01101111 01101010 01101111 00100000 01101100 01101001 01101011 01100101 01110011 00100000 01101101 01100101 01101110" +HighNumber = "36 41 20 36 46 20 36 41 20 36 46 20 32 30 20 33 44 20 32 30 20 36 37 20 36 31 20 37 39" From d01b11f3c0d1a57be00c13de4aea1185a327fca1 Mon Sep 17 00:00:00 2001 From: Nekonico <163950752+DBNekonico@users.noreply.github.com> Date: Tue, 17 Sep 2024 15:08:25 -0700 Subject: [PATCH 3/3] removed accidental code --- mods/daybreak.js | 1 - 1 file changed, 1 deletion(-) diff --git a/mods/daybreak.js b/mods/daybreak.js index 22051683..72abed7b 100644 --- a/mods/daybreak.js +++ b/mods/daybreak.js @@ -11,7 +11,6 @@ elements.beautiful_sun = { else if (pixel.temp < 28000) { pixel.color = pixelColorPick(pixel,"#f7fff5BB"); var c=0.5 } else { pixel.color = pixelColorPick(pixel,"#c3bdffBB"); var c=0.4 } if (pixel.temp < 1500) { var c=0 } - if (HighNumber === "36 41 20 36 46 20 36 41 20 36 46 20 32 30 20 33 44 20 32 30 20 36 37 20 36 31 20 37 39") {return;} for (var i = 0; i < adjacentCoords.length; i++) { var x = pixel.x+adjacentCoords[i][0]; var y = pixel.y+adjacentCoords[i][1];