the yes
This commit is contained in:
parent
5bd18acbc5
commit
37bb37f271
|
|
@ -189,6 +189,7 @@
|
||||||
<tr><td>Neutronium Mod.js</td><td>Variety of scientific elements<br>Explosions</td><td>StellarX20</td></tr>
|
<tr><td>Neutronium Mod.js</td><td>Variety of scientific elements<br>Explosions</td><td>StellarX20</td></tr>
|
||||||
<tr><td>neutronium_compressor.js</td><td>Adds a compressor (in reference to Minecraft’s Avaritia mod) that compresses 10,000 pixels of an element into a “singularity”</td><td>Alice</td></tr>
|
<tr><td>neutronium_compressor.js</td><td>Adds a compressor (in reference to Minecraft’s Avaritia mod) that compresses 10,000 pixels of an element into a “singularity”</td><td>Alice</td></tr>
|
||||||
<tr><td>noblegas.js</td><td>Adds the missing noble gases</td><td>nousernamefound</td></tr>
|
<tr><td>noblegas.js</td><td>Adds the missing noble gases</td><td>nousernamefound</td></tr>
|
||||||
|
<tr><td>nousersthings.js</td><td>Adds many chemical elements, compounds, and more</td><td>nousernamefound</td></tr>
|
||||||
<tr><td>radioactive.js</td><td>Adds every radioactive elements on the periodic table (WIP)</td><td>kaeud</td></tr>
|
<tr><td>radioactive.js</td><td>Adds every radioactive elements on the periodic table (WIP)</td><td>kaeud</td></tr>
|
||||||
<tr><td>random_rocks.js</td><td>Randomly generates rocks on game load</td><td>Alice</td></tr>
|
<tr><td>random_rocks.js</td><td>Randomly generates rocks on game load</td><td>Alice</td></tr>
|
||||||
<tr><td>roseyiede.js</td><td>Adds several variants of a substance called roseyiede</td><td>Alice</td></tr>
|
<tr><td>roseyiede.js</td><td>Adds several variants of a substance called roseyiede</td><td>Alice</td></tr>
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ elements.astatine = {
|
||||||
elements.molten_astatine = {
|
elements.molten_astatine = {
|
||||||
color: ["#cdaf42", "#d09a2c", "#d38419", "#d66b10", "#d84e13"],
|
color: ["#cdaf42", "#d09a2c", "#d38419", "#d66b10", "#d84e13"],
|
||||||
behavior: behaviors.RADMOLTEN,
|
behavior: behaviors.RADMOLTEN,
|
||||||
state: "solid",
|
state: "liquid",
|
||||||
tempHigh: 337,
|
tempHigh: 337,
|
||||||
stateHigh: "astatine_gas",
|
stateHigh: "astatine_gas",
|
||||||
stateLow: "astatine",
|
stateLow: "astatine",
|
||||||
|
|
|
||||||
|
|
@ -2967,7 +2967,51 @@ elements.insulated_wire = {
|
||||||
if (!isEmpty(x,y,true)) {
|
if (!isEmpty(x,y,true)) {
|
||||||
var newPixel = pixelMap[x][y];
|
var newPixel = pixelMap[x][y];
|
||||||
var con = newPixel.element;
|
var con = newPixel.element;
|
||||||
if (con == "insulated_wire") {
|
if (con == "insulated_wire" || con == "wire_bridge") {
|
||||||
|
if (1 == 1) { // If random number is less than conductivity
|
||||||
|
if (!newPixel.charge && !newPixel.chargeCD) {
|
||||||
|
newPixel.charge = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
pixel.charge -= 0.25;
|
||||||
|
if (pixel.charge <= 0) {
|
||||||
|
delete pixel.charge;
|
||||||
|
// pixel.chargeCD = 4;
|
||||||
|
pixel.chargeCD = Math.round(4 + (4*(1-elements[pixel.element].conduct))) || 4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Lower charge cooldown
|
||||||
|
else if (pixel.chargeCD) {
|
||||||
|
pixel.chargeCD -= 1;
|
||||||
|
if (pixel.chargeCD <= 0) {
|
||||||
|
delete pixel.chargeCD;
|
||||||
|
if (elements[pixel.element].colorOn) {
|
||||||
|
pixel.color = pixelColorPick(pixel);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
doHeat(pixel)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elements.wire_bridge = {
|
||||||
|
color: "#461716",
|
||||||
|
category: "machines",
|
||||||
|
conduct: 1,
|
||||||
|
tick: function(pixel){
|
||||||
|
{
|
||||||
|
if (pixel.charge) {
|
||||||
|
// Check each adjacent pixel, if that pixel's charge is false, set it to the same charge
|
||||||
|
for (var i = 0; i < adjacentCoords.length; i++) {
|
||||||
|
var x = pixel.x+adjacentCoords[i][0];
|
||||||
|
var y = pixel.y+adjacentCoords[i][1];
|
||||||
|
if (!isEmpty(x,y,true)) {
|
||||||
|
var newPixel = pixelMap[x][y];
|
||||||
|
var con = newPixel.element;
|
||||||
|
if (con == "insulated_wire" || con == "wire" || con == "wire_bridge") {
|
||||||
if (1 == 1) { // If random number is less than conductivity
|
if (1 == 1) { // If random number is less than conductivity
|
||||||
if (!newPixel.charge && !newPixel.chargeCD) {
|
if (!newPixel.charge && !newPixel.chargeCD) {
|
||||||
newPixel.charge = 1;
|
newPixel.charge = 1;
|
||||||
|
|
@ -3119,3 +3163,77 @@ elements.specific_piston_ray_emitter = {
|
||||||
},
|
},
|
||||||
insulate: true,
|
insulate: true,
|
||||||
}
|
}
|
||||||
|
if (!elements.molten_gallium.reactions){elements.gallium.reactions = {}}
|
||||||
|
elements.molten_gallium.reactions.nitrogen = {elem1: "gallium_nitride", elem2: null, chance: 0.02, tempMin: 1200}
|
||||||
|
elements.gallium_nitride = {
|
||||||
|
color: "#dedf9d",
|
||||||
|
behavior: behaviors.WALL,
|
||||||
|
colorOn: "#493ee9",
|
||||||
|
category: "solids",
|
||||||
|
tempHigh: 1650,
|
||||||
|
density: 6100,
|
||||||
|
stateHigh: "molten_gallium_nitride",
|
||||||
|
state: "solid",
|
||||||
|
conduct: 0.84,
|
||||||
|
tick: function(pixel){
|
||||||
|
if (pixel.charge){
|
||||||
|
for (var i = 0; i < adjacentCoords.length; i++) {
|
||||||
|
var coord = squareCoords[i];
|
||||||
|
var x = pixel.x+coord[0];
|
||||||
|
var y = pixel.y+coord[1];
|
||||||
|
if (isEmpty(x,y, true)){
|
||||||
|
if (Math.random() < 0.3){
|
||||||
|
createPixel("light", x, y)
|
||||||
|
pixelMap[x][y].color = pixelColorPick(pixelMap[x][y], "#493ee9")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elements.molten_gallium_nitride = {
|
||||||
|
color: ["#d29d70", "#cf8e5e", "#cd7e4e", "#ca6d40", "#c75b33"],
|
||||||
|
behavior: behaviors.MOLTEN,
|
||||||
|
category: "states",
|
||||||
|
hidden: true,
|
||||||
|
state: "liquid",
|
||||||
|
tempLow: 1640,
|
||||||
|
stateLow: "gallium_nitride",
|
||||||
|
density: 6050,
|
||||||
|
}
|
||||||
|
elements.gallium_phosphide = {
|
||||||
|
color: "#be6008",
|
||||||
|
behavior: behaviors.WALL,
|
||||||
|
colorOn: "#00ff15",
|
||||||
|
category: "solids",
|
||||||
|
tempHigh: 1457,
|
||||||
|
density: 4138,
|
||||||
|
stateHigh: "molten_gallium_phosphide",
|
||||||
|
state: "solid",
|
||||||
|
conduct: 0.84,
|
||||||
|
tick: function(pixel){
|
||||||
|
if (pixel.charge){
|
||||||
|
for (var i = 0; i < adjacentCoords.length; i++) {
|
||||||
|
var coord = squareCoords[i];
|
||||||
|
var x = pixel.x+coord[0];
|
||||||
|
var y = pixel.y+coord[1];
|
||||||
|
if (isEmpty(x,y, true)){
|
||||||
|
if (Math.random() < 0.3){
|
||||||
|
createPixel("light", x, y)
|
||||||
|
pixelMap[x][y].color = pixelColorPick(pixelMap[x][y], "#00ff15")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elements.molten_gallium_phosphide = {
|
||||||
|
color: ["#a36936", "#cf8e5e", "#9b4c1c", "#ca6d40", "#a13d19"],
|
||||||
|
behavior: behaviors.MOLTEN,
|
||||||
|
category: "states",
|
||||||
|
hidden: true,
|
||||||
|
state: "liquid",
|
||||||
|
tempLow: 1447,
|
||||||
|
stateLow: "gallium_phosphide",
|
||||||
|
density: 4100,
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue