diff --git a/mod-list.html b/mod-list.html
index d9a16647..e2bc7bd2 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -450,7 +450,6 @@
| all_stain.js | Every element stains solids | stefanblox |
| betterMenuScreens.js | Library for mods to create their own menus | ggod |
| changePixelDebug.js | The changePixel() function aborts and logs to console when it tries to change to a non-existent element | Alice |
- | changeTempReactionParameter.js | The changeTemp property to modded reactions | Alice |
| code_library.js | Functions and variables common to some other mods | Alice |
| controllable_pixel_test.js | Pixel that can be controlled with the keyboard keys [More Info] [PC ONLY] | Alice |
| customexplosion.js | Custom explosion element and interface for it | Orchid |
@@ -488,6 +487,7 @@
| advanced_colonies.js | Davlers, creatures with complex colonies | DaviStudios |
| background_changer.js | Press 'B' to change canvas background to a URL | R74n |
| borders.js | Black borders around pixels (Use bright background) | R74n |
+ | changeTempReactionParameter.js | The changeTemp property to modded reactions | Alice |
| fast_lightmap.js | Light sources glow, but faster | RedBirdly |
| haseulite.js | Loona-related materials with various properties | Alice |
| humans.js | Humans. Now part of the base game | R74n |
diff --git a/mods/changeTempReactionParameter.js b/mods/changeTempReactionParameter.js
index 7ec37754..0492018e 100644
--- a/mods/changeTempReactionParameter.js
+++ b/mods/changeTempReactionParameter.js
@@ -1,3 +1,6 @@
+// This mod has been deprecated as of 2026-01-22.
+
+/*
function reactPixels(pixel1,pixel2) {
var r = elements[pixel1.element].reactions[pixel2.element];
if (r.setting && settings[r.setting]===0) {
@@ -71,3 +74,4 @@ function reactPixels(pixel1,pixel2) {
if (r.func) { r.func(pixel1,pixel2); }
return r.elem1!==undefined || r.elem2!==undefined;
}
+*/
\ No newline at end of file
diff --git a/mods/metals.js b/mods/metals.js
index 855fb790..dbabbe17 100644
--- a/mods/metals.js
+++ b/mods/metals.js
@@ -1,29 +1,27 @@
-function whenAvailable(names, callback) {
- var interval = 10; // ms
- window.setTimeout(function() {
- let bool = true;
- for(let i = 0; i < names.length; i++)
- {
- if(!window[names[i]])
- {
- bool = false;
- }
- }
- if (bool) {
- callback();
- } else {
- whenAvailable(names, callback);
- }
- }, interval);
-}
+// function whenAvailable(names, callback) {
+// var interval = 10; // ms
+// window.setTimeout(function() {
+// let bool = true;
+// for(let i = 0; i < names.length; i++)
+// {
+// if(!window[names[i]])
+// {
+// bool = false;
+// }
+// }
+// if (bool) {
+// callback();
+// } else {
+// whenAvailable(names, callback);
+// }
+// }, interval);
+// }
var modName = "mods/metals.js";
-var changeTempMod = "mods/changeTempReactionParameter.js";
-var runAfterAutogenMod = "mods/runAfterAutogen2.js";
+// var changeTempMod = "mods/changeTempReactionParameter.js";
+// var runAfterAutogenMod = "mods/runAfterAutogen2.js";
var libraryMod = "mods/code_library.js";
-var onTryMoveIntoMod = "mods/onTryMoveInto.js";
-if(enabledMods.includes(changeTempMod) && enabledMods.includes(runAfterAutogenMod) && enabledMods.includes(libraryMod) && enabledMods.includes(onTryMoveIntoMod)) {
- whenAvailable(["runAfterAutogen"], function() {
+dependOn("library_test.js", function(){
elements.iron.hardness = 0.74
//https://www.engineeringtoolbox.com/bhn-brinell-hardness-number-d_1365.html
//https://en.wikipedia.org/wiki/Hardnesses_of_the_elements_(data_page)
@@ -483,7 +481,7 @@ if(enabledMods.includes(changeTempMod) && enabledMods.includes(runAfterAutogenMo
properties: {
oldColor: null,
},
- onTryMoveInto: function(pixel,otherPixel) {
+ onMoveInto: function(pixel,otherPixel) {
neutronAbsorbency(pixel,otherPixel);
},
tick: function(pixel) {
@@ -500,7 +498,7 @@ if(enabledMods.includes(changeTempMod) && enabledMods.includes(runAfterAutogenMo
density: 5803,
tempHigh: 4409,
behavior: behaviors.MOLTEN,
- onTryMoveInto: function(pixel,otherPixel) {
+ onMoveInto: function(pixel,otherPixel) {
neutronAbsorbency(pixel,otherPixel);
},
tick: function(pixel) {
@@ -512,7 +510,7 @@ if(enabledMods.includes(changeTempMod) && enabledMods.includes(runAfterAutogenMo
elements.zirconium_gas = {
density: 3, //Unknown/Unmeasured value
behavior: behaviors.GAS,
- onTryMoveInto: function(pixel,otherPixel) {
+ onMoveInto: function(pixel,otherPixel) {
neutronAbsorbency(pixel,otherPixel);
},
tick: function(pixel) {
@@ -781,11 +779,4 @@ if(enabledMods.includes(changeTempMod) && enabledMods.includes(runAfterAutogenMo
conduct: 0.35,
hardness: 0.7, //idk lol
};
-});
-} else {
- if(!enabledMods.includes(changeTempMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,changeTempMod) };
- if(!enabledMods.includes(libraryMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,libraryMod) };
- if(!enabledMods.includes(onTryMoveIntoMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,onTryMoveIntoMod) };
- localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
- alert(`The "${changeTempMod}", "${runAfterAutogenMod}" and "${onTryMoveIntoMod}" mods are required; any missing mods in this list have been automatically inserted (reload for this to take effect).`);
-};
+},true)
\ No newline at end of file