Skip to content

Commit

Permalink
Merge pull request #801 from DBNekonico/main
Browse files Browse the repository at this point in the history
a list of random numbers for future things
  • Loading branch information
slweeb authored Sep 19, 2024
2 parents 798b53b + d01b11f commit bc411ad
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions mods/daybreak.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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 }
for (var i = 0; i < adjacentCoords.length; i++) {
var x = pixel.x+adjacentCoords[i][0];
Expand Down Expand Up @@ -68,7 +68,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);
Expand Down Expand Up @@ -422,3 +422,5 @@ elements.fused_organism = {
density: 2000,
category: "brokenday",
};

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"

0 comments on commit bc411ad

Please sign in to comment.