technetium

This commit is contained in:
JustAGenericUsername 2024-03-29 11:13:40 -04:00
parent 04275e025d
commit 3baf5efd97
1 changed files with 54 additions and 11 deletions

View File

@ -72,13 +72,46 @@ elements.subzero_grass = {
stateHigh: "dead_plant", stateHigh: "dead_plant",
density:1400 density:1400
}, },
elements.ruthenium = {
color: ["#ffffff","#c9c9c9","#b1b1b1","#9e9e9e","#888888"],
behavior: behaviors.STURDYPOWDER,
category: "powders",
state: "liquid",
tempHigh: 2334,
stateHigh: "molten_ruthenium",
density: 12370,
}
elements.molten_ruthenium = {
color: ["#ffc251", "#dd562c", "#e9a423", "#d8722e"],
behavior: behaviors.MOLTEN,
category: "states",
state: "liquid",
hidden: true,
density: 10650,
tempLow: 2330,
stateLow: "ruthenium"
}
elements.acid.ignore.push("ruthenium"),
elements.acid.ignore.push("molten_ruthenium"),
elements.acid_gas.ignore.push("ruthenium"),
elements.acid_gas.ignore.push("molten_ruthenium")
elements.technetium = { elements.technetium = {
color: ["#e7d9bb", "#bab195", "#8f8a70", "#66654e"], color: ["#e7d9bb", "#bab195", "#8f8a70", "#66654e"],
behavior: [ behavior: behaviors.WALL,
"XX|XX|XX", tick: function(pixel){
"XX|CH:neutron%0.07|XX", if(Math.random() < 0.0007){
"XX|XX|XX", for (var i = 0; i < squareCoords.length; i++) {
], var coord = squareCoords[i];
var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (isEmpty(x, y)){
createPixel("positron", x, y)
break;
}
}
changePixel(pixel, "ruthenium", false);
}
},
category: "solids", category: "solids",
state: "solid", state: "solid",
tempHigh: 2157, tempHigh: 2157,
@ -88,14 +121,24 @@ elements.technetium = {
}, },
elements.molten_technetium = { elements.molten_technetium = {
color: ["#d16b42", "#da904c", "#dfb360", "#e2d57f"], color: ["#d16b42", "#da904c", "#dfb360", "#e2d57f"],
behavior: behaviors.LIQUID, behavior: behaviors.MOLTEN,
tick: function(pixel) { tick: function(pixel){
if (Math.random() < 0.0007) { if(Math.random() < 0.0007){
changePixel(pixel, "neutron", false); for (var i = 0; i < squareCoords.length; i++) {
} var coord = squareCoords[i];
}, var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (isEmpty(x, y)){
createPixel("positron", x, y)
break;
}
}
changePixel(pixel, "ruthenium", false);
}
},
category: "states", category: "states",
state: "liquid", state: "liquid",
hidden: true,
tempLow: 2140, tempLow: 2140,
temp: 2200, temp: 2200,
stateLow: "technetium", stateLow: "technetium",