From 5dc4c809bdf7a6ff4ef3a7409757b2a16dade1d9 Mon Sep 17 00:00:00 2001 From: tobycoding-html Date: Sun, 8 Jun 2025 14:34:20 -0500 Subject: [PATCH 1/4] This is a update of Reactor_Supplies.js --- mods/reactor_supplies_and_others.js | 88 +++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 mods/reactor_supplies_and_others.js diff --git a/mods/reactor_supplies_and_others.js b/mods/reactor_supplies_and_others.js new file mode 100644 index 00000000..fda4889a --- /dev/null +++ b/mods/reactor_supplies_and_others.js @@ -0,0 +1,88 @@ +elements.reactorwater = { + color: "#00FFCB", + behavior: behaviors.LIQUID, + category: "reactor_supplies", + state: "liquid", + density: 1050, + tempHigh:200, + tempLow:-40, + stateHigh: "Reactor_Water_Steam", + stateLow: "Reactor_Water_Ice", +}; + +elements.reactorcontainerbodyuser = { + color: "#676767", + behavior: behaviors.SOLID, + category: "reactor_supplies", + state: "solid", + tempHigh: 700, + tempLow: -200, + temp: 50, + stateHigh: "Molten_Reactor_Conatainer", + stateLow: "Frozen_Reactor_Container", +}; + +elements.moltenreactorcontainer = { + color: "#FF5000", + behavior: behaviors.LIQUID, + category: "reactor_supplies", + state: "liquid", + tempLow: 50, + temp: 700, + stateLow: "Reactor_Container_Body_User", +}; + +elements.frozenreactorcontainer = { + color: "#7FA0A8", + behavior: behaviors.SOLID, + category: "reactor_supplies", + state: "solid", + tempHigh: 50, + temp: -200, + stateHigh: "Reactor_Container_Body_User", +}; + +elements.reactorwatersteam = { + color: "#8CF193", + behavior: behaviors.GAS, + category: "reactor_supplies", + state: "gas", + tempLow: 150, + temp: 200, + stateLow: "Reactor_Water", +}; + +elements.reactorwaterice = { + color: "#BBF5E6", + behavior: behaviors.SOLID, + category: "reactor_supplies", + state: "solid", + tempHigh: 20, + stateHigh: "Reactor_Water", + temp: -40, +}; + +elements.thefuntool = { + color: "#FF0000", + category: "reactor_supplies", + tool: function(pixel) { + if (pixel.elemet == "reactorwater") { + pixel.element = "explosion"; + }; + if (pixel.element == "reactorwaterice") { + pixel.element = "explosion"; + }; + if (pixel.element == "reactorwatersteam") { + pixel.element = "explosion"; + }; + if (pixel.element == "moltenreactorcontainer") { + pixel.element = "explosion"; + }; + if (pixel.element == "frozenreactorcontainer") { + pixel.element = "explosion"; + }; + if (pixel.element == "reactorcontainerbodyuser") { + pixel.element = "explosion"; + }; + } +}; \ No newline at end of file From c616ceffcd883efe4b356000e108a77ba2d1c602 Mon Sep 17 00:00:00 2001 From: tobycoding-html Date: Sun, 8 Jun 2025 14:52:19 -0500 Subject: [PATCH 2/4] Add files via upload --- reactor_supplies_and_others.js | 88 ++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 reactor_supplies_and_others.js diff --git a/reactor_supplies_and_others.js b/reactor_supplies_and_others.js new file mode 100644 index 00000000..bdabb704 --- /dev/null +++ b/reactor_supplies_and_others.js @@ -0,0 +1,88 @@ +elements.reactor_water = { + color: "#00FFCB", + behavior: behaviors.LIQUID, + category: "reactor_supplies", + state: "liquid", + density: 1050, + tempHigh:200, + tempLow:-40, + stateHigh: "reactor_water_steam", + stateLow: "reactor_water_ice", +}; + +elements.reactor_container_body_user = { + color: "#676767", + behavior: behaviors.SOLID, + category: "reactor_supplies", + state: "solid", + tempHigh: 700, + tempLow: -200, + temp: 50, + stateHigh: "Molten_Reactor_Conatainer", + stateLow: "Frozen_Reactor_Container", +}; + +elements.molten_reactor_container = { + color: "#FF5000", + behavior: behaviors.LIQUID, + category: "reactor_supplies", + state: "liquid", + tempLow: 50, + temp: 700, + stateLow: "reactor_container_body_user", +}; + +elements.frozen_reactor_container = { + color: "#7FA0A8", + behavior: behaviors.SOLID, + category: "reactor_supplies", + state: "solid", + tempHigh: 50, + temp: -200, + stateHigh: "reactor_container_body_user", +}; + +elements.reactor_water_steam = { + color: "#8CF193", + behavior: behaviors.GAS, + category: "reactor_supplies", + state: "gas", + tempLow: 150, + temp: 200, + stateLow: "Reactor_Water", +}; + +elements.reactor_water_ice = { + color: "#BBF5E6", + behavior: behaviors.SOLID, + category: "reactor_supplies", + state: "solid", + tempHigh: 20, + stateHigh: "reactor_water", + temp: -40, +}; + +elements.the_fun_tool = { + color: "#FF0000", + category: "reactor_supplies", + tool: function(pixel) { + if (pixel.elemet == "reactor_water") { + pixel.element = "explosion"; + }; + if (pixel.element == "reactor_water_ice") { + pixel.element = "explosion"; + }; + if (pixel.element == "reactor_water_steam") { + pixel.element = "explosion"; + }; + if (pixel.element == "molten_reactor_container") { + pixel.element = "explosion"; + }; + if (pixel.element == "frozen_reactor_container") { + pixel.element = "explosion"; + }; + if (pixel.element == "reactor_container_body_user") { + pixel.element = "explosion"; + }; + } +}; \ No newline at end of file From f24becdd292699f991d39994200e654ffaf53136 Mon Sep 17 00:00:00 2001 From: tobycoding-html Date: Sun, 8 Jun 2025 14:54:27 -0500 Subject: [PATCH 3/4] Reactor_Supplies.js This is a addon to make reactors. --- mods/reactor_supplies_and_others.js | 36 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/mods/reactor_supplies_and_others.js b/mods/reactor_supplies_and_others.js index fda4889a..bdabb704 100644 --- a/mods/reactor_supplies_and_others.js +++ b/mods/reactor_supplies_and_others.js @@ -1,4 +1,4 @@ -elements.reactorwater = { +elements.reactor_water = { color: "#00FFCB", behavior: behaviors.LIQUID, category: "reactor_supplies", @@ -6,11 +6,11 @@ elements.reactorwater = { density: 1050, tempHigh:200, tempLow:-40, - stateHigh: "Reactor_Water_Steam", - stateLow: "Reactor_Water_Ice", + stateHigh: "reactor_water_steam", + stateLow: "reactor_water_ice", }; -elements.reactorcontainerbodyuser = { +elements.reactor_container_body_user = { color: "#676767", behavior: behaviors.SOLID, category: "reactor_supplies", @@ -22,27 +22,27 @@ elements.reactorcontainerbodyuser = { stateLow: "Frozen_Reactor_Container", }; -elements.moltenreactorcontainer = { +elements.molten_reactor_container = { color: "#FF5000", behavior: behaviors.LIQUID, category: "reactor_supplies", state: "liquid", tempLow: 50, temp: 700, - stateLow: "Reactor_Container_Body_User", + stateLow: "reactor_container_body_user", }; -elements.frozenreactorcontainer = { +elements.frozen_reactor_container = { color: "#7FA0A8", behavior: behaviors.SOLID, category: "reactor_supplies", state: "solid", tempHigh: 50, temp: -200, - stateHigh: "Reactor_Container_Body_User", + stateHigh: "reactor_container_body_user", }; -elements.reactorwatersteam = { +elements.reactor_water_steam = { color: "#8CF193", behavior: behaviors.GAS, category: "reactor_supplies", @@ -52,36 +52,36 @@ elements.reactorwatersteam = { stateLow: "Reactor_Water", }; -elements.reactorwaterice = { +elements.reactor_water_ice = { color: "#BBF5E6", behavior: behaviors.SOLID, category: "reactor_supplies", state: "solid", tempHigh: 20, - stateHigh: "Reactor_Water", + stateHigh: "reactor_water", temp: -40, }; -elements.thefuntool = { +elements.the_fun_tool = { color: "#FF0000", category: "reactor_supplies", tool: function(pixel) { - if (pixel.elemet == "reactorwater") { + if (pixel.elemet == "reactor_water") { pixel.element = "explosion"; }; - if (pixel.element == "reactorwaterice") { + if (pixel.element == "reactor_water_ice") { pixel.element = "explosion"; }; - if (pixel.element == "reactorwatersteam") { + if (pixel.element == "reactor_water_steam") { pixel.element = "explosion"; }; - if (pixel.element == "moltenreactorcontainer") { + if (pixel.element == "molten_reactor_container") { pixel.element = "explosion"; }; - if (pixel.element == "frozenreactorcontainer") { + if (pixel.element == "frozen_reactor_container") { pixel.element = "explosion"; }; - if (pixel.element == "reactorcontainerbodyuser") { + if (pixel.element == "reactor_container_body_user") { pixel.element = "explosion"; }; } From bd2c44def9f4801c23ced86e23cb6129dc8981dc Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Sun, 8 Jun 2025 16:03:55 -0400 Subject: [PATCH 4/4] Delete incorrect reactor_supplies_and_others.js --- reactor_supplies_and_others.js | 88 ---------------------------------- 1 file changed, 88 deletions(-) delete mode 100644 reactor_supplies_and_others.js diff --git a/reactor_supplies_and_others.js b/reactor_supplies_and_others.js deleted file mode 100644 index bdabb704..00000000 --- a/reactor_supplies_and_others.js +++ /dev/null @@ -1,88 +0,0 @@ -elements.reactor_water = { - color: "#00FFCB", - behavior: behaviors.LIQUID, - category: "reactor_supplies", - state: "liquid", - density: 1050, - tempHigh:200, - tempLow:-40, - stateHigh: "reactor_water_steam", - stateLow: "reactor_water_ice", -}; - -elements.reactor_container_body_user = { - color: "#676767", - behavior: behaviors.SOLID, - category: "reactor_supplies", - state: "solid", - tempHigh: 700, - tempLow: -200, - temp: 50, - stateHigh: "Molten_Reactor_Conatainer", - stateLow: "Frozen_Reactor_Container", -}; - -elements.molten_reactor_container = { - color: "#FF5000", - behavior: behaviors.LIQUID, - category: "reactor_supplies", - state: "liquid", - tempLow: 50, - temp: 700, - stateLow: "reactor_container_body_user", -}; - -elements.frozen_reactor_container = { - color: "#7FA0A8", - behavior: behaviors.SOLID, - category: "reactor_supplies", - state: "solid", - tempHigh: 50, - temp: -200, - stateHigh: "reactor_container_body_user", -}; - -elements.reactor_water_steam = { - color: "#8CF193", - behavior: behaviors.GAS, - category: "reactor_supplies", - state: "gas", - tempLow: 150, - temp: 200, - stateLow: "Reactor_Water", -}; - -elements.reactor_water_ice = { - color: "#BBF5E6", - behavior: behaviors.SOLID, - category: "reactor_supplies", - state: "solid", - tempHigh: 20, - stateHigh: "reactor_water", - temp: -40, -}; - -elements.the_fun_tool = { - color: "#FF0000", - category: "reactor_supplies", - tool: function(pixel) { - if (pixel.elemet == "reactor_water") { - pixel.element = "explosion"; - }; - if (pixel.element == "reactor_water_ice") { - pixel.element = "explosion"; - }; - if (pixel.element == "reactor_water_steam") { - pixel.element = "explosion"; - }; - if (pixel.element == "molten_reactor_container") { - pixel.element = "explosion"; - }; - if (pixel.element == "frozen_reactor_container") { - pixel.element = "explosion"; - }; - if (pixel.element == "reactor_container_body_user") { - pixel.element = "explosion"; - }; - } -}; \ No newline at end of file