From 1892df648dbbea97c7228e67281998e661ea3d7d Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Thu, 26 Jun 2025 13:06:18 -0400
Subject: [PATCH] devsnacks.js
---
mod-list.html | 4 +++
mods/devsnacks.js | 76 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
create mode 100644 mods/devsnacks.js
diff --git a/mod-list.html b/mod-list.html
index 1c4c1b48..cd5fcfa0 100644
--- a/mod-list.html
+++ b/mod-list.html
@@ -131,6 +131,7 @@
| classic_textures.js | Use textures from early versions of the game | R74n |
| color_everything.js | Allows every element to have a custom color | R74n |
| death_count.js | Messages counting when Humans die | R74n |
+| devsnacks.js | Extra food ingredients and recipes; Only Tea stuff currently | R74n |
| devtests.js | Experimental features from the Sandboxels developer | R74n |
| edible_everything.js | Allows every element to be mixed into Batter and Dough | R74n |
| fools.js | Re-adds FOOLS Mode | R74n |
@@ -140,6 +141,7 @@
| gravity_test.js | Test for altered gravity, makes all pixels move inward | R74n |
| mustard.js | Mustard and Mustard Seeds | R74n |
| rainbow_cursor.js | Makes your cursor multicolored | R74n |
+| random_everything.js | Allows every element to be spawned with Random | R74n |
| smooth_water.js | Changes water mechanics so that it flows in one direction until it bounces off of something | R74n |
| souls.js | Human Souls, Ectoplasm, and Tombstones | R74n |
| spring.js | Many nature elements, like sakura trees, butterflies, beehives, and more | R74n |
@@ -179,6 +181,7 @@
| pixelResizeTool.js | Button to change pixel scale | feeshmaster |
| prompt.js | Primitive command console | Alice |
| prop.js | Tool to edit the attributes of pixels | Alice |
+| random_everything.js | Allows every element to be spawned with Random | R74n |
| replace_all.js | Way to replace every pixel of an element with another element [More Info] | Alice |
| replace.js | Tool that replaces every pixel of a specified element with another specified element [" to open] | Alice |
| save_loading.js | The ability to save and load scenes from files [See the info page of the element] | Alice |
@@ -289,6 +292,7 @@
| bananas.js | Bananas and banana plants | Alice |
| CherrySoda.js | Materials to make cherry soda | guzzo86 |
| community_desserts.js | Various desserts from community suggestions | Tisquares |
+| devsnacks.js | Extra food ingredients and recipes; Only Tea stuff currently | R74n |
| GrapeSoda.js | Materials to make grape soda | guzzo86 |
| greenitemsandmore.js | Various green things, including apples and more food | zonneschijn7 |
| ketchup_mod.js | Many ketchup related elements, plus a few other condiments | Nubo318, Devi, Alice |
diff --git a/mods/devsnacks.js b/mods/devsnacks.js
new file mode 100644
index 00000000..f1cde22f
--- /dev/null
+++ b/mods/devsnacks.js
@@ -0,0 +1,76 @@
+/*
+herbs
+heat into steamed herb
+smash into tea powder
+tea powder + hot water = colored tea
+*/
+
+elements.herb.tempHigh = 100;
+elements.herb.stateHigh = ["steamed_herb","steamed_herb","steam",null];
+
+if (!elements.herb.reactions) {
+ elements.herb.reactions = {};
+}
+elements.herb.reactions.steam = { elem1:"steamed_herb" }
+
+elements.steamed_herb = {
+ color: ["#5a790c","#698f1f","#849d33","#b3c74d"],
+ reactions: {
+ "water": { elem2:"tea", tempMin:80 },
+ "salt_water": { elem2:"tea", tempMin:80 },
+ "sugar_water": { elem2:"tea", tempMin:80 },
+ "seltzer": { elem2:"tea", tempMin:80 },
+ "stench": { elem2:null, chance:0.25 },
+ "steam": { elem2:"fragrance", chance:0.1 },
+ "flea": { elem2:null, chance:0.01 },
+ "termite": { elem2:null, chance:0.01 },
+ "fly": { elem2:null, chance:0.01 },
+ "ant": { elem2:null, chance:0.01 },
+ "stink_bug": { elem2:null, chance:0.01 }
+ },
+ behavior: behaviors.POWDER,
+ tempHigh: 300,
+ stateHigh: ["fire","smoke","smoke","smoke","ash"],
+ tempLow: -2,
+ stateLow: "frozen_plant",
+ burn:10,
+ burnTime:300,
+ burnInto: ["fire","smoke","smoke","smoke","smoke","smoke","smoke","fragrance"],
+ category:"food",
+ state: "solid",
+ density: 1300,
+ isFood: true,
+ hidden: true,
+ breakInto: ["tea_powder",null]
+};
+
+elements.tea_powder = {
+ color: ["#C4CD3F","#B7C134","#97A328"],
+ grain: 2,
+ reactions: {
+ "water": { elem2:"tea", tempMin:80, elem1:null },
+ "salt_water": { elem2:"tea", tempMin:80, elem1:null },
+ "sugar_water": { elem2:"tea", tempMin:80, elem1:null },
+ "seltzer": { elem2:"tea", tempMin:80, elem1:null },
+ "tea": { tempMin:80, elem1:null, chance:0.01 },
+ "stench": { elem2:null, chance:0.25 },
+ "steam": { elem2:"fragrance", chance:0.1 },
+ "flea": { elem2:null, chance:0.01 },
+ "termite": { elem2:null, chance:0.01 },
+ "fly": { elem2:null, chance:0.01 },
+ "ant": { elem2:null, chance:0.01 },
+ "stink_bug": { elem2:null, chance:0.01 }
+ },
+ behavior: behaviors.POWDER,
+ tempHigh: 300,
+ stateHigh: ["fire","smoke","smoke","smoke","ash"],
+ burn:10,
+ burnTime:300,
+ burnInto: ["fire","smoke","smoke","smoke","smoke","smoke","smoke","fragrance"],
+ category:"food",
+ state: "solid",
+ density: 1200,
+ isFood: true,
+ hidden: true
+}
+elements.water.reactions.tea_powder = { elem1:"tea", chance:0.0002 }
\ No newline at end of file