Merge pull request #1047 from MicaelNotUsed/main
Update stainless_steel.js
This commit is contained in:
commit
e1a3c5e487
|
|
@ -35,3 +35,93 @@ elements.chrome = {
|
||||||
|
|
||||||
// obtaining chrome (makes stainless steel)
|
// obtaining chrome (makes stainless steel)
|
||||||
elements.molten_aluminum.reactions.chromite = { elem2:"chrome", tempMin:1000, tempMax:1200, chance:0.1 };
|
elements.molten_aluminum.reactions.chromite = { elem2:"chrome", tempMin:1000, tempMax:1200, chance:0.1 };
|
||||||
|
|
||||||
|
// bauxite (makes aluminum)
|
||||||
|
elements.bauxite = {
|
||||||
|
color: ["#c4ad9d","#996644"],
|
||||||
|
behavior: behaviors.WALL,
|
||||||
|
category: "solids",
|
||||||
|
state: "solid",
|
||||||
|
tempHigh: 2072,
|
||||||
|
breakInto: "crushed_bauxite",
|
||||||
|
};
|
||||||
|
|
||||||
|
// obtaining caustic soda
|
||||||
|
elements.salt_water.reactions.copper = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.0075 };
|
||||||
|
elements.salt_water.reactions.zinc = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.015 };
|
||||||
|
elements.salt_water.reactions.steel = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.0125 };
|
||||||
|
elements.salt_water.reactions.aluminum = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.0025 };
|
||||||
|
elements.salt_water.reactions.iron = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.0125 };
|
||||||
|
elements.salt_water.reactions.tin = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.1 };
|
||||||
|
elements.salt_water.reactions.brass = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.001 };
|
||||||
|
elements.salt_water.reactions.bronze = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.001 };
|
||||||
|
elements.salt_water.reactions.silver = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.0075 };
|
||||||
|
elements.salt_water.reactions.gold = { elem1:["hydrogen","hydrogen","oxygen","chlorine","caustic_soda"], charged:true, chance:0.0075 };
|
||||||
|
|
||||||
|
// soda lime
|
||||||
|
elements.soda_lime = {
|
||||||
|
color: "#dcdcdc",
|
||||||
|
behavior: behaviors.POWDER,
|
||||||
|
state: "solid",
|
||||||
|
category: "powders",
|
||||||
|
reactions: {
|
||||||
|
"crushed_bauxite": { elem1:"alumina", chance:50 }
|
||||||
|
},
|
||||||
|
alias: "calcium hydroxide",
|
||||||
|
};
|
||||||
|
|
||||||
|
// alumina
|
||||||
|
elements.alumina = {
|
||||||
|
color: "#c3d4c3",
|
||||||
|
behavior: behaviors.WALL,
|
||||||
|
state: "solid",
|
||||||
|
category: "solids",
|
||||||
|
tempHigh: 2072,
|
||||||
|
stateHigh: "molten_aluminum",
|
||||||
|
conduct: 1,
|
||||||
|
alias: "aluminum oxide",
|
||||||
|
};
|
||||||
|
|
||||||
|
// uh
|
||||||
|
elements.aluminum.alias = "aluminium";
|
||||||
|
|
||||||
|
// caustic soda
|
||||||
|
elements.caustic_soda = {
|
||||||
|
color: "#ececec",
|
||||||
|
behavior: behaviors.POWDER,
|
||||||
|
state: "solid",
|
||||||
|
category: "powders",
|
||||||
|
reactions: {
|
||||||
|
"quicklime": { elem1:"soda_lime" }
|
||||||
|
},
|
||||||
|
alias: "sodium hydroxide",
|
||||||
|
denisity: 3000,
|
||||||
|
tempHigh: 318,
|
||||||
|
};
|
||||||
|
|
||||||
|
// crushed bauxite (part of the process)
|
||||||
|
elements.crushed_bauxite = {
|
||||||
|
color: ["#a28e7b","#774422"],
|
||||||
|
behavior: behaviors.POWDER,
|
||||||
|
category: "powders",
|
||||||
|
};
|
||||||
|
|
||||||
|
// Alumina oxidizes.
|
||||||
|
elements.oxygen.reactions.alumina = { elem1:oxidized_alumina}
|
||||||
|
|
||||||
|
// Makes Chrome and Stainless Steel more expensive on survival.js
|
||||||
|
if (enabledMods.includes("mods/survival.js")) {
|
||||||
|
runAfterLoad(function() {
|
||||||
|
elementWorth.chrome = 2;
|
||||||
|
elementWorth.stainless_steel = 5;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
// Obtaining Bauxite (ores.js only)
|
||||||
|
if (enabledMods.includes("mods/ores.js")) {
|
||||||
|
runAfterLoad(function() {
|
||||||
|
eLists.oreSpawnConditions.bauxite = 0.38;
|
||||||
|
eLists.oreRgb.bauxite = "rgba(140, 109, 88, ";
|
||||||
|
eLists.idealOreHeight.bauxite = 0.2;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue