-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.html
565 lines (422 loc) · 15.5 KB
/
index.html
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
<!DOCTYPE HTML>
<html lang="en-US">
<!--
WARNING:
Reading source code may spoil things in this game
Read with caution!
-->
<head>
<meta charset="UTF-8">
<title>The Gold Factory</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="base.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABBVBMVEUAAAAAAAAfGgADAwAAAAABAQAEAwDiugAAAAAAAAABAABuVRD3zgDtxQAUEQAAAAAAAAARBQD3zAAlHQEbFAIcFwDyxgQ4LQDBoAoPCwCzlAAYFwCWfAAeGxDRrAAvKhAFAwABAAB2XwAQDAASDwADAwAAAAAAAAACAAArCgAAAAAAAAD+/O/dtgD/0wL/6AEtJwH/2gD7zwArIwAfGQD//vf//fP/++D/9sb/9sP/9r+zjBWuiBWphBT/6Az/6AfxxgHXsQAmHwD/++f//a9sZ1D94Er/5UZjXkb/3h//3he4kxI3MhCTdwz84ARZSATx0gDnywDUtwC7oQCAbQBwXgAoIgDntoNKAAAALHRSTlMAEev4Bf30/jIMA/79/ftJGRf+/Pn49/b08/Hw7Orq6efe3Nx2bWk4LCsjFqeF9X4AAAC4SURBVBjTdY7FFoJQFEXBJ6DY3d2KtEWD3e3/f4oPXSyZuGd7D+49yF/a+ZZbvbEaVXGHZhHjwu7QmIjcqxfzOk6C7WFt4Ymc/+tdXOQ2EyFtPPBP8YMyu7NCdJCXU1HoaClLLynB4Pm9EkDhR4waj0Zjah43ZRVEEMSHEQQxhJisEsDtTdUrexdvQjB0VpN9GCKZxXQ6m0nS6nkEPhjqNMMwuq5pp0t4QMITwONQwOynJPqjA6e/AQOGFpd1yYw+AAAAAElFTkSuQmCC" />
<!-- Thanks to /u/Shawnyall and /u/Guildenstern_artist for the favicon! -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-46365363-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-46365363-1');
</script>
</head>
<body>
<div id="storage">
Storage:<br>
<div id="insidestorage">
<span id="gold-bar">0</span> gold bar(s)<br>
<span id="ib"><span id="iron-bar">0</span> iron bar(s)</span><br>
<a href="javascript:showstorage();">View complete storage</a>
</div>
You have eaten <span class="pizzacount">0 pizzas</span><br>
Current weapon: <span class="currentsword">none</span>
</div>
<div class="modal"></div>
<div class="fader"></div>
<div class="alert alert-storage">
<b>Storage:</b><br>
<div id="insidestorage">
<div id="otheritems"></div>
</div>
<br><br>
<input type="button" value="Close this window" onclick="closemessage()">
</div>
<div class="alert alert-gold-factory">
<b>The Gold Factory</b><br>
Status: You work here, and you get 1 gold bar per second as the salary
<br><br>
<input type="button" value="Close this window" onclick="closemessage()">
</div>
<div class="alert alert-theshop">
<b>The Shop</b><br>
What do you want to buy sir?<br><br>
<input type="button" value="A shovel" onclick="buy('shovel',1)" class="buy-shovel" disabled> (50 gold bars)<br>
<input type="button" value="Pizza" onclick="buy('pizza',1)" class="buy-pizza" disabled> (20 gold bars)<br>
<input type="button" value="20 Pizzas" onclick="buy('pizza',20)" class="buy-pizza-20" disabled> (400 gold bars)<br>
<span class="wooden-sword-shop"><input type="button" value="Wooden sword" onclick="buy('wooden sword',1)" class="buy-wooden-sword" disabled> (150 gold bars)</span>
<span class="stone-sword-shop" style="display:none;"><input type="button" value="Stone sword" onclick="buy('stone sword',1)" class="buy-stone-sword" disabled> (500 gold bars)</span>
<span class="no-sword-upgrade" style="display:none;">Sorry, stone sword is the best sword I have</span>
<br><br>
<input type="button" value="Close this window" onclick="closemessage()">
</div>
<div class="alert alert-anothershop">
<b>Another Shop</b><br>
Hi! Welcome to my shop! :D<br><br>
<input type="button" value="10 Iron Bars" onclick="goldbar-=100; ironbar+=10; checkthings();" class="buy-iron-bar" disabled> (100 gold bars)<br>
<input type="button" value="100 Pizzas" onclick="buy('pizza',100)" class="buy-pizza-20" disabled> (2000 gold bars)<br>
<input type="button" value="Health Potion" onclick="buy('health potion',1)" class="buy-health-potion"> (50 gold bars)<br>
<span class="iron-sword-shop"><input type="button" value="Iron sword" onclick="buy('iron sword',1)" class="buy-iron-sword" disabled> (2000 gold bars, and please make sure you have a stone sword)</span>
<span class="diamond-sword-shop" style="display:none;"><input type="button" value="Diamond sword" onclick="buy('diamond sword',1)" class="buy-diamond-sword" disabled> (5000 gold bars)</span>
<span class="need-iron" style="display:none;">Sorry, i have no more swords</span>
<br><br>
<input type="button" value="Close this window" onclick="closemessage()">
</div>
<div class="alert alert-sign">
<b>A sign</b><br>
<i>"There is a hole here!"</i><br><br>
<input type="button" value="Dig the hole" onclick="dighole()">
<input type="button" value="Close this window" onclick="closemessage()">
</div>
<div class="alert alert-dig-step-1">
<b>A hole</b><br>
This is an "unfinished" hole<br><br>
<input type="button" value="Continue digging" onclick="continuedigging()">
<input type="button" value="Close this window" onclick="closemessage()">
</div>
<div id="otheralerts"></div>
<div id="skyspace"></div>
<div class="banner-plane world1">
<pre>
\--------------------------------------------------------------------------------------------------------\
\ \
\ \ __
\ \ | \
> >------| \ ______
/ / --- \_____/**|_|_\____ |
/ / \_______ --------- __>-}
/ / / \_____|_____/ |
/--------------------------------------------------------------------------------------------------------/ * |
{O}
</pre>
<div class="ads"><iframe data-aa='650128' src='//ad.a-ads.com/650128?size=728x90' scrolling='no' style='width:728px; height:90px; border:0px; padding:0;overflow:hidden' allowtransparency='true'></iframe></div>
</div>
<div id="wrapper">
<div id="sky">
<pre class="cloud cloud-1">
_ _
( ` )_
( ) `)
(_ (_ . _) _)
</pre>
<pre class="cloud cloud-2">
_
( )
( ` ) . )
<span onclick="clickcloud()"> (_, _( ,_)_)</span>
</pre>
<pre class="cloud cloud-3">
_ .
( _ )_
(_ _(_ ,)
</pre>
<pre class="cloud cloud-4 hidden" title="Castle in the cloud">
p
/\ p p
/__\ /\_____/\
|. |_=_|. . . .|
|. |. .| ___ |
_|. |___|_|___|_|_
( ` )_
( ) ) `)
(_ (_ . ( _)
</pre>
</div>
<div id="land">
<pre id="gold-factory" class="building" title="The Gold Factory">
__ . .* ,
~#@#%(" .,$ @
."^ ';"
..
;. :
;==:
;. :
;==:
;. :
;==: ._______.
;. : ; ###:__.
_.'__`._;_______:__:
</pre>
<pre class="building hidden theshop" title="The Shop">
~
~
_u__
/____\
|[][]|
|[]..|
|____|
</pre>
<pre class="building hidden sign" title="A Sign">
__
[__]
_||_
</pre>
<pre class="building hidden anothershop" title="Another Shop">
____
/____\
| |
| [] |
| __ |
|[__]|
</pre>
<pre class="building hidden gate" title="Locked Gate">
_
| |
| |
| |
| |
| |
|_|
</pre>
<pre class="building hidden enchant" title="Enchanting Shop">
____
/____\
| __ |
|[__]|
</pre>
<pre class="building hidden enchant" title="Enchanting Shop">
____
/____\
| __ |
|[__]|
</pre>
<pre class="building hidden hill">
____________________________________________________
/ \
____________ / \
/ \ / \
/ \_________/ \
/_____________________________________________________________________________________\
</pre>
<pre class="building hidden chest" title="Chest">
_
|_|
</pre>
<pre class="building hidden castle" title="Castle of Zombies">
p p p
/\ p p /\ /\
/__\ /\_____/\ /__\ /__\
|. |_=_|. . . .|_=_=_=_=_=_=_|. |
|. |. .| ___ |. . . . . . .|. |
|. | | | | | |. |
___|__|___|_|___|_|_____________|__|__
</pre>
<pre class="building hidden laboratory" title="The Laboratory">
__
||
====
| |__
| |-.\
|__| \\
|| ||
======__|
________||__
/____________\
</pre>
<pre class="building hidden portal" title="Nether Portal">
[][][][]
[] []
[] []
[] []
[][][][]
</pre>
<pre class="building hidden airplane" title="Airplane">
.--. _ ,---. ___
\# `----------"---=<_)_)_>-.
`,_/________.-----,_____,.-`
o' `-===' `o,
</pre>
<pre class="none">a</pre>
<div class="road">_</div>
</div>
<div id="underground">
<pre class="dig-step-1 hidden " title="A hole">
| |
|_______|
</pre>
<pre class="dig-step-2 hidden ">
| |
__________ / \____
/ \______________/ \___________
/ \
/ \
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
\ /
\ /
\_____________________________________________________/
</pre>
<pre class="underworld-building training-center hidden " title="Training Center">
_____________
/ \
/_______________\
| |
| TRAINING |
| _ |
| | | |
|__________|_|__|
</pre>
<pre class="underworld-building mining hidden " title="Iron Mine">
| |
| |
| |
| |
| |
|)*&*(%#%!#$@X$#X&$!%$@|
\()^**(&%^%&%((%^&$#$%@/
\^%^#$$%%$^%@#$%##*%$/
\%#@$#%$#@$%#%#$&#%/
</pre>
<pre class="underworld-building small-hole hidden" title="A small hole">
\
|
|
|
|
/
</pre>
<pre class="digging hidden">
\_____________________________________
<span class="click nametag" title="A name tag">_____</span>
______________<span class="click nametag" title="A name tag">[_____]</span>_________________
</pre>
<pre class="dig-get-chest hidden">
______________________________________
<span class="click chest-dig" title="A chest">_</span>
____________<span class="click chest-dig" title="A chest">|_|</span>_______________________
</pre>
<pre class="dig-pizzas hidden">
______________________________________
_______________<span class="click pizzas" title="Badly 'drawn' pizzas">---_-_--_---_-</span>_________
</pre>
<pre class="dig-laptop hidden">
______________________________________
_____________________<span class="click laptop" title="A laptop">_/</span>_______________
</pre>
<pre class="dig-sign hidden">
______________________________________
<span class="click sign-dig" title="A sign">__</span>
<span class="click sign-dig" title="A sign">[__]</span>
<span class="click old-machine" title="An old machine">______</span>
<span class="click old-machine" title="An old machine">| |</span>
____________<span class="click old-machine" title="An old machine">|______|</span>__________________
</pre>
</div>
</div>
<div id="version">Version: <a href="javascript:changelog();" class="leversion"></a></div>
<div class="bubble"><b>Check out the new 2021 message!</b></div>
<div id="credits">
<a href="javascript:showdec2021msg();" class="dec2021msg">Dec 2021 Message</a> - <a href="javascript:showbugs();" class="bugs">Bugs</a> - <a href="javascript:showcredits();">Credits</a> - <a href="javascript:showetc();">Etc</a> - <a href="javascript:save();">Save</a> - <a href="javascript:toggle();">Toggle Color</a>
</div>
<div id="realworld">
<div id="sky">
<br><br><br><br><br><br><br><br><br><br>
<pre class="theportal" title="Portal">
[][][][]
[] []
[] []
[] []
[][][][]
</pre>
<pre class="thefox" title="The Fox">
,^
; ;
\`.,'/ ; ;
/_ _\`-----';
\/` ,,,,,, ;
____)//_____\))_
</pre>
<!--pre class="building thefox" title="The Fox">
_,-='"-.__ /\_/\
`-.} `=._,.-==-._., @ @._,
`-.__ _,-. ) _,.-'
___________`"_____G..m-"^m`m'_______
</pre-->
<pre class="thehouse" title="A House">
__________
/ \
/____________\
| ______ |
| [______] |
| _ |
| | | |
|_______|_|__|
</pre>
<pre class="sand hidden" title="Sand">
&&!$)$^&%^ )))@(#&!*))(%^$@*$!%))* #)%$!#^$^##&( @!@&%^%^)
$#*!(*($!&@#^^)!*!*)*^)$&$*#*)@ **&)) !%)^)(^(!#*(@*)$&*^&($@$)*(!!&#!@@%#%*^^
$)##*%)%^$(%%%%#!&)*!@*%)*&#(*^%&)!#&^$($#4 #%(^$^^^*^&@^#!@@(&!($#(%)*%$)@*!@)%%)*^@$%
$*^!&*()@!(@*$$!&(%!%*$%!#^#!@$)(&%((%&#@)^%$%$%!^*#@&*%##&@^)#%@(@$(%)&#)!#!%^$()*###%#!^%*@#^
^#$@@)^&^&(%@%$@%)#$@@!$(&%(&&$*%#*!$&)*)#)(@&#)#$$#(*%!^&@@%%*#^$))#$&(&@$!#($#))^^!^^(*%(%$@%&&*!**
</pre>
<pre class="hole hidden" title="Hole">
@# $
(^( $%
(^#* @(%
#$%# %$&#
|#%$ )|
|&%& %*|
| ( ^)*|
| ()&^ |
| $& &^ |
| )@ |
| |
| )! |
| |
| $%^& |
| |
| |
| (*&* |
| |
| |
| $%#@ |
| $ |
| %% |
|/ ___$*#($*__|
| |
| |
| |
| |
| |
| |
| <span class="click boss" title="Someone"> O </span> |
| <span class="click boss" title="Someone">/|\</span> |
| <span class="click boss" title="Someone"> | </span> |
|________<span class="click boss" title="Someone">/_\</span>__|
</pre>
<br><br><br><br><br><br><br><div style="height:30px;"></div>
<div class="road">_</div>
</div>
</div>
<!-- <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-46365363-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script> -->
</body>
</html>