-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestingcheats.js
More file actions
55 lines (48 loc) · 1.41 KB
/
testingcheats.js
File metadata and controls
55 lines (48 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
TestingCheats = {};
TestingCheats.Alert = function(text){
TestingCheats.TEXT = text;
document.getElementById('StatusBar').innerHTML = (TestingCheats.TEXT + "<p>Man are you lucky you didn\n't type the wrong password!</p>");
};
TestingCheats.AcheveAll = function(password){
if(password != "chessmenink"){
alert("Oh man, you blew it. Now this window is gonna close and you are gonna lose all your stuff. Bye bye!");
close();
}else{
if(Achievement.Var.CheaterCheater != 1){
Achievement.Get.CheaterCheater();
}
for(var i in Achievement.Var){
Achievement.Var[i] = 1;
}
}
};
TestingCheats.HaxRFun = function(password){
if(password != "chessmenink"){
alert("Oh man, you blew it. Now this window is gonna close and you are gonna lose all your stuff. Bye bye!");
close();
}else{
Game.ToolLevels.PickLevel = 1000;
Game.ToolLevels.AxeLevel = 1000;
Game.ToolLevels.ShovelLevel = 1000;
Game.Iron = 1000;
Game.Stone = 1000;
Game.Dirt = 1000;
Game.Sod = 1000;
Game.Wood = 1000;
Game.Leaves = 1000;
Game.Update();
for(var i in Achievement.Var){
Achievement.Var[i] = 1;
}
Game.Update();
Achievement.Get.CheaterCheater();
};
};
TestingCheats.AwesomeCheat = function(password){
if(password != "chessmenink"){
alert("Oh man, you blew it. Now this window is gonna close and you are gonna lose all your stuff. Bye bye!");
close();
}else{
TestingCheats.Alert("Oh you\n're lucky!");
}
};