From d17940e18775fe781fcaf1a657944107cb14d35f Mon Sep 17 00:00:00 2001
From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com>
Date: Fri, 5 Apr 2024 08:19:49 +0800
Subject: [PATCH 01/18] Update aChefsDream.js
---
mods/aChefsDream.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mods/aChefsDream.js b/mods/aChefsDream.js
index c8a2039e..34d9342b 100644
--- a/mods/aChefsDream.js
+++ b/mods/aChefsDream.js
@@ -7099,12 +7099,14 @@ elements.food_coloring = {
pixelMap[x][y].color = `rgb(${parseInt(newrgb2.r)},${parseInt(newrgb2.g)},${parseInt(newrgb2.b)})`;
if (Math.random() < 0.002) {
deletePixel(pixel.x,pixel.y)
+ break
}
}
}
}
}
}
+ doDefaults(pixel)
},
onSelect: function () {
logMessage("Tip: You can spread food coloring using water.");
From 09c557e75853fb1d67451a1e507c48c9880e300c Mon Sep 17 00:00:00 2001
From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com>
Date: Sat, 6 Apr 2024 12:18:58 +0800
Subject: [PATCH 02/18] 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 ddfd8508..1c428dca 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -218,7 +218,7 @@
| weapons.js | Adds some extra weapons | Jayd |
| Food & Cooking |
-| aChefsDream.js | Adds more foods, animals, tools and many other cooking related items | SquareScreamYT, RealerRaddler |
+| aChefsDream.js | Adds more foods, animals, tools and many other cooking related items. Updates can be found in this YouTube Playlist | SquareScreamYT, RealerRaddler |
| bananas.js | Adds bananas and banana plants | Alice |
| 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) |
From 7f73a4f80b7fc7224b17edcdfe117693a525c98c Mon Sep 17 00:00:00 2001
From: ThatOtherProto
Date: Sun, 7 Apr 2024 11:51:35 +0100
Subject: [PATCH 03/18] New mod! (Not done, just so that it will be easier for
me to code
---
mods/Science_mod.js | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 mods/Science_mod.js
diff --git a/mods/Science_mod.js b/mods/Science_mod.js
new file mode 100644
index 00000000..6599bcea
--- /dev/null
+++ b/mods/Science_mod.js
@@ -0,0 +1,8 @@
+// Do not use
+// This is only a test script for sandboxels modding
+// I'm new to JavaScript and Sandboxels modding
+// So I've created this as a test mod for sandboxels
+// It's gonna have all the elements from the actual mod
+// But it's gonna be really buggy and glitchy (I think)
+
+if (!settings.)
\ No newline at end of file
From 487e52ea49583552bafe0896e8bb1bdd83b2b2bc Mon Sep 17 00:00:00 2001
From: ThatOtherProto <127895014+ThatOtherProto@users.noreply.github.com>
Date: Sun, 7 Apr 2024 13:08:25 +0100
Subject: [PATCH 04/18] Update Science_mod.js
Added all the lines
---
mods/Science_mod.js | 137 +++++++++++++++++++++++++++++++++++++++++---
1 file changed, 130 insertions(+), 7 deletions(-)
diff --git a/mods/Science_mod.js b/mods/Science_mod.js
index 6599bcea..ae913db6 100644
--- a/mods/Science_mod.js
+++ b/mods/Science_mod.js
@@ -1,8 +1,131 @@
-// Do not use
-// This is only a test script for sandboxels modding
-// I'm new to JavaScript and Sandboxels modding
-// So I've created this as a test mod for sandboxels
-// It's gonna have all the elements from the actual mod
-// But it's gonna be really buggy and glitchy (I think)
+// Science mod for Sandboxels
+// (Inspired by survival.js)
+// 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
+// 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
+// - Make a custom message for when you reset your savefile like in survival.js
-if (!settings.)
\ No newline at end of file
+if (!settings.Science_mod) {
+ settings.Science_mod = {
+ "Hydrogen": 9.223372036854776e+18,
+ "Helium": 9.223372036854776e+18,
+ "Lithium": 9.223372036854776e+18,
+ "Beryllium": 9.223372036854776e+18,
+ "Boron": 9.223372036854776e+18,
+ "Carbon": 9.223372036854776e+18,
+ "Oxygen": 9.223372036854776e+18,
+ "Flourine": 9.223372036854776e+18,
+ "Neon": 9.223372036854776e+18,
+ "Sodium": 9.223372036854776e+18,
+ "Magnesium": 9.223372036854776e+18,
+ "Aluminum": 9.223372036854776e+18,
+ "Silicon": 9.223372036854776e+18,
+ "Phosphorus": 9.223372036854776e+18,
+ "Sulphur": 9.223372036854776e+18,
+ "Chlorine": 9.223372036854776e+18,
+ "Argon": 9.223372036854776e+18,
+ "Potassium": 9.223372036854776e+18,
+ "Calcium": 9.223372036854776e+18,
+ "Scandium": 9.223372036854776e+18,
+ "Titanium": 9.223372036854776e+18,
+ "Vanadium": 9.223372036854776e+18,
+ "Chromium": 9.223372036854776e+18,
+ "Manganese": 9.223372036854776e+18,
+ "Iron": 9.223372036854776e+18,
+ "Cobalt": 9.223372036854776e+18,
+ "Nickel": 9.223372036854776e+18,
+ "Copper": 9.223372036854776e+18,
+ "Zinc": 9.223372036854776e+18,
+ "Gallium": 9.223372036854776e+18,
+ "Germanium": 9.223372036854776e+18,
+ "Arsenic": 9.223372036854776e+18,
+ "Selenium": 9.223372036854776e+18,
+ "Bromine": 9.223372036854776e+18,
+ "Krypton": 9.223372036854776e+18,
+ "Rubidium": 9.223372036854776e+18,
+ "Strontium": 9.223372036854776e+18,
+ "Yttrium": 9.223372036854776e+18,
+ "Zirconium": 9.223372036854776e+18,
+ "Niobium": 9.223372036854776e+18,
+ "Molybdenum": 9.223372036854776e+18,
+ "Technetium": 9.223372036854776e+18,
+ "Ruthenium": 9.223372036854776e+18,
+ "Rhodium": 9.223372036854776e+18,
+ "Palladium": 9.223372036854776e+18,
+ "Silver": 9.223372036854776e+18,
+ "Cadmium": 9.223372036854776e+18,
+ "Indium": 9.223372036854776e+18,
+ "Tin": 9.223372036854776e+18,
+ "Antimony": 9.223372036854776e+18,
+ "Tellurium": 9.223372036854776e+18,
+ "Iodine": 9.223372036854776e+18,
+ "Xenon": 9.223372036854776e+18,
+ "Cesium": 9.223372036854776e+18,
+ "Barium": 9.223372036854776e+18,
+ "Lanthanum": 9.223372036854776e+18,
+ "Cerium": 9.223372036854776e+18,
+ "Praseodymium": 9.223372036854776e+18,
+ "Neodymium": 9.223372036854776e+18,
+ "Promethium": 9.223372036854776e+18,
+ "Samarium": 9.223372036854776e+18,
+ "Europium": 9.223372036854776e+18,
+ "Gadolinium": 9.223372036854776e+18,
+ "Terbium": 9.223372036854776e+18,
+ "Dysprosium": 9.223372036854776e+18,
+ "Holmium": 9.223372036854776e+18,
+ "Erbium": 9.223372036854776e+18,
+ "Thulium": 9.223372036854776e+18,
+ "Ytterbium": 9.223372036854776e+18,
+ "Lutetium": 9.223372036854776e+18,
+ "Hafnium": 9.223372036854776e+18,
+ "Tantalum": 9.223372036854776e+18,
+ "Tungsten": 9.223372036854776e+18,
+ "Rhenium": 9.223372036854776e+18,
+ "Osmium": 9.223372036854776e+18,
+ "Iridium": 9.223372036854776e+18,
+ "Platinum": 9.223372036854776e+18,
+ "Gold": 9.223372036854776e+18,
+ "Mercury": 9.223372036854776e+18,
+ "Thallium": 9.223372036854776e+18,
+ "Lead": 9.223372036854776e+18,
+ "Bismuth": 9.223372036854776e+18,
+ "Polonium": 9.223372036854776e+18,
+ "Astatine": 9.223372036854776e+18,
+ "Radon": 9.223372036854776e+18,
+ "Francium": 9.223372036854776e+18,
+ "Radium": 9.223372036854776e+18,
+ "Actinium": 9.223372036854776e+18,
+ "Thorium": 9.223372036854776e+18,
+ "Protactinium": 9.223372036854776e+18,
+ "Uranium": 9.223372036854776e+18,
+ "Neptunium": 9.223372036854776e+18,
+ "Plutonium": 9.223372036854776e+18,
+ "Americium": 9.223372036854776e+18,
+ "Curium": 9.223372036854776e+18,
+ "Berkelium": 9.223372036854776e+18,
+ "Californium": 9.223372036854776e+18,
+ "Einsteinium": 9.223372036854776e+18,
+ "Fermium": 9.223372036854776e+18,
+ "Mendelevium": 9.223372036854776e+18,
+ "Nobelium": 9.223372036854776e+18,
+ "Lawrencium": 9.223372036854776e+18,
+ "Rutherfordium": 9.223372036854776e+18,
+ "Dubnium": 9.223372036854776e+18,
+ "Seaborgium": 9.223372036854776e+18,
+ "Bohrium": 9.223372036854776e+18,
+ "Hassium": 9.223372036854776e+18,
+ "Meitnerium": 9.223372036854776e+18,
+ "Darmstadtium": 9.223372036854776e+18,
+ "Roentgenium": 9.223372036854776e+18,
+ "Copernicium": 9.223372036854776e+18,
+ "Nihonium": 9.223372036854776e+18,
+ "Flerovium": 9.223372036854776e+18,
+ "Moscovium": 9.223372036854776e+18,
+ "Livermorium": 9.223372036854776e+18,
+ "Tennessine": 9.223372036854776e+18,
+ "Oganesson": 9.223372036854776e+18,
+ }
+}
From 00e3b9b61fa2101bb7761d109dacac8e1820a6ab Mon Sep 17 00:00:00 2001
From: ThatOtherProto <127895014+ThatOtherProto@users.noreply.github.com>
Date: Sun, 7 Apr 2024 17:32:12 +0100
Subject: [PATCH 05/18] Update Science_mod.js
Hmm... no pain for some reason... weird
---
mods/Science_mod.js | 965 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 964 insertions(+), 1 deletion(-)
diff --git a/mods/Science_mod.js b/mods/Science_mod.js
index ae913db6..ff912751 100644
--- a/mods/Science_mod.js
+++ b/mods/Science_mod.js
@@ -6,7 +6,9 @@
// - 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
-// - Make a custom message for when you reset your savefile like in survival.js
+// - Create different proporties for the substances
+
+// How much of the elements you're gonna have when you start:
if (!settings.Science_mod) {
settings.Science_mod = {
@@ -129,3 +131,964 @@ if (!settings.Science_mod) {
"Oganesson": 9.223372036854776e+18,
}
}
+
+// Element proporties (all proporties have hidden:false as these are what you start with
+// and you don't have to craft them):
+
+// All of these are before the reaction when you add different stuff to these elements/substances
+// happens (same with the substances)
+
+element.Hydrogen = {
+ behavior: behaviors.GAS,
+ color:"D3D3D3",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Helium = {
+ behavior: behaviors.GAS,
+ color:"C0C0C0",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Lithium = {
+ behavior: behaviors.WALL,
+ color:"DADBDD",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Beryllium = {
+ behavior: behaviors.WALL,
+ color:"DADBDD",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Boron = {
+ behavior: behaviors.WALL,
+ color:"964B00",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Carbon = {
+ behavior: behaviors.GAS,
+ color:"000000",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Nitrogen = {
+ behavior: behaviors.GAS,
+ color:"0000FF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Oxygen = {
+ behavior: behaviors.GAS,
+ color:"000000",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Fluorine = {
+ behavior: behaviors.WALL,
+ color:"FFFF00",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Neon = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Sodium = {
+ behavior: behaviors.WALL,
+ color:"A0522D",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Magnesium = {
+ behavior: behaviors.WALL,
+ color:"F0C8A0",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Aluminum = {
+ behavior: behaviors.WALL,
+ color:"C0C0C0",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Silicon = {
+ behavior: behaviors.WALL,
+ color:"C0C0C0",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Phosphorus = {
+ behavior: behaviors.WALL,
+ color:"FF0000",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Sulfur = {
+ behavior: behaviors.WALL,
+ color:"FFFF00",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Chlorine = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Argon = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Potassium = {
+ behavior: behaviors.WALL,
+ color:"00FF00",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Calcium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Scandium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Titanium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Vanadium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Chromium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Manganese = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Iron = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Cobalt = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Nickel = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Copper = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Zinc = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Gallium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Germanium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Arsenic = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Selenium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Bromine = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Krypton = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Rubidium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Strontium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Yttrium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Zirconium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Niobium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Molybdenum = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Technetium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Ruthenium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Rhodium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Palladium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Silver = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Cadmium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Indium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Tin = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Antimony = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Tellurium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Iodine = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Xenon = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Caesium = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Barium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Lanthanum = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Cerium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Praseodymium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Neodymium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Promethium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Samarium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Europium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Gadolinium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Terbium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Dysprosium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Holmium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Erbium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Thulium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Ytterbium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Lutetium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Hafnium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Tantalum = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Tungsten = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Rhenium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Osmium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Iridium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Platinum = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Gold = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Mercury = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Thallium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Lead = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Bismuth = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Polonium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Astatine = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Radon = {
+ behavior: behaviors.GAS,
+ color:"FFFFFF",
+ category:"gases",
+ state:"gas",
+ hidden:false
+}
+
+element.Francium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Radium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Actinium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Thorium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Protactinium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Uranium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Neptunium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Plutonium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Americium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Curium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Berkelium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Californium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Einsteinium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Fermium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Mendelevium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Nobelium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Lawrencium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Rutherfordium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Dubnium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Seaborgium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Bohrium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Hassium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Meitnerium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Darmstadtium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Roentgenium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Copernicium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Nihonium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Flerovium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Moscovium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Livermorium = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Tennessine = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+element.Oganesson = {
+ behavior: behaviors.WALL,
+ color:"00FFFF",
+ category:"land",
+ state:"solid",
+ hidden:false
+}
+
+// Substance proporties (These are the properties of the substances, not the elements These properties
+// use hidden:true as you don't start with these but instead have to craft them):
+
+substance.Polystyrene = {
+ behavior: behaviors.WALL,
+ color:"00FF00",
+ category:"land",
+ state:"solid",
+ hidden:true
+}
From 20d8ce51c50d97470cc287e2b3fe1b561326f079 Mon Sep 17 00:00:00 2001
From: ThatOtherProto <127895014+ThatOtherProto@users.noreply.github.com>
Date: Sun, 7 Apr 2024 18:04:07 +0100
Subject: [PATCH 06/18] Update Science_mod.js
---
mods/Science_mod.js | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/mods/Science_mod.js b/mods/Science_mod.js
index ff912751..260f4462 100644
--- a/mods/Science_mod.js
+++ b/mods/Science_mod.js
@@ -411,10 +411,10 @@ element.Selenium = {
}
element.Bromine = {
- behavior: behaviors.GAS,
+ behavior: behaviors.LIQUID,
color:"FFFFFF",
- category:"gases",
- state:"gas",
+ category:"liquids",
+ state:"liquid",
hidden:false
}
@@ -771,10 +771,10 @@ element.Gold = {
}
element.Mercury = {
- behavior: behaviors.WALL,
+ behavior: behaviors.LIQUID,
color:"00FFFF",
- category:"land",
- state:"solid",
+ category:"liquids",
+ state:"liquid",
hidden:false
}
@@ -1092,3 +1092,11 @@ substance.Polystyrene = {
state:"solid",
hidden:true
}
+
+substance.Styrene = {
+ behavior: behaviors.LIQUID,
+ color:"00FF00",
+ category:"liquids",
+ state:"liquid",
+ hidden:true
+}
From 2b8601b64d7ea73ae25e22825b80964a214f2cce Mon Sep 17 00:00:00 2001
From: ThatOtherProto <127895014+ThatOtherProto@users.noreply.github.com>
Date: Sun, 7 Apr 2024 19:57:18 +0100
Subject: [PATCH 07/18] Update Science_mod.js
---
mods/Science_mod.js | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/mods/Science_mod.js b/mods/Science_mod.js
index 260f4462..df1eab48 100644
--- a/mods/Science_mod.js
+++ b/mods/Science_mod.js
@@ -6,7 +6,7 @@
// - 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
+// - Create different proporties for the substances (doing now)
// How much of the elements you're gonna have when you start:
@@ -1087,7 +1087,7 @@ element.Oganesson = {
substance.Polystyrene = {
behavior: behaviors.WALL,
- color:"00FF00",
+ color:"FFFFFF",
category:"land",
state:"solid",
hidden:true
@@ -1095,8 +1095,18 @@ substance.Polystyrene = {
substance.Styrene = {
behavior: behaviors.LIQUID,
- color:"00FF00",
+ color:"FFFFED",
category:"liquids",
state:"liquid",
hidden:true
}
+
+substance.Cinnamaldehyde = {
+ behavior: behaviors.LIQUID,
+ color:"FDFD96",
+ category:"liquids",
+ state:"liquid",
+ hidden:true
+}
+
+// Doing more tmrw
From 85ae45f25bc14ddb213f01b68c66775bfe61c3fe Mon Sep 17 00:00:00 2001
From: sb <155691462+stefanblox@users.noreply.github.com>
Date: Sun, 7 Apr 2024 16:30:31 -0300
Subject: [PATCH 08/18] randomelements 0.2
yippee
---
mods/randomelements.js | 116 +++++++++++++++++++++++++++++++++--------
1 file changed, 93 insertions(+), 23 deletions(-)
diff --git a/mods/randomelements.js b/mods/randomelements.js
index c052a681..3a7b1846 100644
--- a/mods/randomelements.js
+++ b/mods/randomelements.js
@@ -45,7 +45,7 @@ const nounTemperatures = {
gas: ["#ffffff", "#eeeeee", "#dddddd", "#cccccc", "#bbbbbb"],
plasma: ["#ff9966", "#ffaa77", "#ffbb88", "#ffcc99", "#ffddaa"],
slime: ["#88cc88", "#99dd99", "#aaddaa", "#bbeebb", "#ccffcc"],
- sand: ["#cccccc", "#dddddd", "#eeeeee", "#ffffff", "#eeeeee"],
+ sand: ["#D2B48C", "#E8D5A9", "#F0E3C4", "#DCD0BF", "#EBE4D6"],
dust: ["#aaaaaa", "#bbbbbb", "#cccccc", "#dddddd", "#eeeeee"],
rock: ["#777777", "#888888", "#999999", "#aaaaaa", "#bbbbbb"],
lava: ["#ff4400", "#ff5511", "#ff6622", "#ff7733", "#ff8844"],
@@ -57,26 +57,24 @@ const nounTemperatures = {
};
-const adjectiveStates = {
- shiny: "solid",
- glowing: "gas",
- dark: "solid",
- bright: "gas",
- heavy: "solid",
- light: "gas",
- hot: "solid",
- cold: "solid",
- hard: "solid",
- soft: "liquid",
- smooth: "liquid",
- rough: "solid",
- round: "liquid",
- sharp: "solid",
- sweet: "liquid",
- sour: "liquid",
- bitter: "liquid",
- salty: "solid",
- savory: "liquid"
+ const nounStates = {
+ metal: "solid",
+ crystal: "solid",
+ stone: "solid",
+ powder: "liquid",
+ liquid: "liquid",
+ gas: "gas",
+ plasma: "gas",
+ slime: "liquid",
+ sand: "liquid",
+ dust: "liquid",
+ rock: "solid",
+ lava: "liquid",
+ ice: "solid",
+ vapor: "gas",
+ ash: "liquid",
+ soot: "liquid",
+ sludge: "liquid"
};
// Map noun to behavior
@@ -100,12 +98,29 @@ const nounBehaviors = {
sludge: behaviors.LIQUID
};
+const adjectiveBreakInto = {
+ sweet: "sugar",
+ salty: "salt",
+};
+
+const nounBreakInto = {
+ crystal: "glass_shard",
+ ice: "snow",
+ rock: ["sand", "gravel"],
+};
+
+const adjectiveColorModifiers = {
+ dark: 0.8, // darker
+ shiny: 1.2, // brighter
+ glowing: 1.5 // brightest
+};
+
// Generate elements
for (const name of elementNames) {
const [adjective, noun] = name.split("_");
- const baseColor = nounColors[noun];
+ let baseColor = nounColors[noun];
const {tempLow, tempHigh} = nounTemperatures[noun];
@@ -117,14 +132,69 @@ for (const name of elementNames) {
temp /= 2;
}
+ if (adjective in adjectiveColorModifiers) {
+ const modifier = adjectiveColorModifiers[adjective];
+ baseColor = modifyColor(baseColor, modifier);
+ }
+
elements[name] = {
color: baseColor,
behavior: nounBehaviors[noun],
category: "random elements",
- state: adjectiveStates[adjective],
+ state: nounStates[noun],
temp: temp,
+ breakInto: adjectiveBreakInto[adjective] || nounBreakInto[noun],
density: Math.random() * 100,
viscosity: Math.random() * 100
};
+ function modifyColor(color, modifier) {
+ if (color[0] === '#') {
+ color = color.slice(1);
+ }
+
+ color = String(color);
+
+ // Check for '#'
+ const match = color.match(/^#?(.*)$/);
+ if (match) {
+ color = match[1];
+ }
+
+ // Convert to RGB
+ let [r, g, b] = color.match(/.{1,2}/g).map(x => parseInt(x, 16));
+
+ // Apply modifier
+ r = Math.round(r * modifier);
+ g = Math.round(g * modifier);
+ b = Math.round(b * modifier);
+
+ // Constrain RGB values to 0-255
+ r = Math.max(0, Math.min(255, r));
+ g = Math.max(0, Math.min(255, g));
+ b = Math.max(0, Math.min(255, b));
+
+ // Convert back to hex
+ return '#' + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1);
+ }
+
}
+
+/*
+changelog only count importtant stuff and not the small details
+
+0.1
+added the mod
+
+0.2
+elements have breakInto's
+elements with the adjectives "dark, shiny and glowing" are darker or brighter
+elements with the nouns "crystal, ice, rock" can break into other elements like "glass_shard, snow, sand"
+fixed some elements having wrong states
+
+todo:
+elements have reactions
+gases dont have breakintos
+
+what a silly little changelog! i made it literally right here!!
+*/
From 86d9c7bdaad265b42da301e2fc4068260c4354b0 Mon Sep 17 00:00:00 2001
From: AuraPy <119633142+AuraPy@users.noreply.github.com>
Date: Sun, 7 Apr 2024 23:47:51 +0100
Subject: [PATCH 09/18] Added Ultimate Alkali Metal Mod
---
mods/UAMM.js | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 156 insertions(+)
create mode 100644 mods/UAMM.js
diff --git a/mods/UAMM.js b/mods/UAMM.js
new file mode 100644
index 00000000..bb229509
--- /dev/null
+++ b/mods/UAMM.js
@@ -0,0 +1,156 @@
+console.log("Thanks for using UAMM!")
+
+elements.rubidium = {
+ color: ["#b5b5b5", "#c9c9c9", "#d6cccb"],
+ behavior: behaviors.POWDER,
+ category: "powders",
+ state: "solid",
+ tempHigh: 39.3,
+ stateHigh: "liquid_rubidium",
+ density: 1532,
+ tick: function (pixel){
+ var foundelem1 = false
+ var foundelem2 = false
+ for (var i = 0; i < squareCoords.length; i++) {
+ var coord = squareCoords[i];
+ var x = pixel.x+coord[0];
+ var y = pixel.y+coord[1];
+ if(!isEmpty(x, y, true)){
+ var otherPixel = pixelMap[x][y]
+ if (otherPixel.element == "liquid_ammonia"){foundelem1 = true; break}
+ }
+ }
+ for (var i = 0; i < squareCoords.length; i++) {
+ var coord = squareCoords[i];
+ var x = pixel.x+coord[0];
+ var y = pixel.y+coord[1];
+ if(!isEmpty(x, y, true)){
+ var otherPixel = pixelMap[x][y]
+ if (otherPixel.element == "oxygen"){foundelem2 = true; break}
+ }
+ }
+ if (foundelem1 && foundelem2){changePixel(pixel, "rubidium_peroxide", false)}
+ },
+ reactions: {
+ "water": {elem1: "pop", elem2: "hydrogen", temp2: 400},
+ "oxygen": {elem1: "rubidium_superoxide", elem2: null, chance: 0.3}
+ }
+};
+
+elements.liquid_rubidium = {
+ color: ["#cccccc", "#ebe8e8", "#f2e7e6"],
+ behavior: behaviors.LIQUID,
+ hidden: true,
+ state: "liquid",
+ tempLow: 38,
+ stateLow: "rubidium",
+ density: 1475,
+ reactions: {
+ "water": {elem1: "pop", elem2: "hydrogen", temp2: 400}
+ }
+}
+
+elements.rubidium_superoxide = {
+ color: ["#eded00", "#ffff26", "#e3e33d"],
+ behavior: behaviors.POWDER,
+ hidden: true,
+ state: "solid",
+ tempHigh: 340,
+ stateHigh: "rubidium_peroxide",
+ density: 1532,
+ reactions: {
+ "water": {elem2: null}
+ }
+};
+
+elements.rubidium_peroxide = {
+ color: ["#fffed9", "#ffffe8", "#edede4"],
+ behavior: behaviors.POWDER,
+ hidden: true,
+ state: "solid",
+ density: 1532,
+ reactions: {
+ "water": {elem2: null}
+ }
+};
+
+elements.cesium = {
+ color: ["#e3a814", "#dbab32", "#e8bc4f", "#fabf2d"],
+ behavior: behaviors.POWDER,
+ category: "powders",
+ state: "solid",
+ fireColor: "#8c21de",
+ burn: 1,
+ burnTime: 500,
+ tempHigh: 29,
+ stateHigh: "liquid_cesium",
+ density: 1873,
+ reactions: {
+ "water": {func: (pixel1) => {pixel1.burning=true;pixel1.burnStart=pixelTicks},
+ elem1: "pop", elem2: ["smoke", "fire"], temp2: 22},
+ "fire": {elem1: ["smoke", "pop"]}
+ }
+};
+
+elements.liquid_cesium = {
+ color: ["#ebb121", "#edbd42", "#f5cb62", "#fcd26a"],
+ behavior: behaviors.LIQUID,
+ hidden: true,
+ state: "liquid",
+ tempLow: 28,
+ stateLow: "cesium",
+ density: 1842,
+ reactions: {
+ "water": {func: (pixel1) => {pixel1.burning=true;pixel1.burnStart=pixelTicks},
+ elem1: "pop", elem2: ["smoke", "fire"], temp2: 22},
+ "radiation": {elem1: "liquid_radiocesium", elem2: "smoke", chance: 0.65}
+ }
+};
+
+elements.radiocesium = {
+ color: ["#c7bda5", "#ada287", "#99958b", "#d1ccc0"],
+ behavior: [
+ "XX|CR:radiation%1|XX",
+ "CR:radiation%1|XX|CR:radiation%1",
+ "M2|M1|M2",
+ ],
+ hidden: true,
+ state: "solid",
+ fireColor: "#8c21de",
+ burn: 1,
+ burnTime: 500,
+ tempHigh: 29,
+ stateHigh: "liquid_radiocesium",
+ density: 1873,
+ reactions: {
+ "water": {func: (pixel1) => {pixel1.burning=true;pixel1.burnStart=pixelTicks},
+ elem1: ["rad_steam", "fallout"], elem2: "explosion"}
+ }
+}
+
+elements.liquid_radiocesium = {
+ color: ["#e8dcc1", "#d4c6a5", "#bfbaae", "#f5f1e9"],
+ behavior: behaviors.RADMOLTEN,
+ hidden: true,
+ state: "liquid",
+ tempLow: 28,
+ stateLow: "radiocesium",
+ density: 1842,
+ reactions: {
+ "water": {func: (pixel1) => {pixel1.burning=true;pixel1.burnStart=pixelTicks},
+ elem1: ["rad_steam", "fallout"], elem2: "explosion"}
+ }
+}
+
+elements.lithium = {
+ color: ["#e3a814", "#dbab32", "#e8bc4f", "#fabf2d"],
+ behavior: behaviors.POWDER,
+ category: "powders",
+ state: "solid",
+ fireColor: "#8c21de",
+ burn: 1,
+ burnTime: 500,
+ tempHigh: 29,
+ stateHigh: "liquid_cesium",
+ density: 534,
+}
From a3de4ba84b2fc5337f9bc87107dad14205cf2b01 Mon Sep 17 00:00:00 2001
From: IreoftheShire <155935118+IreoftheShire@users.noreply.github.com>
Date: Sun, 7 Apr 2024 19:21:14 -0700
Subject: [PATCH 10/18] Update Thread.js
---
mods/Thread.js | 113 +++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 99 insertions(+), 14 deletions(-)
diff --git a/mods/Thread.js b/mods/Thread.js
index 1d04fa7e..03c22ff4 100644
--- a/mods/Thread.js
+++ b/mods/Thread.js
@@ -1,23 +1,25 @@
elements.thread = {
color: "#fff3e6",
- behavior: behaviors.STURDYPOWDER,
+ behavior: behaviors.SUPPORTPOWDER,
category: "thread",
state: "solid",
tempHigh: "50",
stateHigh: "ash",
hardness: "0.2",
- breakInto: "wool"
+ breakInto: "wool",
density: " 1314",
burn: "99",
- burnTime: "40"
+ burnTime: "40",
burnInto: "ash",
reactions: {
"weavepowder": { elem1: null, elem2: "rope" },
-};
+
+ }
+}
elements.wool = {
color: "#e2e1d8",
- behavior: behaviors.POWDER,
+ behavior: behaviors.STURDYPOWDER,
category: "thread",
state: "solid",
tempHigh: "40",
@@ -25,11 +27,12 @@ elements.wool = {
hardness: "1",
density: " 1314",
burn: "90",
- burnTime: "40"
+ burnTime: "40",
burnInto: "ash",
reactions: {
"weavepowder": { elem1: null, elem2: "thread" },
-};
+ }
+}
elements.weavepowder = {
color: "#494736",
behavior: behaviors.POWDER,
@@ -40,23 +43,105 @@ elements.weavepowder = {
hardness: "1",
density: " 1314",
burn: "0",
- burnTime: "0"
+ burnTime: "0",
burnInto: "dust",
reactions: {
- "wool": { elem1: thread, elem2: "null" },
- "thread": { elem1: rope, elem2: "null" },
-};
+ "wool": { elem1: "thread", elem2: null },
+ "thread": { elem1: "rope", elem2: null },
+ }
+
+}
elements.rope = {
color: "#ffe6cc",
- behavior: behaviors.STURDYPOWDER,
+ behavior: behaviors.SUPPORT,
category: "thread",
state: "solid",
tempHigh: "60",
stateHigh: "ash",
hardness: "0.4",
- breakInto: "thread"
+ breakInto: "thread",
density: " 1314",
burn: "85",
- burnTime: "50"
+ burnTime: "50",
burnInto: "ash",
+}
+elements.sheep = {
+ color: ["#FFFFE8", "#F4FFFF", "#FFF7F2","#796464","#282828"],
+ behavior: [
+ "M2%1|M2%1|M2%1",
+ "M2%3|XX|M2%3",
+ "XX|M1|XX",
+ ],
+ reactions: {
+ "grass": { elem2:null, chance:0.04, func:behaviors.FEEDPIXEL },
+ "dead_plant": { elem2:null, chance:0.04, func:behaviors.FEEDPIXEL },
+ "plant": { elem2:null, chance:0.04, func:behaviors.FEEDPIXEL },
+ "oxygen": { elem2:"carbon_dioxide", chance:0.3 },
+ "mercury": { elem1:"rotten_meat", chance:0.1 },
+ "bleach": { elem1:"rotten_meat", chance:0.1 },
+ "infection": { elem1:"rotten_meat", chance:0.025 },
+ "uranium": { elem1:"rotten_meat", chance:0.1 },
+ "cyanide": { elem1:"rotten_meat", chance:0.1 },
+ "chlorine": { elem1:"meat", chance:0.1 },
+ "alcohol": { elem1:"meat", chance:0.025 },
+ "dirty_water": { elem1:"rotten_meat", chance:0.0001 },
+ "pool_water": { elem1:"rotten_meat", chance:0.005 },
+ "vinegar": { elem1:"rotten_meat", chance:0.001 },
+ "body": { elem1:["wool","sheep"], chance:0.1 },
+ },
+ egg: "lamb",
+ foodNeed: 10,
+ temp: 30,
+ tempHigh: 100,
+ stateHigh: "cooked_meat",
+ tempLow: -18,
+ stateLow: "frozen_meat",
+ category:"life",
+ breakInto: ["meat", "wool"],
+ burn:15,
+ burnTime:300,
+ state: "solid",
+ density: 1450,
+ conduct: 0.2
+};
+
+elements.lamb = {
+ color: ["#FFFFE8", "#F4FFFF", "#FFF7F2","#796464","#282828"],
+ state: "solid",
+ behavior: [
+ "M2%1|M2%2|M2%1",
+ "M2%4|FX%5 AND CH:sheep%0.1|M2%4",
+ "XX|M1|XX",
+ ],
+ reactions: {
+ "grass": { elem2:null, chance:0.05, func:behaviors.FEEDPIXEL },
+ "dead_plant": { elem2:null, chance:0.05, func:behaviors.FEEDPIXEL },
+ "plant": { elem2:null, chance:0.05, func:behaviors.FEEDPIXEL },
+ "oxygen": { elem2:"carbon_dioxide", chance:0.3 },
+ "mercury": { elem1:"rotten_meat", chance:0.1 },
+ "bleach": { elem1:"rotten_meat", chance:0.1 },
+ "infection": { elem1:"rotten_meat", chance:0.025 },
+ "uranium": { elem1:"rotten_meat", chance:0.1 },
+ "cyanide": { elem1:"rotten_meat", chance:0.1 },
+ "chlorine": { elem1:"meat", chance:0.1 },
+ "alcohol": { elem1:"meat", chance:0.025 },
+ "dirty_water": { elem1:"rotten_meat", chance:0.0001 },
+ "pool_water": { elem1:"rotten_meat", chance:0.005 },
+ "vinegar": { elem1:"rotten_meat", chance:0.001 },
+ "body": { elem1:["wool","sheep"], chance:0.1 },
+ },
+ egg: "lamb",
+ foodNeed: 20,
+ temp: 30,
+ tempHigh: 100,
+ stateHigh: "cooked_meat",
+ tempLow: -18,
+ stateLow: "frozen_meat",
+ category:"life",
+ breakInto: ["meat","wool"],
+ burn:15,
+ burnTime:300,
+ state: "solid",
+ density: 1450,
+ conduct: 0.2
};
From 1126e180c95b97dcf8a4074cba9920b55e4855c6 Mon Sep 17 00:00:00 2001
From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com>
Date: Mon, 8 Apr 2024 20:37:18 +0800
Subject: [PATCH 11/18] i spent 2 hours making beef and duck before wooper
---
mods/aChefsDream.js | 538 ++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 521 insertions(+), 17 deletions(-)
diff --git a/mods/aChefsDream.js b/mods/aChefsDream.js
index 34d9342b..a7286eb9 100644
--- a/mods/aChefsDream.js
+++ b/mods/aChefsDream.js
@@ -1,20 +1,21 @@
/*
Created by SquareScreamYT/sqec <@918475812884344852>
Thanks to RealerRaddler <@914371295561535508>, Alice <@697799964985786450>, nousernamefound <@316383921346707468>, Adora the Transfem <@778753696804765696>, ryan(R74n) <@101070932608561152> and Fioushemastor <@738828785482203189> for helping :)
-Compatibility with other mods coming soon! s
+Compatibility with plants.js coming soon
+Works well with community_desserts.js
-v1.12.4
+v1.13
you can support me at my youtube: https://youtube.com/@sqec
Upcoming Features:
+- extract tool
- cinnamon
- spring onions
- white rice noodles
- matcha leaves, powder, tea
- cacao pods
- more chocolate, cocoa powder, white chocolate, cocoa butter
-- agar (makes juice into jelly)
- pigs, ham and bacon
- garlic
- stainless steel
@@ -35,7 +36,6 @@ Upcoming Features:
- peaches
- cucumbers
- eggplants
-- food coloring
- crabs (they eat coconuts)
- squids
- tofu
@@ -43,9 +43,6 @@ Upcoming Features:
- juice reaction with milk makes average color
- juice reaction with other juices
- jackfruit
-- barbecueing meats
-- bbq sauce
-- mustard
Changelog (v1.0)
- added chickens
@@ -419,6 +416,30 @@ Changelog (v1.12.4)
+Changelog (v1.13)
+ - added cracker and cracker dough
+ - added barbecue sauce
+ - added mustard
+ - added agar
+ - added barbecued chicken
+ - tweaked grape juice color
+ - added duck
+ - added duckling
+ - added duck eggs and frozen duck eggs
+ - added raw duck and cooked duck
+ - added fried duck
+ - added boiled duck
+ - added barbecued duck
+ - added smoked duck
+ - added steamed duck
+ - added cows
+ - added calves
+ - added steak and beef
+ - added smoked steak and barbecued steak
+
+
+
+
*/
/*
@@ -745,6 +766,45 @@ elements.chick = {
}
};
+elements.barbecued_chicken = {
+ color:["#bf743b", "#b57026","#8f5e29","#a87b11"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp:55,
+ tempHigh: 600,
+ stateHigh: ["ash","smoke"],
+ isFood: true,
+ hidden: true,
+}
+elements.barbecue_sauce = {
+ color: "#571e1A",
+ behavior: behaviors.LIQUID,
+ viscosity: 50000,
+ tempHigh: 260,
+ stateHigh: ["carbon_dioxide","methane","steam","salt","sugar"],
+ category:"food",
+ state: "liquid",
+ density: 1235,
+ stain: 0.05,
+ isFood: true,
+}
+if (!elements.ketchup.reactions) { elements.ketchup.reactions = {}; }
+elements.ketchup.reactions.molasses = { elem1:"barbecue_sauce", elem2:"barbecue_sauce" }
+
+elements.mustard = {
+ color: "#e1ad01",
+ behavior: behaviors.LIQUID,
+ viscosity: 50000,
+ tempHigh: 260,
+ stateHigh: ["carbon_dioxide","methane","steam","sugar"],
+ category:"food",
+ state: "liquid",
+ density: 1235,
+ stain: 0.05,
+ isFood: true
+}
+
elements.soup = {
color: "#fbd189",
behavior: behaviors.LIQUID,
@@ -830,8 +890,8 @@ elements.battered_raw_chicken = {
category: "food",
state: "solid",
temp:25,
- tempHigh: 600,
- stateHigh: ["ash","smoke"],
+ tempHigh: 125,
+ stateHigh: "cooked_chicken",
reactions: {
"crumb": { elem1: "raw_chicken_nugget", elem2: null },
},
@@ -918,7 +978,9 @@ elements.raw_chicken = {
"smoke": {elem1: "smoked_chicken"},
"steam": {elem1: "steamed_chicken"},
"water": {elem1: "boiled_chicken", tempMin: 70},
- "nut_oil": {elem1: "fried_chicken", tempMin: 70}
+ "nut_oil": {elem1: "fried_chicken", tempMin: 70},
+ "charcoal": {elem1: "barbecued_chicken", tempMin: 70},
+ "fire": {elem1: "barbecued_chicken"}
}
};
@@ -2100,13 +2162,13 @@ eLists.JUICEMIXABLE.push("watermelon_juice");
elements.grape.breakInto = "grape_juice",
elements.grape_juice = {
- color: "#6d2282",
+ color: "#291824",
behavior: behaviors.LIQUID,
onMix: function(pixel) {
if (shiftDown) {
if (Math.random() < 0.2) {
changePixel(pixel,"juice")
- pixel.color = pixelColorPick(pixel, "#6d2282")
+ pixel.color = pixelColorPick(pixel, "#291824")
}
}
},
@@ -3054,8 +3116,8 @@ elements.corn_starch = {
"seltzer": { elem1: "dough", elem2: null },
"pool_water": { elem1: "dough", elem2: null },
"juice": { elem1: "dough", elem2: null },
- "yolk": { elem1: "cookie_dough", elem2: null, color1:"#dbd19a" },
- "yogurt": { elem1: "cookie_dough", elem2: null, color1:"#dbd19a" },
+ "yolk": { elem1: "cracker_dough", elem2: null, color1:"#dbd19a" },
+ "yogurt": { elem1: "cracker_dough", elem2: null, color1:"#dbd19a" },
"broth": { elem1:"dough", elem2:null },
"soda": { elem1:"dough", elem2:null },
"tea": { elem1:"dough", elem2:null },
@@ -5695,6 +5757,7 @@ elements.seaweed_stem = {
"alcohol": { elem1:"dead_plant", elem2:null, chance:0.035 },
"mercury": { elem1:"dead_plant", elem2:null, chance:0.01 },
"stench": { elem2:null, chance:0.25 },
+ "alcohol": { elem1:"agar", elem2:null, chance:0.035 },
},
category:"life",
tempHigh: 100,
@@ -5721,6 +5784,7 @@ elements.seaweed = {
"alcohol": { elem1:"dead_plant", elem2:null, chance:0.035 },
"mercury": { elem1:"dead_plant", elem2:null, chance:0.01 },
"stench": { elem2:null, chance:0.25 },
+ "alcohol": { elem1:"agar", elem2:null, chance:0.035 },
},
category:"food",
tempHigh: 100,
@@ -7080,7 +7144,7 @@ elements.food_coloring = {
stainSelf: true,
ignore: ["glass", "porcelain", "wall","iron","steel","copper","silver","aluminum","tungsten","gold","plastic"],
desc: "coloring for food. color may fade when diluting with water.",
- tick: function (pixel) {
+ onMix: function (pixel) {
for (var i = 0; i < squareCoords.length; i++) {
var coord = squareCoords[i];
var x = pixel.x + coord[0];
@@ -7099,14 +7163,12 @@ elements.food_coloring = {
pixelMap[x][y].color = `rgb(${parseInt(newrgb2.r)},${parseInt(newrgb2.g)},${parseInt(newrgb2.b)})`;
if (Math.random() < 0.002) {
deletePixel(pixel.x,pixel.y)
- break
}
}
}
}
}
}
- doDefaults(pixel)
},
onSelect: function () {
logMessage("Tip: You can spread food coloring using water.");
@@ -7251,3 +7313,445 @@ elements.soy_sauce = {
density: 1200,
};
// end of confused part
+
+elements.ice.breakInto = "slush";
+
+elements.cracker_dough = {
+ color: "#dbd19a",
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ tempHigh: 94,
+ stateHigh: "cracker",
+ stateHighColorMultiplier: 1.1,
+ burn:40,
+ burnTime:25,
+ burnInto:"ash",
+ state: "solid",
+ density: 526.9,
+ isFood: true,
+ hidden: true
+}
+
+elements.cracker = {
+ color: "#e0ddb8",
+ behavior: behaviors.STURDYPOWDER,
+ tempHigh: 605,
+ stateHigh: "ash",
+ category: "food",
+ burn: 30,
+ burnTime: 200,
+ burnInto: ["smoke","smoke","smoke","ash"],
+ breakInto: "crumb",
+ state: "solid",
+ density: 233.96,
+ isFood: true
+}
+
+elements.agar = {
+ color: "#e0e0e0",
+ behavior: behaviors.POWDER,
+ reactions: {
+ "ice": { elem1:null, elem2:"salt_water", chance:0.1 },
+ "rime": { elem1:null, elem2:"salt_water", chance:0.075 },
+ "snow": { elem1:null, elem2:"salt_water", chance:0.25 },
+ "packed_snow": { elem1:null, elem2:"salt_water", chance:0.05 },
+ "packed_ice": { elem1:null, elem2:"salt_water", chance:0.01 }
+ },
+ category: "food",
+ tempHigh: 801,
+ state: "solid",
+ density: 2160,
+ alias: "gelatin"
+}
+// thanks to adora
+elements.agar.reactions.juice = { elem1:"jelly", elem2:null, chance:0.05, func: function(pixel1, pixel2){
+ let newrgb = interpolateRgb(getRGB('rgb(250,250,250)'), getRGB(pixel2.color), 0.7);
+ pixel1.color = `rgb(${parseInt(newrgb.r)},${parseInt(newrgb.g)},${parseInt(newrgb.b)})`;
+}}
+elements.agar.reactions.water = {elem1:"jelly",elem2:null,color1:"#e0e0e0",chance:0.05}
+
+elements.duck = {
+ color: ["#826c4e", "#2b5927", "#d6d6d6", "#7d4a2c"],
+ behavior: [
+ "M2%1 AND SW:water,salt_water,sugar_water,dirty_water,seltzer,pool_water,primordial_soup%1|M2%2 AND SW:water,salt_water,sugar_water,dirty_water,seltzer,pool_water,primordial_soup%50|M2%1 AND SW:water,salt_water,sugar_water,dirty_water,seltzer,pool_water,primordial_soup%1",
+ "M2%10|XX|M2%10",
+ "XX|M1%33|XX",
+ ],
+ category:"life",
+ state: "solid",
+ reactions: {
+ "meat": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "chicken_nugget": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "grass": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "worm": { elem2: "crushed_worm", chance:0.3},
+ "cooked_meat": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "fish": { elem2:null, chance:0.25, func:behaviors.FEEDPIXEL },
+ "rat": { elem2:null, chance:0.05, func:behaviors.FEEDPIXEL },
+ "snail": { elem2:null, chance:0.05, func:behaviors.FEEDPIXEL },
+ "frog": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "slug": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "grape": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "wheat_seed": { elem2:null, chance:0.4, func:behaviors.FEEDPIXEL },
+ "flower_seed": { elem2:null, chance:0.32, func:behaviors.FEEDPIXEL },
+ "corn_seed": { elem2:null, chance:0.35, func:behaviors.FEEDPIXEL },
+ "corn": { elem2:null, chance:0.4, func:behaviors.FEEDPIXEL },
+ "crumb": { elem2:null, chance:0.25, func:behaviors.FEEDPIXEL },
+ "potato_seed": { elem2:null, chance:0.4, func:behaviors.FEEDPIXEL },
+ "grass_seed": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin_seed": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "nut": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "dead_bug": { elem2:null, chance:0.35, func:behaviors.FEEDPIXEL },
+ "bee": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "ant": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "flea": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "termite": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "lichen": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "oxygen": { elem2:"carbon_dioxide", chance:0.3 },
+ "mercury": { elem1:"rotten_meat", chance:0.1 },
+ "bleach": { elem1:"rotten_meat", chance:0.1 },
+ "infection": { elem1:"rotten_meat", chance:0.025 },
+ "uranium": { elem1:"rotten_meat", chance:0.1 },
+ "cyanide": { elem1:"rotten_meat", chance:0.1 },
+ "chlorine": { elem1:"meat", chance:0.1 },
+ "dirty_water": { elem1:"rotten_meat", chance:0.0001 },
+ },
+ egg: "duck_egg",
+ foodNeed: 10,
+ temp: 40,
+ tempHigh: 75,
+ stateHigh: "cooked_duck",
+ tempLow: -18,
+ stateLow: "frozen_meat",
+ breakInto: "raw_duck",
+ burn:85,
+ burnTime:450,
+ state: "solid",
+ density: 1117,
+ conduct: 0.3,
+ cutInto: "raw_duck",
+};
+
+elements.duck_egg = {
+ color: "#e0d3ab",
+ behavior: behaviors.STURDYPOWDER2,
+ tick: function(pixel) {
+ if (Math.random() < 0.1 && pixel.temp > 20 && pixel.temp < 35) {
+ changePixel(pixel,"duckling")
+ }
+ doDefaults(pixel);
+ },
+ category: "food",
+ state: "solid",
+ temp: 20,
+ tempLow: -18,
+ stateLow: "frozen_duck_egg",
+ breakInto: ["yolk"],
+ tempHigh: 400,
+ stateHigh: ["calcium", "ash"],
+ burn:50,
+ burnTime:450,
+ state: "solid",
+ density: 900,
+ conduct: 0.1,
+ reactions: {
+ "water": { elem2:null, elem1:"hard_boiled_egg", chance:10, tempMin:80 }
+ }
+};
+elements.frozen_duck_egg = {
+ color: "#e0d3cf",
+ behavior: behaviors.POWDER,
+ category: "food",
+ state: "solid",
+ temp: -20,
+ tempHigh: 10,
+ stateHigh: "duck_egg",
+ breakInto: ["calcium", "hard_yolk"],
+ burn:50,
+ burnTime:450,
+ state: "solid",
+ density: 900,
+ conduct: 0.1,
+ hidden: true,
+};
+elements.duckling = {
+ color: ["#f0eba8", "#f0eba8"],
+ behavior: [
+ "M2%1|M2%2|M2%1",
+ "M2%10|FX%5 AND CH:duck%0.1|M2%10",
+ "XX|M1%33|XX",
+ ],
+ category: "life",
+ state: "solid",
+ egg: "duck_egg",
+ foodNeed: 20,
+ temp: 40,
+ tempHigh: 75,
+ stateHigh: "cooked_meat",
+ tempLow: -18,
+ stateLow: "frozen_meat",
+ breakInto: "blood",
+ burn:85,
+ burnTime:450,
+ state: "solid",
+ density: 900,
+ conduct: 0.1,
+ reactions: {
+ "crushed_worm": { elem2:null, chance:0.4, func:behaviors.FEEDPIXEL},
+ "meat": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "chicken_nugget": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "grass": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "worm": { elem2: "crushed_worm", chance:0.3},
+ "cooked_meat": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "fish": { elem2:null, chance:0.25, func:behaviors.FEEDPIXEL },
+ "rat": { elem2:null, chance:0.05, func:behaviors.FEEDPIXEL },
+ "snail": { elem2:null, chance:0.05, func:behaviors.FEEDPIXEL },
+ "frog": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "slug": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "grape": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "wheat_seed": { elem2:null, chance:0.4, func:behaviors.FEEDPIXEL },
+ "flower_seed": { elem2:null, chance:0.32, func:behaviors.FEEDPIXEL },
+ "corn_seed": { elem2:null, chance:0.35, func:behaviors.FEEDPIXEL },
+ "corn": { elem2:null, chance:0.4, func:behaviors.FEEDPIXEL },
+ "crumb": { elem2:null, chance:0.25, func:behaviors.FEEDPIXEL },
+ "potato_seed": { elem2:null, chance:0.4, func:behaviors.FEEDPIXEL },
+ "grass_seed": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin_seed": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "nut": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "dead_bug": { elem2:null, chance:0.35, func:behaviors.FEEDPIXEL },
+ "bee": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "ant": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "flea": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "termite": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "lichen": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "oxygen": { elem2:"carbon_dioxide", chance:0.3 },
+ "mercury": { elem1:"rotten_meat", chance:0.1 },
+ "bleach": { elem1:"rotten_meat", chance:0.1 },
+ "infection": { elem1:"rotten_meat", chance:0.025 },
+ "uranium": { elem1:"rotten_meat", chance:0.1 },
+ "cyanide": { elem1:"rotten_meat", chance:0.1 },
+ "chlorine": { elem1:"meat", chance:0.1 },
+ "dirty_water": { elem1:"rotten_meat", chance:0.0001 },
+ }
+};
+
+elements.barbecued_duck = {
+ color:["#a67d2d","#9c721f"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp:55,
+ tempHigh: 600,
+ stateHigh: ["ash","smoke"],
+ isFood: true,
+ hidden: true,
+}
+elements.steamed_duck = {
+ color:["#e8cb7b", "#d6bf7e"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp:50,
+ tempHigh: 600,
+ stateHigh: ["ash","smoke"],
+ isFood: true,
+ hidden: true,
+}
+
+elements.smoked_duck = {
+ color:["#6b470e", "#8f5b09"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp:55,
+ tempHigh: 600,
+ stateHigh: ["ash","smoke"],
+ isFood: true,
+ hidden: true,
+}
+elements.cooked_duck = {
+ color: ["#a38046", "#b39652"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp: 40,
+ tempHigh: 600,
+ stateHigh: ["ash", "smoke"],
+ hidden: true,
+};
+
+elements.raw_duck = {
+ color: ["#d6a587", "#c99873"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ burnInto: "cooked_duck",
+ temp:25,
+ tempHigh: 600,
+ stateHigh: ["cooked_duck"],
+ reactions: {
+ "smoke": {elem1: "smoked_duck"},
+ "steam": {elem1: "steamed_duck"},
+ "water": {elem1: "boiled_duck", tempMin: 70},
+ "nut_oil": {elem1: "fried_duck", tempMin: 70},
+ "charcoal": {elem1: "barbecued_duck", tempMin: 70},
+ "fire": {elem1: "barbecued_duck"}
+ }
+};
+
+elements.boiled_duck = {
+ color: ["#e0d4a4", "#e0d4a4"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ isFood: true,
+ temp: 65,
+ tempHigh: 600,
+ stateHigh: ["ash", "smoke"],
+ hidden: true,
+}
+
+elements.fried_duck = {
+ color: ["#c49543", "#b88835", "#b07b20", "#996e23"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ isFood: true,
+ temp: 90,
+ tempHigh: 600,
+ stateHigh: ["ash", "smoke"],
+ hidden: true,
+}
+// side note: i don't eat beef
+elements.cow = {
+ color: ["#292928", "#332b23", "#e0dfde", "#f0edeb"],
+ behavior: [
+ "M2%1|XX|M2%1",
+ "M2%10|XX|M2%10",
+ "XX|M1|XX",
+ ],
+ category:"life",
+ state: "solid",
+ reactions: {
+ "petal": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "grass": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "grape": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin_seed": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "nut": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "lichen": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "oxygen": { elem2:"carbon_dioxide", chance:0.3 },
+ "mercury": { elem1:"rotten_meat", chance:0.1 },
+ "bleach": { elem1:"rotten_meat", chance:0.1 },
+ "infection": { elem1:"rotten_meat", chance:0.025 },
+ "uranium": { elem1:"rotten_meat", chance:0.1 },
+ "cyanide": { elem1:"rotten_meat", chance:0.1 },
+ "chlorine": { elem1:"meat", chance:0.1 },
+ "dirty_water": { elem1:"rotten_meat", chance:0.0001 },
+ },
+ egg: "calf",
+ foodNeed: 10,
+ temp: 40,
+ tempHigh: 75,
+ stateHigh: "steak",
+ tempLow: -18,
+ stateLow: "frozen_meat",
+ breakInto: "raw_beef",
+ burn:85,
+ burnTime:450,
+ state: "solid",
+ density: 1117,
+ conduct: 0.3,
+ cutInto: "raw_beef",
+};
+elements.calf = {
+ color: ["#363535", "#bdbdbd"],
+ behavior: [
+ "M2%1|XX|M2%1",
+ "M2%10|FX%5 AND CH:cow%0.1|M2%10",
+ "XX|M1|XX",
+ ],
+ category: "life",
+ state: "solid",
+ foodNeed: 20,
+ temp: 40,
+ tempHigh: 75,
+ stateHigh: "steak",
+ tempLow: -18,
+ stateLow: "frozen_meat",
+ breakInto: "blood",
+ burn:85,
+ burnTime:450,
+ state: "solid",
+ density: 900,
+ conduct: 0.1,
+ reactions: {
+ "petal": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "grass": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "grape": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin_seed": { elem2:null, chance:0.3, func:behaviors.FEEDPIXEL },
+ "pumpkin": { elem2:null, chance:0.1, func:behaviors.FEEDPIXEL },
+ "nut": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "lichen": { elem2:null, chance:0.2, func:behaviors.FEEDPIXEL },
+ "oxygen": { elem2:"carbon_dioxide", chance:0.3 },
+ "mercury": { elem1:"rotten_meat", chance:0.1 },
+ "bleach": { elem1:"rotten_meat", chance:0.1 },
+ "infection": { elem1:"rotten_meat", chance:0.025 },
+ "uranium": { elem1:"rotten_meat", chance:0.1 },
+ "cyanide": { elem1:"rotten_meat", chance:0.1 },
+ "chlorine": { elem1:"meat", chance:0.1 },
+ "dirty_water": { elem1:"rotten_meat", chance:0.0001 },
+ },
+};
+
+elements.barbecued_steak = {
+ color:["#3b271a","#29180d"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp:55,
+ tempHigh: 600,
+ stateHigh: ["ash","smoke"],
+ isFood: true,
+ hidden: true,
+}
+
+elements.smoked_beef = {
+ color:["#3b1911", "#3b2719"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp:55,
+ tempHigh: 600,
+ stateHigh: ["ash","smoke"],
+ isFood: true,
+ hidden: true,
+}
+elements.steak = {
+ color: ["#a38046", "#b39652"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ temp: 40,
+ tempHigh: 600,
+ stateHigh: ["ash", "smoke"],
+ hidden: true,
+ alias: "cooked_beef"
+};
+
+elements.raw_beef = {
+ color: ["#ab5841", "#ab322e"],
+ behavior: behaviors.STURDYPOWDER,
+ category: "food",
+ state: "solid",
+ burnInto: "steak",
+ temp:25,
+ tempHigh: 600,
+ stateHigh: ["steak"],
+ reactions: {
+ "smoke": {elem1: "smoked_beef"},
+ "charcoal": {elem1: "barbecued_beef", tempMin: 70},
+ "fire": {elem1: "barbecued_beef"}
+ }
+};
From 050ec0b38f9e95003d308324b210858c87957c72 Mon Sep 17 00:00:00 2001
From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com>
Date: Mon, 8 Apr 2024 20:38:09 +0800
Subject: [PATCH 12/18] 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 84dfe98c..164ee392 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -218,7 +218,7 @@
| weapons.js | Adds some extra weapons | Jayd |
| Food & Cooking |
-| aChefsDream.js | Adds more foods, animals, tools and many other cooking related items. Updates can be found in this YouTube Playlist | SquareScreamYT, RealerRaddler |
+| aChefsDream.js | Adds more foods, animals, tools and many other cooking related items. Updates can be found in this YouTube Playlist | SquareScreamYTr |
| bananas.js | Adds bananas and banana plants | Alice |
| 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) |
From 62765a44b0d53c9896d6bfda3283dd7ee8162d7f Mon Sep 17 00:00:00 2001
From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com>
Date: Mon, 8 Apr 2024 20:39:49 +0800
Subject: [PATCH 13/18] ONO I FORGOR TO REMOVE THE R
---
mod-list.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mod-list.html b/mod-list.html
index 164ee392..23f82cb3 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -218,7 +218,7 @@
| weapons.js | Adds some extra weapons | Jayd |
| Food & Cooking |
-| aChefsDream.js | Adds more foods, animals, tools and many other cooking related items. Updates can be found in this YouTube Playlist | SquareScreamYTr |
+| aChefsDream.js | Adds more foods, animals, tools and many other cooking related items. Updates can be found in this YouTube Playlist | SquareScreamYT |
| bananas.js | Adds bananas and banana plants | Alice |
| 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) |
From eff8201f01c44dbed87cb995c812d080722a3235 Mon Sep 17 00:00:00 2001
From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com>
Date: Mon, 8 Apr 2024 20:43:01 +0800
Subject: [PATCH 14/18] cherries?
---
mods/aChefsDream.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/mods/aChefsDream.js b/mods/aChefsDream.js
index a7286eb9..ac55b359 100644
--- a/mods/aChefsDream.js
+++ b/mods/aChefsDream.js
@@ -26,6 +26,7 @@ Upcoming Features:
- kiwis
- guavas
- lychees
+- cherries (and the plasticky maraschino cherries 🤮🤮🤮)
- dragonfuits
- dates
- figs
From 6698153f14cb8e338ab950a7c04a7968017487ce Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Mon, 8 Apr 2024 12:00:33 -0400
Subject: [PATCH 15/18] v1.9.4.1
[Version 1.9.4.1 - April 8, 2024 - Eclipse Special]
+ Attempting to place Rock Wall on top of Sun begins a solar eclipse
+ Sun can draw over Light pixels
---
changelog.html | 6 ++++++
changelog.txt | 4 ++++
index.html | 37 +++++++++++++++++++++++++++++--------
3 files changed, 39 insertions(+), 8 deletions(-)
diff --git a/changelog.html b/changelog.html
index 58b8d1b7..c15e96dc 100644
--- a/changelog.html
+++ b/changelog.html
@@ -109,6 +109,12 @@
The original plain text version of this is still maintained.
+[Version 1.9.4.1 - April 8, 2024 - Eclipse Special]
+
+- + Attempting to place Rock Wall on top of Sun begins a solar eclipse
+- + Sun can draw over Light pixels
+
+
[Version 1.9.4 - March 17, 2024 - Natural Disasters]
- + Tornado
diff --git a/changelog.txt b/changelog.txt
index 0151f598..d4a995a4 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -7,6 +7,10 @@ See sneak peaks for upcoming updates on the Discord: https://discord.gg/ejUc6YPQ
A fancier version of this changelog can be found here: https://sandboxels.R74n.com/changelog
+[Version 1.9.4.1 - April 8, 2024 - Eclipse Special]
+ + Attempting to place Rock Wall on top of Sun begins a solar eclipse
+ + Sun can draw over Light pixels
+
[Version 1.9.4 - March 17, 2024 - Natural Disasters]
+ Tornado
+ Earthquake
diff --git a/index.html b/index.html
index 5888f200..94463d55 100644
--- a/index.html
+++ b/index.html
@@ -48,7 +48,7 @@