This commit is contained in:
slweeb 2025-10-11 13:00:19 -04:00
commit fe2d01cb91
3 changed files with 220 additions and 62 deletions

View File

@ -263,6 +263,7 @@
<tr><td>gameOfLife.js</td><td>Conway's Game of Life on a screen</td><td>ggod</td></tr> <tr><td>gameOfLife.js</td><td>Conway's Game of Life on a screen</td><td>ggod</td></tr>
<tr><td>heatshield.js</td><td>Heatshields, makes Plasma cooler</td></td><td>Taterbob</td></tr> <tr><td>heatshield.js</td><td>Heatshields, makes Plasma cooler</td></td><td>Taterbob</td></tr>
<tr><td>human_friendly_design.js</td><td>Pipes, Portals, Drag, and Mix don't kill humans</td><td>Nekonico</td></tr> <tr><td>human_friendly_design.js</td><td>Pipes, Portals, Drag, and Mix don't kill humans</td><td>Nekonico</td></tr>
<tr><td>industry.js</td><td>Conveyors and emitters for most energy types</td><td>pogdog</td></tr>
<tr><td>logicgates.js</td><td>Predictable electricity and logic gates</td><td>nousernamefound</td></tr> <tr><td>logicgates.js</td><td>Predictable electricity and logic gates</td><td>nousernamefound</td></tr>
<tr><td>note_block_advanced.js</td><td>Edit of Alice's note_block.js, adds different blocks with different frequencies</td><td>CharsonBurensen</td></tr> <tr><td>note_block_advanced.js</td><td>Edit of Alice's note_block.js, adds different blocks with different frequencies</td><td>CharsonBurensen</td></tr>
<tr><td>note_block.js</td><td>Musical Note Blocks</td><td>Alice</td></tr> <tr><td>note_block.js</td><td>Musical Note Blocks</td><td>Alice</td></tr>
@ -363,6 +364,7 @@
<tr><td>volcanic_expansion.js</td><td>Obsidian, Pumice, and Andesite rocks</td><td>Jayd</td></tr> <tr><td>volcanic_expansion.js</td><td>Obsidian, Pumice, and Andesite rocks</td><td>Jayd</td></tr>
<!----><tr><td class="modCat" colspan="3">Fun & Games</td></tr><!----> <!----><tr><td class="modCat" colspan="3">Fun & Games</td></tr><!---->
<tr><td>3pms_mod.js</td><td>Adds random stuff and tools</td><td>3pm</td></tr>
<tr><td>10kelements.js</td><td>Customizable amount of randomly generated elements</td><td>nousernamefound</td></tr> <tr><td>10kelements.js</td><td>Customizable amount of randomly generated elements</td><td>nousernamefound</td></tr>
<tr><td>all_around_fillers.js</td><td>Directional Filler variants</td><td>idk73248</td></tr> <tr><td>all_around_fillers.js</td><td>Directional Filler variants</td><td>idk73248</td></tr>
<tr><td>allliquids.js</td><td>Made all elements liquids</td><td>Orchid</td></tr> <tr><td>allliquids.js</td><td>Made all elements liquids</td><td>Orchid</td></tr>
@ -396,6 +398,7 @@
<tr><td>random_liquids.js</td><td>Randomly generates liquids on game load</td><td>Alice</td></tr> <tr><td>random_liquids.js</td><td>Randomly generates liquids on game load</td><td>Alice</td></tr>
<tr><td>sbmixup.js</td><td>Silly elements from a <a href="https://R74n.com/mix/" target="_blank">Mix-Up!</a> game</td><td>stefanblox</td> <tr><td>sbmixup.js</td><td>Silly elements from a <a href="https://R74n.com/mix/" target="_blank">Mix-Up!</a> game</td><td>stefanblox</td>
<tr><td>scp.js</td><td>Creatures and items from the SCP Wiki</td><td>Nekonico</td></tr> <tr><td>scp.js</td><td>Creatures and items from the SCP Wiki</td><td>Nekonico</td></tr>
<tr><td>sensitive.js</td><td>Makes all elements sensitive to air</td><td>pogdog</td></tr>
<tr><td>sports_beta.js</td><td>Several sports items</td><td>BluBun5193</td></tr> <tr><td>sports_beta.js</td><td>Several sports items</td><td>BluBun5193</td></tr>
<tr><td>star_wars.js</td><td>Various items from Star Wars by Disney</td><td>SeaPickle754</td> <tr><td>star_wars.js</td><td>Various items from Star Wars by Disney</td><td>SeaPickle754</td>
<tr><td>sus.js</td><td>Among Us crewmate</td><td>Nv7</td></tr> <tr><td>sus.js</td><td>Among Us crewmate</td><td>Nv7</td></tr>
@ -404,6 +407,7 @@
<tr><td>troll.js</td><td>Various dumb elements that iterate randomly on the entire screen</td><td>Alice</td></tr> <tr><td>troll.js</td><td>Various dumb elements that iterate randomly on the entire screen</td><td>Alice</td></tr>
<tr><td>WhisperingTheory.js</td><td>Powder and gas variant of heater and cooler</td><td>kaeud</td></tr> <tr><td>WhisperingTheory.js</td><td>Powder and gas variant of heater and cooler</td><td>kaeud</td></tr>
<!----><tr><td class="modCat" colspan="3">Visual Effects</td></tr><!----> <!----><tr><td class="modCat" colspan="3">Visual Effects</td></tr><!---->
<tr><td>acid_and_shapes.js</td><td>Weird visual effects enabled in settings</td><td>Alice</td></tr> <tr><td>acid_and_shapes.js</td><td>Weird visual effects enabled in settings</td><td>Alice</td></tr>
<tr><td>asciiboxels.js</td><td>Renders pixels as ASCII characters</td><td>Nekonico</td></tr> <tr><td>asciiboxels.js</td><td>Renders pixels as ASCII characters</td><td>Nekonico</td></tr>

