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", state: "solid",
density: 720, density: 720,
reactions: { reactions: {
water: {elem1: "dirty_water"} water: {elem1: "beryllium", elem2: "dirty_water"}
}; };
elements.galinstan = { elements.galinstan = {
@ -37,7 +37,6 @@ behaviors.mud.tick = function(pixel) {
} }
}; };
// Create a new tool:
elements.sand_exploder = { elements.sand_exploder = {
color: "#ff0000", color: "#ff0000",
tool: function(pixel) { 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 // Run after all mods are loaded, for cross-mod compatibility
runAfterLoad(function() { runAfterLoad(function() {
// Your code here
console.log("Hello World!"); 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"]) { 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!"); console.log("Hello World!");
}); });
} }
// Creating eLists: // Creating eLists:
eLists.PERIODIC = ["beryllium", "scandium", "vanadium", "manganese", "cobalt"]; eLists.PERIODIC = ["beryllium", "scandium", "vanadium", "manganese", "cobalt"]
// Adding elements to