Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Commit ed05003

Browse files
authored
Cookie Hax 1.0
Uploaded hacks
1 parent 26b05fa commit ed05003

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

cookiehax1.0.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
function showCookieHaxModMenu() {
2+
let code = prompt("Enter the code to access the Cookie Hax mod menu:");
3+
if (code !== "SUSSY123") {
4+
alert("Invalid code. Access denied.");
5+
return;
6+
}
7+
8+
alert("Welcome to Cookie Hax 1.0!");
9+
10+
let achievementName = prompt("Enter the name of the achievement (or type 'SKIP' to skip):");
11+
if (achievementName !== "SKIP") {
12+
Game.Achievements[achievementName].won = 1;
13+
}
14+
15+
let ascendAmount = parseInt(prompt("Enter the number of ascensions (1 or more) (or type 'SKIP' to skip):"));
16+
if (!isNaN(ascendAmount) && ascendAmount !== "SKIP") {
17+
Game.Ascend(ascendAmount);
18+
}
19+
20+
let ascendTimer = parseInt(prompt("Enter the ascend timer value (in milliseconds) (or type 'SKIP' to skip):"));
21+
if (!isNaN(ascendTimer) && ascendTimer !== "SKIP") {
22+
Game.AscendTimer = ascendTimer;
23+
}
24+
25+
let bakeryName = prompt("Enter the name for your bakery (or type 'SKIP' to skip):");
26+
if (bakeryName !== "SKIP") {
27+
Game.bakeryName = bakeryName;
28+
Game.bakeryNameRefresh();
29+
}
30+
31+
let numCookies = prompt("Enter the number of cookies (or type 'SKIP' to skip):");
32+
if (!isNaN(numCookies) && numCookies !== "SKIP") {
33+
Game.cookies = parseInt(numCookies);
34+
}
35+
36+
// Continue adding prompts and corresponding mod functions below
37+
38+
alert("Modifications applied successfully!");
39+
}
40+
41+
// Call the function to show the Cookie Hax mod menu
42+
showCookieHaxModMenu();

0 commit comments

Comments
 (0)