From e8bfc9aee7b63478fdfb94c61c65e4ceebc1bfe7 Mon Sep 17 00:00:00 2001 From: 3pm-on-github Date: Sun, 10 Nov 2024 12:10:38 +0100 Subject: [PATCH 1/3] 3pms_mod.js!! --- mods/3pms_mod.js | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 mods/3pms_mod.js diff --git a/mods/3pms_mod.js b/mods/3pms_mod.js new file mode 100644 index 00000000..93137f7d --- /dev/null +++ b/mods/3pms_mod.js @@ -0,0 +1,91 @@ +// mod moment +// also made by 3pm + +// starting the initiation + +console.log("3pms_mod.js | Initiating...") + +// bypassing the tps limit + +setTimeout(() => { + const tpsbutton = document.getElementById("tpsButton"); + tpsbutton.onclick = () => { + var tpsprompt = prompt( + "Enter the new simulation Ticks Per Second (TPS). This is how many updates per second the simulation will run.\n\n" + + "The default is 30.\n\nThe current TPS is " + tps + ".\n\nNOTE: 3pms_mod.js removes the TPS limit.\n" + + "Any TPS higher than 1000 isn\'t recommended.\n\n" + ); + + var newtps = parseInt(tpsprompt); + if (tpsprompt !== null) { + if (isNaN(newtps) || newtps == "") { + alert("You did not enter a valid TPS."); + } else { + tps = parseInt(newtps); + if (isNaN(tps) || tps <= 0) { + alert("You did not enter a valid TPS."); + tps = 30; + } + } + resetInterval(tps); + } + focusGame(); + }; +}, 1000); + +// more settings ig (coming soon) + +/* +function showMoreSettings() { + showingMenu="moresettings" + console.log("3pms_mod.js | Opening More Settings....") + var moresettingsParent = document.getElementById("moresettingsParent"); + moresettingsParent.style.display = "block"; +} + +setTimeout(() => { + // make the html injecting easier, do le insert adjacent html + const gamediv = document.getElementById("gameDiv") + gamediv.insertAdjacentHTML("beforeend", '
Settings
'); + const menuText = document.getElementsByClassName("menuText")[4] + const newButton = document.createElement("button") + newButton.innerText = "More Settings" + newButton.className = "settingsButton" + newButton.onclick = () => { + closeMenu(); + showMoreSettings() + } + menuText.appendChild(newButton) +}, 1000); + +*/ + +// elements + +elements.calcium_oxide = { // most of this is taken off calcium + color: ["#544E45","#6A635E","#6E6A61","#756F62","#918A7B"], + tick: function(pixel) { + behaviors.POWDER(pixel); + for (var i = 0; i < adjacentCoords.length; i++) { + var x = pixel.x+adjacentCoords[i][0]; + var y = pixel.y+adjacentCoords[i][1];} }, + tempHigh: 842, + reactions: { + water: {elem1:"calcium_oxide", elem2:"steam"}, + salt_water: {elem1:"calcium_oxide", elem2:"steam"}, + sugar_water: {elem1:"calcium_oxide", elem2:"steam"}, + dirty_water: {elem1:"calcium_oxide", elem2:"steam"} + }, + category: "powders", + state: "solid", + density: 1550, + conduct: 0.40, + hardness: 0.2, + fireColor: "#ff6b21" +} + +// stopping the initiation + +setTimeout(() => { + console.log("3pms_mod.js | Initiated. Thank you.") +}, 1000); \ No newline at end of file From db4afec27dac4a0bca6bb0c9195e380635cf86bf Mon Sep 17 00:00:00 2001 From: GachaYTB3 Date: Sun, 18 May 2025 15:49:39 +0200 Subject: [PATCH 2/3] changing the changes --- mods/3pms_mod.js | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/mods/3pms_mod.js b/mods/3pms_mod.js index 93137f7d..f7edfb20 100644 --- a/mods/3pms_mod.js +++ b/mods/3pms_mod.js @@ -6,6 +6,7 @@ console.log("3pms_mod.js | Initiating...") // bypassing the tps limit +/* nvm this is useless setTimeout(() => { const tpsbutton = document.getElementById("tpsButton"); @@ -32,10 +33,11 @@ setTimeout(() => { focusGame(); }; }, 1000); +*/ // more settings ig (coming soon) +// edit: why did i set this as coming soon -/* function showMoreSettings() { showingMenu="moresettings" console.log("3pms_mod.js | Opening More Settings....") @@ -46,8 +48,17 @@ function showMoreSettings() { setTimeout(() => { // make the html injecting easier, do le insert adjacent html const gamediv = document.getElementById("gameDiv") - gamediv.insertAdjacentHTML("beforeend", '
Settings
'); - const menuText = document.getElementsByClassName("menuText")[4] + gamediv.insertAdjacentHTML("beforeend", ` + `); + const menuText = document.getElementsByClassName("menuText")[6] const newButton = document.createElement("button") newButton.innerText = "More Settings" newButton.className = "settingsButton" @@ -58,8 +69,6 @@ setTimeout(() => { menuText.appendChild(newButton) }, 1000); -*/ - // elements elements.calcium_oxide = { // most of this is taken off calcium @@ -88,4 +97,21 @@ elements.calcium_oxide = { // most of this is taken off calcium setTimeout(() => { console.log("3pms_mod.js | Initiated. Thank you.") -}, 1000); \ No newline at end of file +}, 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 ๐Ÿˆ๐Ÿˆ Iโ€™M 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) \ No newline at end of file From 1828d03bde074ac24bda6d639d5c6f2b3b22d4e0 Mon Sep 17 00:00:00 2001 From: 3pm-on-github Date: Sun, 18 May 2025 16:00:36 +0200 Subject: [PATCH 3/3] gullible --- mods/3pms_mod.js | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/mods/3pms_mod.js b/mods/3pms_mod.js index f7edfb20..4e39d814 100644 --- a/mods/3pms_mod.js +++ b/mods/3pms_mod.js @@ -2,11 +2,16 @@ // also made by 3pm // starting the initiation +version = "0.0.1" +subversion = "0.0.12" +versionname = "Gullible On The Ceilling" +console.log("3pms_mod.js " + version + " \"" + versionname + "\"") console.log("3pms_mod.js | Initiating...") // bypassing the tps limit -/* nvm this is useless +// nvm this is useless +// whatever im keeping it setTimeout(() => { const tpsbutton = document.getElementById("tpsButton"); @@ -33,10 +38,8 @@ setTimeout(() => { focusGame(); }; }, 1000); -*/ -// more settings ig (coming soon) -// edit: why did i set this as coming soon +// more settings function showMoreSettings() { showingMenu="moresettings" @@ -46,7 +49,6 @@ function showMoreSettings() { } setTimeout(() => { - // make the html injecting easier, do le insert adjacent html const gamediv = document.getElementById("gameDiv") gamediv.insertAdjacentHTML("beforeend", `