-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathachievements.js
268 lines (268 loc) · 7.61 KB
/
achievements.js
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
var achievements = {
one_oat: {
text: "You clicked the oat!",
possible: () => game.oat_count > 0
},
ten_click: {
text: "Deca-clicker: you clicked the oat ten times!",
possible: () => game.oat_count >= 10
},
_69_oats: {
text: "69 oats. nice",
possible: () => game.oat_count >= 69
},
firstspoon: {
text: "You have a spoon!",
possible: () => game.upgrades.spoon.owned >= 1
},
fiftyoats: {
text: "you have 50 oats!",
possible: () => game.oat_count >= 50
},
linux: {
text: "linux user: you're using the coolest OS",
possible: () => /linux/i.test(navigator.userAgent) && game.oat_count >= 10
},
one_hundred: {
text: "wow! 100 oats!",
possible: () => game.oat_count >= 100
},
bowl: {
text: "your first oat bowl",
possible: () => game.upgrades.bowl.owned >= 1
},
pot1: {
text: "your first oat pot",
possible: () => game.upgrades.pot.owned >= 1
},
cow1: {
text: "moo moo cachoo: you have an oat cow",
possible: () => game.upgrades.cow.owned >= 1
},
cow10: {
text: "farmer: you have lots of cows",
possible: () => game.upgrades.cow.owned >= 10
},
cow20: {
text: "local legend: you are known for your numerous cows",
possible: () => game.upgrades.cow.owned >= 20
},
cow30: {
text: "mad cow disease: you are obsessed with your cows",
possible: () => game.upgrades.cow.owned >= 30
},
cow40: {
text: "PETA has its eyes on you. One false move and your cows could be confiscated",
possible: () => game.upgrades.cow.owned >= 40
},
cow50: {
text: "Great Cow Guru: keep an eye on your fields...",
possible: () => game.upgrades.cow.owned >= 50
},
cow100: {
text: "milk master: you put the cows in their place",
possible: () => game.cow_war_won
},
oats200: {
text: "200 oats! that's incredible!",
possible: () => game.oat_count >= 200
},
oats500: {
text: "Five hundred oats: that's like, a lot or something",
possible: () => game.oat_count >= 500
},
oats1k: {
text: "Bob's Red Mill: you have one thousand oats",
possible: () => game.oat_count >= 1000
},
tenops: {
text: "Ten OPS: that's a whole bunch!",
possible: () => game.ops >= 10
},
hunredops: {
text: "you're making 100 oats every second. that's epic!",
possible: () => game.ops >= 100
},
onekops: {
text: "Ten Red Mills: you have 1,000 ops",
possible: () => game.ops >= 1000
},
hundredkops: {
text: "oat hero: you have 100,000 OPS",
possible: () => game.ops >= 100_000
},
cinnamon1: {
text: "The lottery is a risky business",
possible: () => game.upgrades.cinnamon.owned >= 1
},
spoonguru: {
text: "Spoon guru: you have fifty spoons",
possible: () => game.upgrades.spoon.owned >= 50
},
spoonlord: {
text: "Spoon lord: you have a hundred spoons",
possible: () => game.upgrades.spoon.owned >= 100
},
fourtwenty: {
text: "420 oats: blaze it!",
possible: () => game.oat_count >= 420
},
billion: {
text: "Get a life: you have one billion oats",
possible: () => game.oat_count >= 1_000_000_000
},
million: {
text: "A whole million oats",
possible: () => game.oat_count >= 1_000_000
},
thirty: {
text: "Quaker: you have thirty oats",
possible: () => game.oat_count >= 30
},
fortyfive: {
text: "brother, may I have some oats?",
possible: () => game.oat_count >= 45
},
lotterymaster: {
text: "Lottery master: you're a big gambler",
possible: () => game.upgrades.cinnamon.owned >= 25
},
threehundred: {
text: "a whole three hundred oats",
possible: () => game.oat_count >= 300
},
sixhundred: {
text: "Man, six hundred",
possible: () => game.oat_count >= 600
},
twomil: {
text: "two million oats, that's at least, like, a couple bowls",
possible: () => game.oat_count >= 2_000_000
},
fourmil: {
text: "Oat country: you have enough oats to start a small nation",
possible: () => game.oat_count >= 4_000_000
},
threemil: {
text: "Oat fetish: you are <a href='https://web.archive.org/web/20201111222258/https://answers.yahoo.com/question/index?qid=20110813210020AAzGwIe' class='link' target='_blank'>sexually attracted to oats.</a>",
possible: () => game.oat_count >= 3_000_000
},
beetle1: {
text: "You have an Oat Beetle",
possible: () => game.upgrades.beetle.owned > 0
},
beetl2: {
text: "You have two Oat Beetles",
possible: () => game.upgrades.beetle.owned > 1
},
twohundredbeetles: {
text: "The Beetles: your beetles have inspired the pop band The Beetles to write their hit song <i> I am the beetle, I am the oat man </i>",
possible: () => game.upgrades.beetle.owned >= 200
},
tendmil: {
text: "Ten million oats... you sure could buy a lotta cows with that",
possible: () => game.oat_count >= 10_000_000
},
tril: {
text: "Oat Lord: you have a trillion oats",
possible: () => game.oat_count >= 1_000_000_000_000
},
tentril: {
text: "Ten trillion oats: go outside",
possible: () => game.oat_count >= 10_000_000_000_000
},
hundredtril: {
text: "100 trillion oats! that's 100,000,000,000,000",
possible: () => game.oat_count >= 100_000_000_000_000
},
quad: {
text: "you have one quadrillion oats; go touch some grass",
possible: () => game.oat_count >= 1_000_000_000_000_000
},
granary: {
text: "you were never one of them money hungry fools. you're hungry for <i>oats</i>!",
possible: () => game.upgrades.granary.owned > 0
},
debt: {
text: "debt: your oat count is in the negatives",
possible: () => game.oat_count < 0
},
peta: {
text: "PETA wants you dead for animal cruelty. Preferably burned at a stake, but any form of cruel execution will do.",
possible: () => game.upgrades.cow.multiplier > 1
},
temple: {
text: "You have founded a new religion.",
possible: () => game.upgrades.temple.owned > 0
},
preist: {
text: "Priest: you are a powerful leader",
possible: () => game.upgrades.temple.owned >= 5
},
poly1: {
text: "two gods are better than one",
possible: () => game.upgrades.polytheism.owned >= 1
},
poly5: {
text: "Suck-up: you \"please\" five gods",
possible: () => game.upgrades.polytheism.owned >= 5
},
poly10: {
text: "Your many oat gods love you almost as much as you love them",
possible: () => game.upgrades.polytheism.owned >= 10
},
poly100: {
text: "Oat Messiah: Your religion has inspired the popular prog rock band \"No\" to create their latest album, <i> Theatrics </i>",
possible: () => game.upgrades.polytheism.owned >= 100
},
jesus: {
text: "Better than Jesus: your Oat Gods are way cooler than the messiah",
possible: () => game.upgrades.polytheism.owned >= 200
},
gold: {
text: "Gold is beter than wood!",
possible: () => game.upgrades.gold.owned >= 1
},
gold5: {
text: "Wowie you sure can click those oats",
possible: () => game.upgrades.gold.owned >= 5
},
gold15: {
text: "Super cookware: your cookware is of immense power!",
possible: () => game.upgrades.gold.owned >= 15
},
gold30: {
text: "Thiccccc pots: your oat pots are hella thicccccc (just like to co-creator of this game)",
possible: () => game.upgrades.gold.owned >= 30
},
poly50: {
text: "The fifty oat gods way up in the sky just gave you fifty oats each",
possible: () => {
if (game.upgrades.polytheism >= 50) {
game.oat_count += 50 * 50;
return true;
}
return false;
}
},
honey1: {
text: "mmmmm, honey",
possible: () => game.upgrades.honey.owned > 0
},
honey10: {
text: "burt: you have a lot of honey",
possible: () => game.upgrades.honey.owned >= 10
},
honey30: {
text: "your oatmeal is <i>extremely</i> sweet",
possible: () => game.upgrades.honey.owned >= 30
},
water1: {
text: "your oatmeal is now being boiled",
possible: () => game.upgrades.water.owned >= 1
},
water20: {
text: "Your oatmeal is super wet",
possible: () => game.upgrades.water.owned >= 20
}
};