periodic_and_more.js V 1.0.3: another fix

This commit is contained in:
Boxeled 2024-08-01 10:44:55 -05:00 committed by GitHub
parent 24c1afa4b3
commit 31c0f33d99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 7 deletions

View File

@ -7,7 +7,7 @@ elements.beryllium = {
state: "solid",
density: 720,
reactions: {
water: {elem1: "dirty_water"}
water: {elem1: "beryllium", elem2: "dirty_water"}
};
elements.galinstan = {
@ -37,7 +37,6 @@ behaviors.mud.tick = function(pixel) {
}
};
// Create a new tool:
elements.sand_exploder = {
color: "#ff0000",
tool: function(pixel) {
@ -56,17 +55,15 @@ elements.water.reactions.soap = { "elem1":null, "elem2":"soapy_water" }
// Run after all mods are loaded, for cross-mod compatibility
runAfterLoad(function() {
// Your code here
console.log("Hello World!");
});
if (enabledMods.includes["mods/chem.js", "mods/moreChemistry.js", "mods/metals.js", "mods/halogen.js", "mods/noblegas.js", "mods/radioactive.js", "mods/nousersthings.js"]) {
runAfterLoad(function() {
runAfterLoad(function() )
console.log("Hello World!");
});
}
// Creating eLists:
eLists.PERIODIC = ["beryllium", "scandium", "vanadium", "manganese", "cobalt"];
// Adding elements to
eLists.PERIODIC = ["beryllium", "scandium", "vanadium", "manganese", "cobalt"]