View File

@ -1,43 +1,37 @@
// mod moment // made by 3pm
// also made by 3pm
// starting the initiation version = "0.0.2"
version = "0.0.1" subversion = "0.0.21"
subversion = "0.0.12" versionname = "Let's take a look..."
versionname = "Gullible On The Ceilling"
console.log("3pms_mod.js " + version + " \"" + versionname + "\"") console.log("3pms_mod.js " + version + " \"" + versionname + "\"")
console.log("3pms_mod.js | Initiating...") console.log("3pms_mod.js | Initiating...")
// bypassing the tps limit // bypassing the tps limit
// nvm this is useless
// whatever im keeping it
setTimeout(() => { function tpsPrompt() {
const tpsbutton = document.getElementById("tpsButton"); promptInput("Enter the new simulation Ticks Per Second (TPS). This is how many updates per second the simulation will run.\n\nThe default is 30.\n\nThe current TPS is " + tps + ".\n\nNOTE: 3pms_mod.js removes the TPS limit.\nAny TPS higher than 1000 isn't recommended.\n\n",
tpsbutton.onclick = () => { (r) => {
var tpsprompt = prompt( var newtps = parseInt(r);
"Enter the new simulation Ticks Per Second (TPS). This is how many updates per second the simulation will run.\n\n" + if (r !== null) {
"The default is 30.\n\nThe current TPS is " + tps + ".\n\nNOTE: 3pms_mod.js removes the TPS limit.\n" + if (isNaN(newtps) || newtps == "") logMessage("You did not enter a valid TPS.");
"Any TPS higher than 1000 isn\'t recommended.\n\n" else {
); newtps = parseInt(newtps);
if (isNaN(newtps) || newtps <= 0) {
var newtps = parseInt(tpsprompt); logMessage("You did not enter a valid TPS.");
if (tpsprompt !== null) { }
if (isNaN(newtps) || newtps == "") { else {
alert("You did not enter a valid TPS."); tps = newtps;
} else { delete currentSaveData.oldTps;
tps = parseInt(newtps); }
if (isNaN(tps) || tps <= 0) { }
alert("You did not enter a valid TPS."); resetInterval(tps);
tps = 30;
} }
} focusGame();
resetInterval(tps); },
} "Change TPS"
focusGame(); )
}; }
}, 1000);
// more settings // more settings
@ -60,7 +54,7 @@ setTimeout(() => {
</div> </div>
</div> </div>
</div>`); </div>`);
const menuText = document.getElementsByClassName("menuText")[6] const menuText = document.getElementsByClassName("menuText")[9]
const newButton = document.createElement("button") const newButton = document.createElement("button")
newButton.innerText = "More Settings" newButton.innerText = "More Settings"
newButton.className = "settingsButton" newButton.className = "settingsButton"
@ -73,7 +67,7 @@ setTimeout(() => {
// elements // elements
elements.calcium_oxide = { // most of this is taken off calcium elements.calcium_oxide = {
color: ["#544E45","#6A635E","#6E6A61","#756F62","#918A7B"], color: ["#544E45","#6A635E","#6E6A61","#756F62","#918A7B"],
tick: function(pixel) { tick: function(pixel) {
behaviors.POWDER(pixel); behaviors.POWDER(pixel);
@ -95,39 +89,56 @@ elements.calcium_oxide = { // most of this is taken off calcium
fireColor: "#ff6b21" fireColor: "#ff6b21"
} }
elements.eeraser = { // finally integrating it after over a year elements.eeraser = {
color: "#FFFF00", color: "#FFFF00",
behavior: behaviors.WALL, behaviorOn: [
behaviorON: [ "DL|XX|DL",
"DL|DL|DL", "DL|XX|DL",
"DL|DL|DL",
"DL|DL|DL", "DL|DL|DL",
], ],
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|XX|XX"
],
conduct: 0.5,
category: "machines", category: "machines",
insulate: elements.wire.insulate, state: "solid",
conduct: elements.wire.conduct,
noMix: elements.wire.noMix
}; };
// stopping the initiation // tools
elements.replace_all_of_element = {
color: ["#ff3030", "#800000"],
name: "replace all of element",
onSelect: async function() {
promptInput(
"Enter the element to be replaced.",
(r) => {
if (r in elements) {
elements.replace_all_of_element.tool = function(pixel) {
elementbefore = pixel.element
for (var i = 0; i <= width; i++) {
for (var j = 0; j <= height; j++) {
if (!isEmpty(i,j,true)) {
if(pixelMap[i][j].element == elementbefore) {
changePixel(pixelMap[i][j], r)
}
}
}
}
}
} else {
logMessage("You did not enter an existing element.");
}
},
"3pms_mod.js"
);
},
category: "tools",
};
setTimeout(() => { setTimeout(() => {
console.log("3pms_mod.js | Initiated. Thank you.") console.log("3pms_mod.js | Initiated. Thank you.")
}, 1000); }, 1000);
const thing=document.createElement("p");thing.innerText="MY NAME 📛 IS DAVID 👨‍🎤 DAD 👨‍👩‍👧‍👦👨‍👩‍👧‍👧 I WANT SOME ICE 🧊🇦🇶 CREAM 🧴🧴 DAVID 👨‍🎤 THAT IS MY NAME 📛 DAVID 👨‍🎤👨‍🎤 I WANT ANOTHER WHERE ❔❓ IS MY BALL 🏈🏈 IM RUNNING 🏃‍♂️🏃‍♀️ OUT ON 🔛 THE ROAD 🚧 THERE IS A 🅰️ CAR 🚔🚖 AND IT IS GOING TO HIT 👊 ME 🖐🙋‍♀️ HEEEEEEEEELP HELP 💁 MEEEEEEE HEEEEEEEEEEEEEEEEELP\n\nthanks for using 3pms_mod.js :3";document.body.appendChild(thing)

View File

@ -3,7 +3,7 @@
// https://github.com/SquareScreamYT/ // https://github.com/SquareScreamYT/
// https://youtube.com/@sqec // https://youtube.com/@sqec
version = "v2.1.0" version = "v2.1.1"
runAfterLoad(function() { runAfterLoad(function() {
console.log("Current aChefsDream version: "+version) console.log("Current aChefsDream version: "+version)
@ -595,4 +595,147 @@ elements.pistachio_powder = {
hidden: true hidden: true
} }
elements.pumpkin_mash = {
color: ["#f59c2f", "#efa810", "#e38f1a"],
behavior: behaviors.STURDYPOWDER,
tempHigh: 125,
stateHigh: ["pumpkin_spice","pumpkin_spice","smoke"],
category: "food",
state: "liquid",
density: 500,
isFood: true,
hidden: true,
}
elements.pumpkin.breakInto = ["pumpkin_seed", "pumpkin_mash", "pumpkin_mash", "pumpkin_mash", "pumpkin_mash", null];
elements.pumpkin_spice = {
color: ["#95570b", "#ba7f36"],
behavior: behaviors.POWDER,
tempHigh: 400,
stateHigh: ["smoke","smoke","smoke","smoke","ash"],
category: "food",
state: "solid",
density: 500,
isFood: true,
hidden: true,
}
elements.cinnamon_powder.reactions.nutmeg_powder = { elem1: "pumpkin_spice", elem2: null, chance: 0.5 };
elements.coffee.reactions.pumpkin_mash = { elem2: null, color1: "#7e3c09", chance: 0.005 };
elements.coffee.reactions.pumpkin_spice = { elem2: null, color1: "#7e3c09", chance: 0.005 };
elements.nutmeg_tree = {
color: "#6B4226",
behavior: behaviors.WALL,
tempHigh: 400,
stateHigh: ["ember", "charcoal", "fire"],
category: "solids",
burn: 5,
burnTime: 300,
burnInto: ["ember", "charcoal", "fire"],
state: "solid",
hardness: 0.2,
breakInto: "sawdust",
hidden: true
};
elements.nutmeg_branch = {
color: "#5c3b23",
behavior: [
"CR:nutmeg_leaves,nutmeg_branch%2|CR:nutmeg_leaves,nutmeg_branch%2|CR:nutmeg_leaves,nutmeg_branch%2",
"XX|XX|XX",
"XX|XX|XX",
],
tempHigh: 100,
stateHigh: "nutmeg_tree",
tempLow: -30,
stateLow: "nutmeg_tree",
category: "life",
burn: 30,
burnTime: 60,
burnInto: ["sap", "ember"],
hidden: true,
state: "solid",
density: 1400,
breakInto: ["sap", "sawdust"]
};
elements.nutmeg_leaves = {
color: ["#4b7d3d", "#558c40"],
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|CR:nutmeg_fruit%0.1|XX",
],
reactions: {
"vinegar": { elem1: "dead_plant", chance: 0.035 },
"baking_soda": { elem1: "dead_plant", chance: 0.01 },
"bleach": { elem1: "dead_plant", chance: 0.05 },
"alcohol": { elem1: "dead_plant", chance: 0.035 },
},
category: "life",
tempHigh: 90,
stateHigh: "dead_plant",
tempLow: -1.5,
stateLow: "frozen_plant",
burn: 60,
burnTime: 60,
burnInto: "dead_plant",
state: "solid",
density: 1050,
hidden: true
};
elements.nutmeg_fruit = {
color: ["#c0a25d", "#ddb86c"],
behavior: behaviors.POWDER,
category: "food",
tempHigh: 100,
stateHigh: "dead_plant",
burn: 60,
burnTime: 60,
cutInto: ["mace", "nutmeg", "nutmeg"],
breakInto: ["mace", "nutmeg", "nutmeg"],
state: "solid",
density: 1050
};
elements.mace = {
color: ["#e04e1b", "#cc3614"],
behavior: behaviors.POWDER,
category: "food",
tempHigh: 250,
stateHigh: ["ash", "smoke"],
isFood: true,
state: "solid",
density: 900,
hidden: false
};
elements.nutmeg = {
color: ["#8b5a2b", "#A0522D"],
behavior: behaviors.POWDER,
category: "food",
tempHigh: 250,
stateHigh: ["ash", "smoke"],
isFood: true,
state: "solid",
density: 1000,
breakInto: "nutmeg_powder",
};
elements.nutmeg_powder = {
color: "#C58940",
behavior: behaviors.POWDER,
category: "food",
tempHigh: 250,
stateHigh: ["ash", "smoke"],
isFood: true,
state: "solid",
density: 950,
hidden: false
};
},true) },true)