From e33ad18faa8ee509da1c7a5704017a8a7638a0e3 Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Wed, 17 Dec 2025 12:10:53 -0500
Subject: [PATCH] Deprecate borders.js and background_changer.js
---
mod-list.html | 4 ++--
mods/background_changer.js | 8 +++++++-
mods/borders.js | 5 +++++
3 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/mod-list.html b/mod-list.html
index 506e778d..41dccf99 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -131,8 +131,6 @@
| Official |
| alchemy.js | Start with only 4 elements and unlock more by reacting them together (Most are not possible) | R74n |
-| background_changer.js | Press 'B' to change canvas background to a URL | R74n |
-| borders.js | Black borders around pixels (Use bright background) | R74n |
| building.js | Building generators and materials | R74n |
| classic_explosives.js | Re-adds 4 explosives removed in v1.9.3 | R74n |
| classic_textures.js | Use textures from early versions of the game | R74n |
@@ -492,6 +490,8 @@
| a_mod_by_alice.js | Combination of most of Alice's mods, and some other things | Alice |
| adjustablepixelsize.js | Set the pixelSize with a URL parameter | Alice |
| 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 |
| humans.js | Humans. Now part of the base game | R74n |
| invertscroll.js | Inverts the scroll wheel for adjusting brush size (now a setting) | SquareScreamYT |
| mobile_shift.js | Button for shift on mobile (Now in the base game) | SquareScreamYT |
diff --git a/mods/background_changer.js b/mods/background_changer.js
index 1a61fc1f..770a0ee8 100644
--- a/mods/background_changer.js
+++ b/mods/background_changer.js
@@ -1,3 +1,7 @@
+// This mod has been deprecated in favor of the base game's Background setting.
+
+/*
+
function setCanvasBG(url, color) {
delete settings.bg;
@@ -50,4 +54,6 @@ runAfterReset(() => {
if (settings.bgimg) {
setCanvasBG(settings.bgimg, settings.bgimgcolor)
}
-})
\ No newline at end of file
+})
+
+*/
\ No newline at end of file
diff --git a/mods/borders.js b/mods/borders.js
index 443dc844..8ebd7256 100644
--- a/mods/borders.js
+++ b/mods/borders.js
@@ -1,3 +1,7 @@
+// This mod has been deprecated in favor of the base game's Outline View.
+
+/*
+
let isMachine = {"machines":true}
elements.static.border = false;
@@ -69,3 +73,4 @@ window.addEventListener("load", () => {
})
+*/
\ No newline at end of file