From d09f3573d1ed1d0671ad03299dbe671147965fac Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Fri, 26 Apr 2024 22:51:14 -0400
Subject: [PATCH 1/6] Update mod-list.html
---
mod-list.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/mod-list.html b/mod-list.html
index 6b6bd780..6e4ebf1e 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -234,6 +234,7 @@
| 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 create Cherry Soda. Water + C02 = Seltzer, Potsassium permanganate + Tolulene = Benzaldehyde, Benzaldehyde + Seltzer = Cherry Soda. | guzzo86 |
| Life & Nature |
| advanced_colonies.js | Adds davlers, creatures with complex colonies | DaviStudios |
From 700617b350f6040f1f08b877b52904e1d19df198 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Sat, 27 Apr 2024 09:39:45 -0400
Subject: [PATCH 2/6] Update CherrySoda.js
---
mods/CherrySoda.js | 31 ++++++++++++++++++++++++++++---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/mods/CherrySoda.js b/mods/CherrySoda.js
index 0be7f3da..98475765 100644
--- a/mods/CherrySoda.js
+++ b/mods/CherrySoda.js
@@ -29,7 +29,8 @@ elements.tolulene = {
burnInto: ["steam", "smoke", "fire", "fire",],
reactions: {
"potassiumpermanganate": {elem1: "benzaldehyde", elem2: "benzaldehyde"},
- }
+ },
+ tempHigh: 111,
}
elements.benzaldehyde = {
color: "#F5F5F5",
@@ -40,7 +41,7 @@ elements.benzaldehyde = {
desc: "Benzaldehyde is cherry flavor. It is also clear like tolulene.",
reactions: {
"seltzer": {elem1: "cherrysoda", elem2: "cherrysoda"},
- }
+ },
}
elements.cherrysoda = {
color: "#D2042D",
@@ -48,5 +49,29 @@ elements.cherrysoda = {
category: "food",
state: "liquid",
density: 1045,
- desc: "Cherry soda."
+ desc: "Cherry soda.",
+ tempHigh: 150,
+ stateHigh: "cherrysoda_gas",
+}
+elements.cherrysoda_gas = {
+ color: "#D20459",
+ behavior: behaviors.GAS,
+ category: "gases",
+ state: "gas",
+ density: 1025,
+ desc: "Cherry soda gas.",
+ tempLow: 149,
+ stateLow: "cherrysoda",
+ temp: 169,
+}
+elements.cherrysoda_ice = {
+ color: "BF4F9C",
+ behavior: behaviors.wALL,
+ category: "solids",
+ state: "solid",
+ density: 1065,
+ desc: "Cherry soda gas.",
+ tempHigh: -27,
+ stateHigh: "cherrysoda",
+ temp: -47,
}
From 5cdb595fe21af71a9a902661b52ab4c180f45bda Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Sat, 27 Apr 2024 09:40:06 -0400
Subject: [PATCH 3/6] Create GrapeSoda.js
---
mods/GrapeSoda.js | 140 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 140 insertions(+)
create mode 100644 mods/GrapeSoda.js
diff --git a/mods/GrapeSoda.js b/mods/GrapeSoda.js
new file mode 100644
index 00000000..5716aeac
--- /dev/null
+++ b/mods/GrapeSoda.js
@@ -0,0 +1,140 @@
+elements.anthranilicacid = {
+ color: "#FFFFFF",
+ behavior: behaviors.POWDER,
+ category: "powders",
+ state: "solid",
+ tempHigh: 145,
+ stateHigh: "moltenanthranilicacid",
+ reactions: {
+ "methanol": {elem1: "methylanthranilate", elem2: "methylanthranilate"},
+ },
+ }
+
+ elements.moltenanthranilicacid = {
+ color: ["#FFFF99", "#FFFF66", "#FFFF00"],
+ behavior: behaviors.LIQUID,
+ category: "states",
+ state: "liquid",
+ tempLow: 144,
+ stateLow: "anthranilicacid",
+ tempHigh: 340,
+ stateHigh: "anthranilicacidgas",
+ temp: 155,
+ viscosity: 10,
+ }
+
+ elements.anthranilicacidgas = {
+ color: "#FEDEFF",
+ behavior: behaviors.GAS,
+ category: "gases",
+ state: "gas",
+ tempLow: 339,
+ stateLow: "moltenanthranilicacid",
+ temp: 350,
+ }
+
+ elements.methanol = {
+ color: "#FFE4FF",
+ behavior: behaviors.LIQUID,
+ category: "liquids",
+ state: "liquid",
+ density: 792,
+ stateHigh: "methanolgas",
+ tempHigh: 65,
+ stateLow: "methanolice",
+ tempLow: -98,
+ burn: 100,
+ burnTime: 100,
+ burnInto: "carbondioxide"
+ }
+
+ elements.methanolice = {
+ color: "#FFFFFF",
+ behavior: behaviors.SOLID,
+ category: "solids",
+ state: "solid",
+ density: 822,
+ stateHigh: "methanol",
+ temp: -117,
+ tempHigh: -97,
+ }
+
+ elements.methanolgas = {
+ color: "#E1E4FF",
+ behavior: behaviors.GAS,
+ category: "gases",
+ state: "gas",
+ density: 942,
+ stateLow: "methanol",
+ tempLow: 64,
+ temp: 84,
+ }
+ elements.methylanthranilate = {
+ color: "#FFFBBA",
+ behavior: behaviors.LIQUID,
+ category: "liquids",
+ state: "liquid",
+ density: 1120,
+ stateHigh: "methylanthranilategas",
+ tempHigh: 257,
+ stateLow: "methylanthranilateice",
+ tempLow: -20,
+ reactions: {
+ "seltzer": {elem1: "grapesoda", elem2: "grapesoda",}
+ }
+ }
+
+ elements.methylanthranilategas = {
+ color: "#FFFBBA",
+ behavior: behaviors.GAS,
+ category: "gases",
+ state: "gas",
+ density: 1120,
+ stateLow: "methylanthranilate",
+ tempLow: 256,
+ temp: 276,
+ }
+ elements.methylanthranilateice = {
+ color: "#FFFBD7",
+ behavior: behaviors.WALL,
+ category: "solids",
+ state: "solid",
+ density: 1120,
+ stateHigh: "methulanthranilate",
+ temphigh: -19,
+ temp: -39,
+ }
+
+ elements.grapesoda = {
+ color: "#5B134F",
+ behavior: behaviors.LIQUID,
+ category: "food",
+ state: "liquid",
+ density: 1120,
+ stateHigh: "grapesodagas",
+ tempHigh: 257,
+ stateLow: "grapesodaice",
+ tempLow: -20,
+ }
+
+ elements.grapesodagas = {
+ color: "#B99FEA",
+ behavior: behaviors.GAS,
+ category: "gases",
+ state: "gas",
+ density: 1100,
+ stateLow: "grapesoda",
+ tempLow: 256,
+ temp: 257,
+ }
+
+elements.grapesodaice = {
+ color: "#B99FC2",
+ behavior: behaviors.WALL,
+ category: "solids",
+ state: "solid",
+ density: 1140,
+ stateHigh: "grapesoda",
+ tempHigh: -19,
+ temp: -20,
+ }
From 1d7563d4007b9e1efc7c80b79a071fea89636347 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Sat, 27 Apr 2024 09:41:02 -0400
Subject: [PATCH 4/6] Update mod-list.html
---
mod-list.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mod-list.html b/mod-list.html
index 6e4ebf1e..51d5b36c 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -234,7 +234,8 @@
| 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 create Cherry Soda. Water + C02 = Seltzer, Potsassium permanganate + Tolulene = Benzaldehyde, Benzaldehyde + Seltzer = Cherry Soda. | guzzo86 |
+| 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 5295b326d6f5b75391163e50631036e1eee4a4c0 Mon Sep 17 00:00:00 2001
From: ThatOtherProto <127895014+ThatOtherProto@users.noreply.github.com>
Date: Sun, 28 Apr 2024 16:52:46 +0100
Subject: [PATCH 5/6] Update Science_mod.js
Just finishing off my code from 2 days ago
---
mods/Science_mod.js | 39 ++++++++++++++++++---------------------
1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/mods/Science_mod.js b/mods/Science_mod.js
index 4c216af2..b0690972 100644
--- a/mods/Science_mod.js
+++ b/mods/Science_mod.js
@@ -1,10 +1,8 @@
// Science mod for Sandboxels
// (Inspired by survival.js)
-// Build 19
-// By: Lucifer (@a_british_proto (Discord))
-// If there is anything you want to suggest or there's a bug then just dm me on discord
+// Build 20
+// If there is anything you want to suggest or there's a bug then just dm me on discord (@a_british_proto)
// Todo:
-// - Try to get the mod to work by making different ways to craft all the (116) elements in the mod
// - Make new substances that you can get after mixing different elements
// - Make a way to get the different substances by mixing different elements and different substances
// - Create different proporties for the substances (doing now)
@@ -1383,7 +1381,7 @@ substance.Silver_Sulfate = {
hidden:true
}
-// I have finally gotten my motivation back! :D
+// Decided to just change the console.log to a comment because it got me confused between the github page and VSC
substance.Silver_Selenide = {
behavior: behaviors.WALL,
@@ -1446,25 +1444,24 @@ substance.Aluminum_Diboride = {
hidden:true
}
-// Doing this later as my schools blocked chatgpt and the definition is not on Ptable.com :/
-// substance.Aluminum_Dodecaboride = {
-// behavior: behaviors.NULL,
-// color: "000000",
-// category: "null",
-// state: "null",
-// hidden:true
-// }
+substance.Aluminum_Dodecaboride = {
+ behavior: behaviors.WALL,
+ color: "000000",
+ category: "lands",
+ state: "solid",
+ hidden:true
+}
-// substance.Aluminum_Bromate_Nonahydrate = {
-// behavior: behaviors.NULL,
-// color: "000000",
-// category: "null",
-// state: "null",
-// hidden:true
-// }
+substance.Aluminum_Bromate_Nonahydrate = {
+ behavior: behaviors.WALL,
+ color: "FFFFFF",
+ category: "lands",
+ state: "solid",
+ hidden:true
+}
substance.Aluminum_Tribromide = {
- behavior: behavior.NULL, // It's meant to be a powder but I'm too tired to go look plus I need to go to my next lesson now
+ behavior: behavior.POWDER,
color: "FF0000",
category: "lands",
state: "powder",
From 53c00e659217b1baab06ba1fe77c1314aaf21f08 Mon Sep 17 00:00:00 2001
From: guzzo86 <126430018+guzzo86@users.noreply.github.com>
Date: Tue, 30 Apr 2024 01:04:26 -0400
Subject: [PATCH 6/6] Create potato_chips.js
---
mods/potato_chips.js | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 mods/potato_chips.js
diff --git a/mods/potato_chips.js b/mods/potato_chips.js
new file mode 100644
index 00000000..e0de48f1
--- /dev/null
+++ b/mods/potato_chips.js
@@ -0,0 +1,44 @@
+elements.potato_chip = {
+ behavior: behaviors.STURDYPOWDER,
+ state: "solid",
+ density: 1350,
+ color: ["#F7DD93", "#D8A44B"],
+ category: "food",
+ desc: "Potato chip. Turns potato next to it into potato chip if temp is >= 104.",
+
+ tick: function(pixel) {
+ if(pixelTicks - pixel.start >= 15) {
+ 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");
+ }
+ }
+ 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");
+ }
+ }
+ if (!isEmpty(pixel.x - 1, pixel.y, true)) {
+ if (pixel.temp >= 104 && pixelMap[pixel.x - 1][pixel.y].element === "potato") {
+ changePixel(pixelMap[pixel.x - 1][pixel.y], "potato_chip");
+ }
+ }
+ if (!isEmpty(pixel.x + 1,pixel.y, true)) {
+ if (pixel.temp >= 104 && pixelMap[pixel.x + 1][pixel.y].element === "potato") {
+ changePixel(pixelMap[pixel.x + 1][pixel.y], "potato_chip");
+ }
+ }
+ }
+ }
+}
+
+elements.sunflower_oil = {
+ behavior: behaviors.LIQUID,
+ color: ["#FFFFCC", "#FFFF99", "#FFFF66", "#FFFF33", "#FFFF00", "#FFCC00"],
+ viscosity: 63,
+ category: "food",
+ state: "liquid",
+ reactions: {
+ "potato": {elem2: "potato_chip", tempMin: 140},
+ }
+}