v1.9.4.1
[Version 1.9.4.1 - April 8, 2024 - Eclipse Special]
+ Attempting to place Rock Wall on top of Sun begins a solar eclipse
+ Sun can draw over Light pixels
This commit is contained in:
parent
1cf82591e2
commit
6698153f14
|
|
@ -109,6 +109,12 @@
|
||||||
<p>The original <a href="https://sandboxels.r74n.com/changelog.txt">plain text version</a> of this is still maintained.</p>
|
<p>The original <a href="https://sandboxels.r74n.com/changelog.txt">plain text version</a> of this is still maintained.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h2 id="1.9.4.1">[Version 1.9.4.1 - April 8, 2024 - Eclipse Special]</h2>
|
||||||
|
<ul>
|
||||||
|
<li>+ Attempting to place Rock Wall on top of Sun begins a solar eclipse</li>
|
||||||
|
<li>+ Sun can draw over Light pixels</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h2 id="1.9.4">[Version 1.9.4 - March 17, 2024 - Natural Disasters]</h2>
|
<h2 id="1.9.4">[Version 1.9.4 - March 17, 2024 - Natural Disasters]</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>+ Tornado</li>
|
<li>+ Tornado</li>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,10 @@ See sneak peaks for upcoming updates on the Discord: https://discord.gg/ejUc6YPQ
|
||||||
|
|
||||||
A fancier version of this changelog can be found here: https://sandboxels.R74n.com/changelog
|
A fancier version of this changelog can be found here: https://sandboxels.R74n.com/changelog
|
||||||
|
|
||||||
|
[Version 1.9.4.1 - April 8, 2024 - Eclipse Special]
|
||||||
|
+ Attempting to place Rock Wall on top of Sun begins a solar eclipse
|
||||||
|
+ Sun can draw over Light pixels
|
||||||
|
|
||||||
[Version 1.9.4 - March 17, 2024 - Natural Disasters]
|
[Version 1.9.4 - March 17, 2024 - Natural Disasters]
|
||||||
+ Tornado
|
+ Tornado
|
||||||
+ Earthquake
|
+ Earthquake
|
||||||
|
|
|
||||||
37
index.html
37
index.html
|
|
@ -48,7 +48,7 @@
|
||||||
<meta name="twitter:creator:id" content="1436857621827530753">
|
<meta name="twitter:creator:id" content="1436857621827530753">
|
||||||
|
|
||||||
<script> // versioning info
|
<script> // versioning info
|
||||||
currentversion = "1.9.4";
|
currentversion = "1.9.4.1";
|
||||||
saveVersion = 2;
|
saveVersion = 2;
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|
@ -1159,6 +1159,17 @@
|
||||||
"rock_wall": {
|
"rock_wall": {
|
||||||
color: ["#666666","#363636","#7a7a7a"],
|
color: ["#666666","#363636","#7a7a7a"],
|
||||||
behavior: behaviors.WALL,
|
behavior: behaviors.WALL,
|
||||||
|
tool: function(pixel) {
|
||||||
|
if (pixel.element === "sun") {
|
||||||
|
pixel.eclipse = true;
|
||||||
|
if (Math.random() < 0.1) {
|
||||||
|
changePixel(pixel,"rock_wall");
|
||||||
|
pixel.temp = 20;
|
||||||
|
pixel.color = pixelColorPick(pixel,"#301B16")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
canPlace: true,
|
||||||
tempHigh: 950,
|
tempHigh: 950,
|
||||||
stateHigh: "magma",
|
stateHigh: "magma",
|
||||||
category: "land",
|
category: "land",
|
||||||
|
|
@ -2177,7 +2188,8 @@
|
||||||
tick: function(pixel) {
|
tick: function(pixel) {
|
||||||
// minimum 1726
|
// minimum 1726
|
||||||
// maximum 7726
|
// maximum 7726
|
||||||
if (pixel.temp < 1500) { pixel.color = pixelColorPick(pixel,"#7a4e43"); var c=0 }
|
if (pixel.eclipse) { pixel.color = pixelColorPick(pixel,"#FD8C03"); var c=0.01}
|
||||||
|
else if (pixel.temp < 1500) { pixel.color = pixelColorPick(pixel,"#7a4e43"); var c=0 }
|
||||||
else if (pixel.temp < 3600) { pixel.color = pixelColorPick(pixel,"#ffbdbd"); var c=0.015 }
|
else if (pixel.temp < 3600) { pixel.color = pixelColorPick(pixel,"#ffbdbd"); var c=0.015 }
|
||||||
else if (pixel.temp < 5000) { pixel.color = pixelColorPick(pixel,"#ffd5bd"); var c=0.025 }
|
else if (pixel.temp < 5000) { pixel.color = pixelColorPick(pixel,"#ffd5bd"); var c=0.025 }
|
||||||
else if (pixel.temp < 7000) { pixel.color = pixelColorPick(pixel,"#ffffbd"); var c=0.05 }
|
else if (pixel.temp < 7000) { pixel.color = pixelColorPick(pixel,"#ffffbd"); var c=0.05 }
|
||||||
|
|
@ -2194,16 +2206,25 @@
|
||||||
}
|
}
|
||||||
else if (!outOfBounds(x,y)) {
|
else if (!outOfBounds(x,y)) {
|
||||||
var newPixel = pixelMap[x][y];
|
var newPixel = pixelMap[x][y];
|
||||||
if (pixel.temp!==newPixel.temp && elements[newPixel.element].id === elements.sun.id) {
|
if (elements[newPixel.element].id === elements.sun.id) {
|
||||||
var avg = (pixel.temp + newPixel.temp)/2;
|
if (pixel.eclipse) { newPixel.eclipse = true }
|
||||||
pixel.temp = avg;
|
if (pixel.temp!==newPixel.temp) {
|
||||||
newPixel.temp = avg;
|
var avg = (pixel.temp + newPixel.temp)/2;
|
||||||
pixelTempCheck(pixel);
|
pixel.temp = avg;
|
||||||
pixelTempCheck(newPixel);
|
newPixel.temp = avg;
|
||||||
|
pixelTempCheck(pixel);
|
||||||
|
pixelTempCheck(newPixel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
tool: function(pixel) {
|
||||||
|
if (pixel.element === "light") {
|
||||||
|
deletePixel(pixel.x,pixel.y);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
canPlace: true,
|
||||||
reactions: {
|
reactions: {
|
||||||
"hydrogen": { elem2:"helium", temp1:5 },
|
"hydrogen": { elem2:"helium", temp1:5 },
|
||||||
"helium": { elem2:"carbon_dioxide", temp1:5, tempMax:3600 },
|
"helium": { elem2:"carbon_dioxide", temp1:5, tempMax:3600 },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue