From 5fe51f1558eaa9f7c37a95b42b1586f17b82ce23 Mon Sep 17 00:00:00 2001 From: "Laetitia (O-01-67)" <68935009+O-01-67@users.noreply.github.com> Date: Mon, 30 Jan 2023 12:26:55 -0500 Subject: [PATCH] categories stan stay c stan stay c stan stay c stan stay c stan stay c stan stay c stan stay c stan stay c stan stay c stan stay c stan stay c --- mods/switches.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mods/switches.js b/mods/switches.js index 46bf568f..e4e2e2d0 100644 --- a/mods/switches.js +++ b/mods/switches.js @@ -7,6 +7,7 @@ if(enabledMods.includes(noConductMod)) { color: "#7F3333", behavior: behaviors.WALL, noConduct: ["switch_on_control","switch_off_control"], + category: "machines", }; elements.switch_on = { @@ -15,6 +16,7 @@ if(enabledMods.includes(noConductMod)) { behavior: behaviors.WALL, conduct: 1, noConduct: ["switch_on_control","switch_off_control"], + category: "machines", }; elements.switch_off_control = { @@ -27,6 +29,7 @@ if(enabledMods.includes(noConductMod)) { ], conduct: 1, noConduct: ["switch_on","switch_off"], + category: "machines", }; elements.switch_on_control = { @@ -39,9 +42,10 @@ if(enabledMods.includes(noConductMod)) { ], conduct: 1, noConduct: ["switch_on","switch_off"], + category: "machines", }; } else { enabledMods.splice(enabledMods.indexOf(modName),0,noConductMod) alert(`The ${noConductMod} mod is required and has been automatically inserted (reload for this to take effect).`) localStorage.setItem("enabledMods", JSON.stringify(enabledMods)); -}; \ No newline at end of file +};