From f2d2ec023345183dc4c06ac0523cc59dc9dd5a2e Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 01:06:44 -0400
Subject: [PATCH 01/22] Update mod-list.html
---
mod-list.html | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/mod-list.html b/mod-list.html
index fed60b74..f454de11 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -225,18 +225,19 @@
Food & Cooking
aChefsDream.js Adds more foods, animals, tools and many other cooking related items. Updates can be found in this YouTube Playlist SquareScreamYT
aChefsDream_beta.js Beta testing for aChefsDream. The code can be found on GitHub SquareScreamYT
-bananas.js Adds bananas and banana plants Alice
+bananas.js Adds bananas and banana plants Alice '
+CherrySoda.js Adds materials to make Cherry soda. Benzaldehyde + seltzer = Cherrysoda. guzzo86
community_desserts.js Adds various desserts from community suggestions Tisquares
+GrapeSoda.js Adds materials to make Grape soda. Methylanthranilate + seltzer = Grapesoda. guzzo86
greenitemsandmore.js Adds various green things, including apples and more food zonneschijn7
ketchup_mod.js Adds a bunch of ketchup related stuff, plus a few other condiments Nubo318 (main dev), Devi, Alice (contributors)
lemonade.js Adds lemons and lemonade personman / baconthemyth
morefoodsmod.js Adds more foods Clide4
pizzasstuff.js New animals, foods, and plants _ilikepizza_
+potato_chips.js Potato chips. guzzo86
sbstuff.js Adds many foods stefanblox
soups.js Adds seasoning and soup pixelegend4
weAllScreamFor.js Adds ice cream toppings rottenEgghead
-CherrySoda.js Adds materials to make Cherry soda. Benzaldehyde + seltzer = Cherrysoda. guzzo86
-GrapeSoda.js Adds materials to make Grape soda. Methylanthranilate + seltzer = Grapesoda. guzzo86
Life & Nature
advanced_colonies.js Adds davlers, creatures with complex colonies DaviStudios
From 63c011b3916932a23b87599c878e48c01c2f0289 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 01:08:05 -0400
Subject: [PATCH 02/22] Create potato_chips.js
---
mods/potato_chips.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mods/potato_chips.js b/mods/potato_chips.js
index e0de48f1..816ad59b 100644
--- a/mods/potato_chips.js
+++ b/mods/potato_chips.js
@@ -4,7 +4,7 @@ elements.potato_chip = {
density: 1350,
color: ["#F7DD93", "#D8A44B"],
category: "food",
- desc: "Potato chip. Turns potato next to it into potato chip if temp is >= 104.",
+ desc: "Potato chip. Turns potato next to it into potato chip if temp is >= 104 - 180.",
tick: function(pixel) {
if(pixelTicks - pixel.start >= 15) {
From 4af97a7201f158edaf92c8f5146cf7c2099f39cd Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 01:14:55 -0400
Subject: [PATCH 03/22] Update CherrySoda.js
---
mods/CherrySoda.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mods/CherrySoda.js b/mods/CherrySoda.js
index 98475765..2561b7e7 100644
--- a/mods/CherrySoda.js
+++ b/mods/CherrySoda.js
@@ -65,7 +65,7 @@ elements.cherrysoda_gas = {
temp: 169,
}
elements.cherrysoda_ice = {
- color: "BF4F9C",
+ color: "#BF4F9C",
behavior: behaviors.wALL,
category: "solids",
state: "solid",
From 329b7f61f8de86724869b065dd988394db88fc39 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 16:52:44 -0400
Subject: [PATCH 04/22] Update GrapeSoda.js
---
mods/GrapeSoda.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mods/GrapeSoda.js b/mods/GrapeSoda.js
index 5716aeac..1d67b1db 100644
--- a/mods/GrapeSoda.js
+++ b/mods/GrapeSoda.js
@@ -45,7 +45,6 @@ elements.anthranilicacid = {
tempLow: -98,
burn: 100,
burnTime: 100,
- burnInto: "carbondioxide"
}
elements.methanolice = {
@@ -68,6 +67,8 @@ elements.anthranilicacid = {
stateLow: "methanol",
tempLow: 64,
temp: 84,
+ burn: 100,
+ burnTime: 100,
}
elements.methylanthranilate = {
color: "#FFFBBA",
From 403ebbb15cfbdc24ee1092b5f2819f5890458b62 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 18:16:36 -0400
Subject: [PATCH 05/22] Create customtemptools.js
---
mods/customtemptools.js | 50 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 mods/customtemptools.js
diff --git a/mods/customtemptools.js b/mods/customtemptools.js
new file mode 100644
index 00000000..00dbcb8f
--- /dev/null
+++ b/mods/customtemptools.js
@@ -0,0 +1,50 @@
+var ct = 100
+
+elements.customtemp = {
+ color: ["#FF0000", "#FF6600", "#FFCC00", "#FFFF00", "#CCFF00", "#66FF00", "#00FF00", "#00FF66", "#00FFCC", "#00FFFF"],
+ onSelect: function() {
+ var answer4 = parseInt(prompt("Please input the desired temperature to reach.",(ct||undefined)));
+ if (!answer4) { return }
+ ct = answer4;
+ if (isNaN(answer4)) {
+ ct = 100
+ }
+ },
+ tool: function(pixel) {
+ pixel.temp = ct,
+ pixelTempCheck(pixel)
+ },
+ category: "tools",
+};
+elements.customheat = {
+ color: ["#FF0000", "#FFFFFF", "#FF0000"],
+ onSelect: function() {
+ var answer4 = parseInt(prompt("Please input the desired temperature increase per tick. (In celsius)",(ct|undefined)));
+ if (!answer4) { return }
+ ct = answer4;
+ if (isNaN(answer4)) {
+ ct = 100
+ }
+ },
+ tool: function(pixel) {
+ pixel.temp = pixel.temp + ct,
+ pixelTempCheck(pixel)
+ },
+ category: "tools",
+};
+elements.customcool = {
+ color: ["#0000FF", "#FFFFFF", "#0000FF"],
+ onSelect: function() {
+ var answer4 = parseInt(prompt("Please input the desired temperature decrease per tick. (In celsius)",(cc|undefined)));
+ if (!answer4) { return }
+ ct = answer4;
+ if (isNaN(answer4)) {
+ ct = 100
+ }
+ },
+ tool: function(pixel) {
+ pixel.temp = pixel.temp - ct,
+ pixelTempCheck(pixel)
+ },
+ category: "tools",
+};
From 6b6290401d3ae69dc2f03b4c0dc657f0c20f0b83 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 18:18:15 -0400
Subject: [PATCH 06/22] Update mod-list.html
---
mod-list.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/mod-list.html b/mod-list.html
index f454de11..41780ac0 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -127,6 +127,7 @@
color_tools.js Adds tools that manipulate colors Alice
controllable_pixel_test.js Adds a pixel that can be controlled with the keyboard keys. Read the commit description for more info. [PC ONLY] Alice
cpt_alt.js Adds a more destructive variant of the controllable pixel Alice
+customtemptools.js Adds custom input temp tools. guzzo86
debugRework.js Revamps the Debug tool Fioushemastor
delete_all_of_element.js Adds a tool that deletes every pixel of the element(s) the user clicks on Alice
descriptions.js Adds descriptions to the info page and tooltips of elements mollthecoder
From 5b381748f7724891162a18555236d0840f2b0c97 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 18:25:44 -0400
Subject: [PATCH 07/22] Update customtemptools.js
---
mods/customtemptools.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mods/customtemptools.js b/mods/customtemptools.js
index 00dbcb8f..62c8b239 100644
--- a/mods/customtemptools.js
+++ b/mods/customtemptools.js
@@ -19,7 +19,7 @@ elements.customtemp = {
elements.customheat = {
color: ["#FF0000", "#FFFFFF", "#FF0000"],
onSelect: function() {
- var answer4 = parseInt(prompt("Please input the desired temperature increase per tick. (In celsius)",(ct|undefined)));
+ var answer4 = parseInt(prompt("Please input the desired temperature increase per tick. (In celsius)",(ct||undefined)));
if (!answer4) { return }
ct = answer4;
if (isNaN(answer4)) {
@@ -35,7 +35,7 @@ elements.customheat = {
elements.customcool = {
color: ["#0000FF", "#FFFFFF", "#0000FF"],
onSelect: function() {
- var answer4 = parseInt(prompt("Please input the desired temperature decrease per tick. (In celsius)",(cc|undefined)));
+ var answer4 = parseInt(prompt("Please input the desired temperature decrease per tick. (In celsius)",(ct||undefined)));
if (!answer4) { return }
ct = answer4;
if (isNaN(answer4)) {
From 165053097161e67de3d8f10adce0ddeacc4e0bfb Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 18:28:17 -0400
Subject: [PATCH 08/22] Update potato_chips.js
---
mods/potato_chips.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mods/potato_chips.js b/mods/potato_chips.js
index 816ad59b..c1beeb75 100644
--- a/mods/potato_chips.js
+++ b/mods/potato_chips.js
@@ -7,7 +7,7 @@ elements.potato_chip = {
desc: "Potato chip. Turns potato next to it into potato chip if temp is >= 104 - 180.",
tick: function(pixel) {
- if(pixelTicks - pixel.start >= 15) {
+ if(pixelTicks - pixel.start >= 10) {
if (!isEmpty(pixel.x, pixel.y - 1, true)) {
if (pixel.temp >= 104 && pixelMap[pixel.x][pixel.y - 1].element === "potato") {
changePixel(pixelMap[pixel.x][pixel.y - 1], "potato_chip");
From efe36412dce9862360c2b184f752ab0ea500b8f3 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Thu, 2 May 2024 21:45:40 -0400
Subject: [PATCH 09/22] Update mod-list.html
---
mod-list.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/mod-list.html b/mod-list.html
index 41780ac0..c6a76044 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -199,6 +199,7 @@
fine_tuned_cloner.js Adds a cloner that can spawn at different rates and prevent unwated cloning BatteRaquette58
flipflop.js Toggleable switches; Explanation Flix
gameOfLife.js Conway's Game of Life on a screen ggod
+fuel_generators.js Adds diesel and gasoline powered generators guzzo86, nousernamefound/td>
logicgates.js Adds predictable electricity and logic gates nousernamefound
note_block.js Adds musical Note Blocks Alice
nousersthings.js Destroyable machines, pipe variants, filters, and more nousernamefound
From 6c89141f7b2d580ee91a79c065b77316fc41bc80 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Fri, 3 May 2024 07:31:58 -0400
Subject: [PATCH 10/22] Update mod-list.html
---
mod-list.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mod-list.html b/mod-list.html
index c6a76044..81b7e719 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -199,7 +199,7 @@
fine_tuned_cloner.js Adds a cloner that can spawn at different rates and prevent unwated cloning BatteRaquette58
flipflop.js Toggleable switches; Explanation Flix
gameOfLife.js Conway's Game of Life on a screen ggod
-fuel_generators.js Adds diesel and gasoline powered generators guzzo86, nousernamefound/td>
+fuel_generators.js Adds diesel and gasoline powered generators guzzo86
logicgates.js Adds predictable electricity and logic gates nousernamefound
note_block.js Adds musical Note Blocks Alice
nousersthings.js Destroyable machines, pipe variants, filters, and more nousernamefound
From e5403e8ebcd40a0aa30303ee2345291ed5d5f6d6 Mon Sep 17 00:00:00 2001
From: JustAGenericUsername
<92590792+JustAGenericUsername@users.noreply.github.com>
Date: Fri, 3 May 2024 18:01:02 -0400
Subject: [PATCH 11/22] heat fix
---
mods/heatglow.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mods/heatglow.js b/mods/heatglow.js
index 8c8dabc0..2293bc77 100644
--- a/mods/heatglow.js
+++ b/mods/heatglow.js
@@ -3,7 +3,7 @@ function weightedAverage(num1, num2, weight){
}
const heatfunc = function(pixel){
if (pixel.element != "metal_scrap" || eLists.metals.includes(pixel.scrapType) || !pixel.scrapType){{
- if (pixel.ogR == null || pixel.ogG == null || pixel.ogB == null || (pixel.element != pixel.ogElement && pixel.element == "metal_scrap") || (pixel.element != "metal_scrap" && pixel.ogElement == "metal_scrap")){
+ if (pixel.ogR == null || pixel.ogG == null || pixel.ogB == null || (pixel.element != pixel.ogElement && pixel.element == "metal_scrap") || (pixel.element != "metal_scrap" && pixel.ogElement == "metal_scrap") || (pixel.element == "oxidized_copper" && pixel.ogElement == "copper")){
pixel.ogR = parseInt(pixel.color.slice(4, pixel.color.indexOf(',')), 10)
pixel.ogG = parseInt(pixel.color.slice(pixel.color.indexOf(',') + 1, pixel.color.lastIndexOf(',')), 10)
pixel.ogB = parseInt(pixel.color.slice(pixel.color.lastIndexOf(',') + 1, -1), 10)
From f4b3b5d26cfb4ca450b5760607bea04d58e8a1d8 Mon Sep 17 00:00:00 2001
From: CarbonMonoxida <164758530+CarbonMonoxida@users.noreply.github.com>
Date: Sat, 4 May 2024 19:26:37 +0700
Subject: [PATCH 12/22] Update mod-list.html
change aScientistsWish main Programmer from CPU into Sobble
---
mod-list.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mod-list.html b/mod-list.html
index fed60b74..93a4b128 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -156,7 +156,7 @@
Science & Chemistry
alcohol.js Adds methanol, (iso-)propanol, and butanol Alice
alkahest.js Adds the alkahest, a liquid which dissolves anything Alice
-aScientistsWish.js Adds things that related to science, especially radiation Carbon Monoxide, CPU
+aScientistsWish.js Adds things that related to science, especially radiation Carbon Monoxide, Sobble
bettermetalscrap.js Allows metal scrap to be melted back into its original material nousernamefound
bigger_star_spawners.js Adds spawners for larger stars Alice
bioooze_and_pyrogens.js Adds Bio-Ooze from Frackin’ Universe and several heat-producing materials from various games’ mods Alice
From b382f4b237f398f2d057427a325fd03fb77bf803 Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Sat, 4 May 2024 17:58:57 -0400
Subject: [PATCH 13/22] hotfix
---
index.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/index.html b/index.html
index 3f8dcae8..61314622 100644
--- a/index.html
+++ b/index.html
@@ -16244,7 +16244,7 @@ Cancer, Landmine, Grenade, Smoke Grenade">? Infinite Chef
- Email us at contact@R74n.com for advertising, help, or education!
+ Email us at contact@R74n.com for advertising, help, or education!
Be notified when Sandboxels and other R74n projects are updated, along with ramblings from the developer!
@@ -16285,7 +16285,7 @@ Cancer, Landmine, Grenade, Smoke Grenade">? applications in education. With a hands-on experience, it can give students an understanding of emerging phenomena in many fields, such as biology, chemistry, ecology, geology, cooking, and even virology. There are countless aspects to discover.
We have a thriving community on Discord ! There you can post feedback or share your creations.
- Business inquiries? Education stories? Help needed? Email us at contact@R74n.com !
+ Business inquiries? Education stories? Help needed? Email us at contact@R74n.com !
More links: Help • Tips • Mods • Mobile • Offline • Privacy
Thanks to: Serioustar, ggod, Midi_png, personman, fnl4y, PitsPower, swagg boi, kaeud, WeiChei, Trent, u2ce
Translation by R74n
From b38b85ead8fcdd1e3b12e1506d9cae0a61293494 Mon Sep 17 00:00:00 2001
From: ludus530 <163735402+ludus530@users.noreply.github.com>
Date: Sun, 5 May 2024 09:35:22 +0200
Subject: [PATCH 14/22] cash_n_more.js
adds cash and paper
---
mods/cash_n_more.js | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 mods/cash_n_more.js
diff --git a/mods/cash_n_more.js b/mods/cash_n_more.js
new file mode 100644
index 00000000..ffe5dd21
--- /dev/null
+++ b/mods/cash_n_more.js
@@ -0,0 +1,37 @@
+elements.cash = {
+ color: "#00e600",
+ behavior: behaviors.POWDER,
+ category: "powders",
+};
+
+elements.paper = {
+ color: "#ffffff",
+ behavior: behaviors.SOLID,
+ category: "solids",
+};
+
+elements.shredded_paper = {
+ color: "#ffffff",
+ behavior: behaviors.POWDER,
+ category: "powders",
+};
+
+elements.shredded_cash = {
+ color: "#004d00",
+ behavior: behaviors.POWDER,
+ category: "powders",
+};
+
+elements.shredder = {
+ color: "#08b508",
+ behavior: behaviors.SOLID,
+ tool: function(pixel) {
+ if (pixel.element == "cash") {
+ pixel.element = "shredded_cash"
+ },
+ if (pixel.element == "paper") {
+ pixel.element = "shredded_money"
+ }
+ },
+ category: "tools",
+};
From a3adf44dbe36fb6b4e3a1b744f5f5407d27a776d Mon Sep 17 00:00:00 2001
From: ludus530 <163735402+ludus530@users.noreply.github.com>
Date: Sun, 5 May 2024 12:57:30 +0200
Subject: [PATCH 15/22] cash_n_more.js
added sponges
---
mods/cash_n_more.js | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/mods/cash_n_more.js b/mods/cash_n_more.js
index ffe5dd21..e267a8f7 100644
--- a/mods/cash_n_more.js
+++ b/mods/cash_n_more.js
@@ -4,6 +4,27 @@ elements.cash = {
category: "powders",
};
+delete elements.paper;
+delete elements.sponge;
+
+elements.sponge = {
+ color: "#ffff1a",
+ behavior: behaviors.SOLID,
+ category: "solids",
+ tool: function(pixel) {
+ if (pixel.element == "water") {
+ pixel.element = "wet_sponge"
+ }
+ },
+};
+
+elements.wet_sponge = {
+ color: "#cccc00",
+ behavior: behaviors.SOLID,
+ category: "solids",
+};
+
+
elements.paper = {
color: "#ffffff",
behavior: behaviors.SOLID,
From 25477dd8618d2823939899707f1cf54144a86be0 Mon Sep 17 00:00:00 2001
From: JustAGenericUsername
<92590792+JustAGenericUsername@users.noreply.github.com>
Date: Sun, 5 May 2024 15:49:10 -0400
Subject: [PATCH 16/22] texturepack.js
---
mods/10kelements.js | 8 ++++
mods/texturepack.js | 94 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
create mode 100644 mods/texturepack.js
diff --git a/mods/10kelements.js b/mods/10kelements.js
index 957d4088..711a4ea6 100644
--- a/mods/10kelements.js
+++ b/mods/10kelements.js
@@ -74,6 +74,14 @@ if (Math.abs(settings.randomcount) == settings.randomcount){
}else(elements["element_"+i].desc += (" or " + reaction))
}
}
+ for (var reaction in elements["element_" + i].reactions){
+ if (elements[elements["element_"+i].reactions[reaction].elem1].category == "tools" || elements[elements["element_"+i].reactions[reaction].elem2].category == "tools"){
+ console.log(i + " makes a tool...? when it touches " + reaction)
+ if (!elements["element_"+i].desc){
+ elements["element_" + i].desc = "This breaks the laws of physics if it touches " + reaction
+ }else(elements["element_"+i].desc += (" or " + reaction))
+ }
+ }
}
} else {
for (var i = 1; i <= settings.randomcount; i++){
diff --git a/mods/texturepack.js b/mods/texturepack.js
new file mode 100644
index 00000000..fdb9de06
--- /dev/null
+++ b/mods/texturepack.js
@@ -0,0 +1,94 @@
+if (!settings.texturepack){
+ settings.texturepack = {}
+ saveSettings()
+}
+elements.clear_textures = {
+ color: "#dd0000",
+ onSelect: function(){
+ var sure = prompt("Are you sure you wanna reset all texture data? Type \"yes\". Also, refresh once you've done this for the changes to apply!", "no");
+ if (sure == "yes"){
+ settings.texturepack = {}
+ saveSettings()
+ }
+ },
+ canPlace: false,
+ category: "texture tools"
+}
+var addSave = null
+elements.add_texture = {
+ color: elements.rainbow.color,
+ category: "texture tools",
+ canPlace: false,
+ onSelect: function(){
+ var whoelement = prompt("What element would you like to change the texture of? Type no if this was a mistake.", (addSave||"no"))
+ if (whoelement != "no"){
+ addSave = whoelement
+ var replacehm = prompt("Would you like to overwrite all textures or add? 1 for overwrite, 2 for add.", 2)
+ var colortodo = prompt("Hex code, please! Also, refresh once you've done this for the changes to apply!", "#ff0000")
+ if (replacehm == 1){
+ if (!replacehm || !colortodo){return}
+ if (!settings.texturepack[whoelement]){settings.texturepack[whoelement] = []}
+ settings.texturepack[whoelement] = [colortodo]
+ elements[whoelement].color = settings.texturepack[whoelement]
+ saveSettings()
+ } else {
+ if (!replacehm || !colortodo){return}
+ if (!settings.texturepack[whoelement]){settings.texturepack[whoelement] = []}
+ settings.texturepack[whoelement].push(colortodo)
+ elements[whoelement].color = settings.texturepack[whoelement]
+ saveSettings()
+ }
+ }
+ }
+}
+elements.remove_a_texture = {
+ color: elements.void.color,
+ category: "texture tools",
+ canPlace: false,
+ onSelect: function(){
+ var whoelement = prompt("What element would you like to change the texture of? Type no if this was a mistake.", "no")
+ if (whoelement != "no"){
+ var replacehm = prompt("Would you like to delete all textures of the element or just one? Type 1 for all, 2 for just one.", 2)
+ var colortodo = prompt(("Ignore this if you chose 1. Index of the color you wanna delete. For reference, here are the current colors:" + settings.texturepack[whoelement]), 0)
+ if (replacehm == 1){
+ delete settings.texturepack[whoelement]
+ saveSettings()
+ } else {
+ delete settings.texturepack[whoelement][colortodo]
+ elements[whoelement].color = settings.texturepack[whoelement]
+ saveSettings()
+ }
+ }
+ }
+}
+elements.list_all_textures = {
+ color: elements.mix.color,
+ category: "texture tools",
+ canPlace: false,
+ onSelect: function(){
+ var whoelement = prompt("What element would you like to see the textures of?")
+ alert(whoelement + " has the following textures: " + settings.texturepack[whoelement])
+ }
+}
+elements.texture_pack_share_or_load = {
+ color: elements.image.color,
+ category: "texture tools",
+ canPlace: false,
+ onSelect: function(){
+ var whichSL = prompt("Would you like to copy the texture pack to your clipboard or load it from your clipboard? Type 1 for copy, 2 for load.", 1)
+ if (whichSL == 1){
+ var text = JSON.stringify(settings.texturepack)
+ alert(text)
+ } else {
+ var text = prompt("Paste your texture pack here. It should be in the format of a JSON object.")
+ if (text){
+ settings.texturepack = JSON.parse(text)
+ saveSettings()
+ }
+ }
+ }
+}
+if (settings.texturepack){
+for (var elementi in settings.texturepack){
+ elements[elementi].color = settings.texturepack[elementi]
+}}
\ No newline at end of file
From e3709bfc09c439423dfd2a823084a76fdaf450a3 Mon Sep 17 00:00:00 2001
From: GGod <46885632+GGodPL@users.noreply.github.com>
Date: Sun, 5 May 2024 22:05:28 +0200
Subject: [PATCH 17/22] Create colorLED.js
---
mods/colorLED.js | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 mods/colorLED.js
diff --git a/mods/colorLED.js b/mods/colorLED.js
new file mode 100644
index 00000000..ec3a4622
--- /dev/null
+++ b/mods/colorLED.js
@@ -0,0 +1,38 @@
+elements.led = {
+ behavior: behaviors.WALL,
+ reactions: {
+ "light": {"charge1":1},
+ "liquid_light": {"charge1":1},
+ },
+ color: "#666666",
+ colorOn: "#ffffff",
+ category: "machines",
+ tempHigh: 1500,
+ stateHigh: ["molten_glass","molten_glass","molten_glass","molten_gallium"],
+ conduct: 1,
+ breakInto: "glass_shard",
+ tick: (pixel) => {
+ if (pixel.start == pixelTicks) {
+ pixel.normalColor = pixel.color;
+ pixel.chargeColor = `rgb(${pixel.color.replace(/[rgb\(\)]/g, "").split(",").map(a => parseInt(a.trim()) + 120).join(", ")})`;
+ }
+ if (pixel.color != pixel.normalColor && !pixel.charge && !pixel.chargeCD) {
+ pixel.normalColor = pixel.color;
+ pixel.chargeColor = `rgb(${pixel.color.replace(/[rgb\(\)]/g, "").split(",").map(a => parseInt(a.trim()) + 120).join(", ")})`;
+ }
+ if (pixel.charge) {
+ pixel.color = pixel.chargeColor;
+ } else {
+ pixel.color = pixel.normalColor;
+ }
+ }
+}
+
+pixelColorPick = (function() {
+ const oldPixelColorPick = pixelColorPick;
+
+ return function(pixel, customColor = null) {
+ if (pixel.element == "led" && pixel.color && !customColor) return pixel.color;
+ return oldPixelColorPick.apply(this, arguments);
+ }
+})()
\ No newline at end of file
From c7dd5f6f89147024bd4d043caf494acca22e7ad6 Mon Sep 17 00:00:00 2001
From: JustAGenericUsername
<92590792+JustAGenericUsername@users.noreply.github.com>
Date: Sun, 5 May 2024 16:07:17 -0400
Subject: [PATCH 18/22] f
---
mod-list.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/mod-list.html b/mod-list.html
index fed60b74..83e5553f 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -151,6 +151,7 @@
save_loading.js Adds the ability to save and load scenes from files (See the info page of the element) Alice
selective_paint.js Adds a tool to paint only selected elements SquareScreamYT
stripe_paint.js Adds a tool to paint with stripes Alice
+texturepack.js Adds tools that let you create and share custom texture packs nousernamefound
the_ground.js Adds several rock types, worldgen settings, and gemstones Alice
Science & Chemistry
From 10f3ba326b2499005b23bbe5326396319daccf9c Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Sun, 5 May 2024 19:31:58 -0400
Subject: [PATCH 19/22] Create colored_lightbulbs.js
---
mods/colored_lightbulbs.js | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 mods/colored_lightbulbs.js
diff --git a/mods/colored_lightbulbs.js b/mods/colored_lightbulbs.js
new file mode 100644
index 00000000..84f8ad85
--- /dev/null
+++ b/mods/colored_lightbulbs.js
@@ -0,0 +1,44 @@
+elements.colored_light_bulb = {
+ color: "#666666",
+ colorOn: "#ffffff",
+ behavior: behaviors.WALL,
+ category: "machines",
+ tempHigh: 1500,
+ stateHigh: ["molten_glass","molten_glass","molten_copper"],
+ conduct: 1,
+ breakInto: "glass_shard",
+ tick: function(pixel) {
+ if (pixel.start == pixelTicks) {
+ pixel.normalColor = pixel.color;
+ pixel.chargeColor = `rgb(${pixel.color.replace(/[rgb\(\)]/g, "").split(",").map(a => parseInt(a.trim()) + 150).join(", ")})`;
+ }
+ if (pixel.color != pixel.normalColor && !pixel.charge && !pixel.chargeCD) {
+ pixel.normalColor = pixel.color;
+ pixel.chargeColor = `rgb(${pixel.color.replace(/[rgb\(\)]/g, "").split(",").map(a => parseInt(a.trim()) + 150).join(", ")})`;
+ }
+ if (pixel.charge) {
+ pixel.color = pixel.chargeColor;
+ } else {
+ pixel.color = pixel.normalColor;
+ }
+ if (pixel.charge > 0) {
+ for (let i = 0; i < adjacentCoords.length; i++){
+ let coord = adjacentCoords[i]
+ let x = coord[0]+pixel.x
+ let y = coord[1]+pixel.y
+ if (isEmpty(x, y)){
+ //do crap to the pixel
+ createPixel("light", x, y,),
+ pixelMap[x][y].color = pixel.chargeColor
+ }
+ }
+ }}
+}
+pixelColorPick = (function() {
+ const oldPixelColorPick = pixelColorPick;
+
+ return function(pixel, customColor = null) {
+ if (pixel.element == "colored_light_bulb" && pixel.color && !customColor) return pixel.color;
+ return oldPixelColorPick.apply(this, arguments);
+ }
+})()
From ac25c2051d4dfac3641459fb1732d67e259c4a75 Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Sun, 5 May 2024 19:33:22 -0400
Subject: [PATCH 20/22] fixed inconsistency
---
mod-list.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mod-list.html b/mod-list.html
index 93a4b128..a06fed4d 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -156,7 +156,7 @@
Science & Chemistry
alcohol.js Adds methanol, (iso-)propanol, and butanol Alice
alkahest.js Adds the alkahest, a liquid which dissolves anything Alice
-aScientistsWish.js Adds things that related to science, especially radiation Carbon Monoxide, Sobble
+aScientistsWish.js Adds things that related to science, especially radiation Carbon Monoxide, salmonfishy
bettermetalscrap.js Allows metal scrap to be melted back into its original material nousernamefound
bigger_star_spawners.js Adds spawners for larger stars Alice
bioooze_and_pyrogens.js Adds Bio-Ooze from Frackin’ Universe and several heat-producing materials from various games’ mods Alice
From d6796c7ea6d1562d4228b40c14869221ae533bcd Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Sun, 5 May 2024 19:33:38 -0400
Subject: [PATCH 21/22] Update mod-list.html
---
mod-list.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/mod-list.html b/mod-list.html
index 81b7e719..e273ce68 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -203,6 +203,7 @@
logicgates.js Adds predictable electricity and logic gates nousernamefound
note_block.js Adds musical Note Blocks Alice
nousersthings.js Destroyable machines, pipe variants, filters, and more nousernamefound
+colored_lightbulbs.js Adds a light bulb that can be painted. guzzo86, ggod
portal.js Adds portals that can teleport pixels Alice
pullers.js Adds pixels that pull pixels towards them voidapex11
pushers.js Adds pixels that push elements away from them Alice
From 32f8ac5d896bc4722248f212df5810123d943d1d Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Sun, 5 May 2024 19:39:20 -0400
Subject: [PATCH 22/22] Update mod-list.html
---
mod-list.html | 4 ----
1 file changed, 4 deletions(-)
diff --git a/mod-list.html b/mod-list.html
index 07d08604..fe276e5f 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -127,7 +127,6 @@
color_tools.js Adds tools that manipulate colors Alice
controllable_pixel_test.js Adds a pixel that can be controlled with the keyboard keys. Read the commit description for more info. [PC ONLY] Alice
cpt_alt.js Adds a more destructive variant of the controllable pixel Alice
-customtemptools.js Adds custom input temp tools. guzzo86
debugRework.js Revamps the Debug tool Fioushemastor
delete_all_of_element.js Adds a tool that deletes every pixel of the element(s) the user clicks on Alice
descriptions.js Adds descriptions to the info page and tooltips of elements mollthecoder
@@ -199,11 +198,9 @@
fine_tuned_cloner.js Adds a cloner that can spawn at different rates and prevent unwated cloning BatteRaquette58
flipflop.js Toggleable switches; Explanation Flix
gameOfLife.js Conway's Game of Life on a screen ggod
-fuel_generators.js Adds diesel and gasoline powered generators guzzo86
logicgates.js Adds predictable electricity and logic gates nousernamefound
note_block.js Adds musical Note Blocks Alice
nousersthings.js Destroyable machines, pipe variants, filters, and more nousernamefound
-colored_lightbulbs.js Adds a light bulb that can be painted. guzzo86, ggod
portal.js Adds portals that can teleport pixels Alice
pullers.js Adds pixels that pull pixels towards them voidapex11
pushers.js Adds pixels that push elements away from them Alice
@@ -231,7 +228,6 @@
bananas.js Adds bananas and banana plants Alice '
CherrySoda.js Adds materials to make Cherry soda. Benzaldehyde + seltzer = Cherrysoda. guzzo86
community_desserts.js Adds various desserts from community suggestions Tisquares
-GrapeSoda.js Adds materials to make Grape soda. Methylanthranilate + seltzer = Grapesoda. guzzo86
greenitemsandmore.js Adds various green things, including apples and more food zonneschijn7
ketchup_mod.js Adds a bunch of ketchup related stuff, plus a few other condiments Nubo318 (main dev), Devi, Alice (contributors)
lemonade.js Adds lemons and lemonade personman / baconthemyth