forked from Trimps/Trimps.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1261 lines (1226 loc) · 66.3 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
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Trimps 4.611</title>
<meta name="description" content="Trimps">
<meta name="author" content="Brownprobe">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="css/style.css?55" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-64748869-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<!-- Trimps
Copyright (C) 2016 Zach Hood
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program (if you are reading this on the original
author's website, you can find a copy at
<trimps.github.io/license.txt>). If not, see
<http://www.gnu.org/licenses/>. -->
<body>
<noscript>
<div id="checkJavascript" style="position: absolute; height: 100%; width: 100%; font-size: 2vw; padding: 10%; color: white; background-color: black; z-index: 1000000;">
For some reason, your browser is having trouble loading this game. This game runs on javascript, and if you have an addon such as noscript, you may need to tell it to allow scripts from http://trimps.github.io, which is where this game is hosted.<br/><br/>
If you are not using any addons that might interfere with javascript, try using the latest versions of Chrome or Firefox.
</div>
</noscript>
<div id="boneWrapper" style="display: none">
<div id="boneWrapper0">
<div class="row">
<div class="col-xs-2">
</div>
<div class="col-xs-8">
<div id="boneTitleContainer">
Bone Trader
</div>
<div id="boneOwnedContainer">
You have <span id="bonesOwned">0</span>
</div>
<div id="mainBoneHowTo">
You can earn bones as you progress through the world by killing Skeletimps and Megaskeletimps.
</div>
<div id="boneFlavorRow">
The Bone Trader trades bones for... bonuses
</div>
</div>
<div class="col-xs-2">
<div class="boneBtn dangerColor pointer noselect" onclick="hideBones()">
Close
</div>
</div>
</div>
<div id="boneBuyRow" class="row">
<div id="boneBoostsColumn" class="col-xs-4 boneBuyColumn">
<div class="boneBuyTitle">Boosts</div>
<div class="boostSpacer">
<div class="boneBuyDesc">Instantly earn the next 12 or 36 hours worth of resources! If you don't have enough storage, storage will be purchased (and the cost deducted) automatically.</div>
<div id="boostSelectContainer">
<div id="boost0" class="thingSmall pointer noselect boneBtnStateTeal" onclick="selectBoost(0)">
12 hours
</div>
<div id="boost1" class="thingSmall pointer noselect boneBtnStateOff" onclick="selectBoost(1)">
36 hours
</div>
</div>
<div id="boostPreviewContainer">
<table id="boostPreview" class="table table-striped">
<tbody>
<tr>
<td>+ <span class="glyphicon glyphicon-apple" title="food"></span> <span id="foodBoostPreview">0</span></td>
<td><span class="glyphicon glyphicon-home" title="storage added"></span> <span id="BarnAdded">0</span> Barns Auto-purchased</td>
</tr>
<tr>
<td>+ <span class="glyphicon glyphicon-tree-deciduous" title="wood"></span> <span id="woodBoostPreview">0</span></td>
<td><span class="glyphicon glyphicon-home" title="storage added"></span> <span id="ShedAdded">0</span> Sheds Auto-purchased</td>
</tr>
<tr>
<td>+ <span class="icomoon icon-cubes" title="metal"></span> <span id="metalBoostPreview">0</span></td>
<td><span class="glyphicon glyphicon-home" title="storage added"></span> <span id="ForgeAdded"></span> Forges Auto-purchased</td>
</tr>
<tr>
<td colspan="2">+ <span class="icomoon icon-diamond" title="gems"></span> <span id="gemsBoostPreview">0</span></td>
</tr>
<tr>
<td colspan="2">+ <Span class="glyphicon glyphicon-th" title="fragments"></span> <span id="fragmentsBoostPreview">0</span></td>
</tr>
</tbody>
</table>
<div id="minusRes" style="display: none">
One of your storage structures will be more expensive than the amount you can receive from this boost. Spend some resources first to get the most benefit!
</div>
</div>
</div>
<div id="purchaseContainerBoost">
<div class="boneBtn boneBtnStateOn pointer noselect buyBoostBtn" id="boostPurchaseBtn0" onclick="tooltip('Confirm Purchase', null, 'update', 'You are about to purchase 12 hours of instant production for 20 bones. Is this what you wanted to do?', 'purchaseBoost(0)', 20)">
Buy 12 Hours (20 bones)
</div>
<div class="boneBtn boneBtnStateOn pointer noselect buyBoostBtn" id="boostPurchaseBtn1" onclick="tooltip('Confirm Purchase', null, 'update', 'You are about to purchase 36 hours of instant production for 40 bones. Is this what you wanted to do?', 'purchaseBoost(1)', 40)">
Buy 36 Hours (40 bones)
</div>
</div>
</div>
<div id="boneImportsColumn" class="col-xs-4 boneBuyColumn">
<div class="boneBuyTitle">Exotic Imp-orts</div>
<div class="boostSpacerImports boostSpacer">
<div class="boneBuyDesc">Exotic Imp-orts will be unlocked permanently once purchased, and will stick around through portals. Each has a 3% chance to spawn per square and better loot than normal enemies. Collect them all!</div>
<div class="importsPreview">
<div class="importLocation">Spawns in World</div>
<table class="table importsTable" id="importsTableWorld0">
</table>
<div class="importLocation table-hover">Spawns in Maps</div>
<table class="table importsTable" id="importsTableMaps0">
</table>
</div>
<div id="purchaseContainerImports">
<div class="boneBtn boneBtnStateOff pointer noselect" id="importPurchaseBtn" onclick="tooltip('Confirm Purchase', null, 'update', 'You are about to purchase a new Exotic Import for 50 bones. This new bad guy will begin spawning in your next Zone or Map at about an average of 3 spawns per 100 squares. Is this what you wanted to do?', 'purchaseImport()', 50)"></div>
</div>
</div>
</div>
<div id="boneMiscColumn" class="col-xs-4 boneBuyColumn">
<div class="boneBuyTitle">Other Goodies</div>
<div class="boostSpacer">
<div id="buyHeliumArea">
<div class="boneBtn boneBtnStateOn pointer noselect" id="heliumPurchaseBtn" onclick="tooltip('Confirm Purchase', null, 'update', 'You are about to purchase one Instant Portal for 100 bones. Your new helium will appear in the View Perks menu at the bottom of the screen. Is this what you wanted to do?', 'purchaseMisc(\'helium\')', 100)">
Buy Portal (100 bones)
</div>
<div class="miscDesc">
<b>+ <span id="heliumGainedMisc"></span> Helium </b><br/>
Automatically gain helium equal to the amount you earned on your best run
</div>
</div>
<div id="buyHeirloomArea">
<div class="boneBtn boneBtnStateOn pointer noselect" id="heirloomPurchaseBtn" onclick="tooltip('Confirm Purchase', null, 'update', 'You are about to purchase one Heirloom for 30 bones. This will be created at a random rarity, and will be just like completing a Void Map at your highest ever Zone reached. Are you sure?', 'purchaseMisc(\'heirloom\')', 30)">
Buy Heirloom (30 bones)
</div>
<div class="miscDesc">
<div id="heirloomRarityMisc"></div>
Get one Heirloom at the chances above, based on highest zone
</div>
</div>
<div id="mapsMisc">
<div class="boneBtn boneBtnStateOn pointer noselect" id="mapsPurchaseBtn" onclick="tooltip('Confirm Purchase', null, 'update', 'You are about to purchase Golden Maps for 20 bones. All of your current and future maps will gain +100% loot added to their normal loot roll. Is this what you wanted to do?', 'purchaseMisc(\'maps\')', 20)">
Buy Golden Maps (20 bones)
</div>
<div class="miscDesc" id="goldMapsDesc">
All of your current and future maps will gain +100% loot<br/><b>Until your next portal</b>
</div>
</div>
<div id="trimpsMisc">
<div class="boneBtn boneBtnStateOn pointer noselect" id="trimpsPurchaseBtn" onclick="tooltip('Confirm Purchase', null, 'update', 'You are about to purchase Quick Trimps for 20 bones. All of your Trimps will create more Trimps twice as fast until the next time you use the Portal. Is this what you wanted to do?', 'purchaseMisc(\'trimps\')', 20)">
Buy Quick Trimps (20 bones)
</div>
<div class="miscDesc" id="quickTrimpsDesc">
All of your Trimps will breed 2x faster <br/><b>Until your next portal</b>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="wrapper" style="background: url(css/bg2.png) center repeat-x;">
<div id="innerWrapper">
<div id="warnings"></div>
<div class="row" id="topRow">
<div class="col-xs-4" id="resourceColumn">
<div class="row resourceRow">
<div class="col-xs-6 maxH">
<div id="food" class="playerGather">
<span class="title">Food</span>
<br/>
<span class="ownedArea bdHover" onclick="getMaxResources('Food')"><span id="foodOwned">0</span> / <span id="foodMax"></span></span>
<br/>
<div class="progress resProgress">
<div class="progress-bar percentColorBlue" id="foodBar" role="progressbar">
<span id="foodTimeToFill"></span>
</div>
</div>
<div class="row collectRow">
<div class="col-xs-6">
<div id="foodCollectBtn" class="workBtn workColorOff pointer noselect" onclick="setGather('food')">Gather</div>
</div>
<div class="col-xs-6">
<span class="psText sizeSecRegular pointer noselect" id="foodPs" onclick="getPsString('food')">+0/sec</span>
</div>
</div>
</div>
</div>
<div class="col-xs-6 maxH">
<div id="wood" class="playerGather" style="visibility: hidden;">
<span class="title">Wood</span>
<br/>
<span class="ownedArea bdHover" onclick="getMaxResources('Wood')"><span id="woodOwned">0</span> / <span id="woodMax"></span></span>
<br/>
<div class="progress resProgress">
<div class="progress-bar percentColorBlue" id="woodBar" role="progressbar">
<span id="woodTimeToFill"></span>
</div>
</div>
<div class="row collectRow">
<div class="col-xs-6">
<div id="woodCollectBtn" class="workBtn workColorOff pointer noselect" onclick="setGather('wood')">Chop</div>
</div>
<div class="col-xs-6">
<span class="psText sizeSecRegular pointer noselect" id="woodPs" onclick="getPsString('wood')">+0/sec</span>
</div>
</div>
</div>
</div>
</div>
<div class="row resourceRow">
<div class="col-xs-6 maxH">
<div id="metal" class="playerGather" style="visibility: hidden;">
<span class="title">Metal</span>
<br/>
<span class="ownedArea bdHover" onclick="getMaxResources('Metal')"><span id="metalOwned">0</span> / <span id="metalMax"></span></span>
<br/>
<div class="progress resProgress">
<div class="progress-bar percentColorBlue" id="metalBar" role="progressbar">
<span id="metalTimeToFill"></span>
</div>
</div>
<div class="row collectRow">
<div class="col-xs-6">
<div id="metalCollectBtn" class="workBtn workColorOff pointer noselect" onclick="setGather('metal')">Mine</div>
</div>
<div class="col-xs-6">
<span class="psText sizeSecRegular pointer noselect" id="metalPs" onclick="getPsString('metal')">+0/sec</span>
</div>
</div>
</div>
</div>
<div class="col-xs-6 maxH">
<div id="science" class="playerGather" style="visibility: hidden;">
<span class="title">Science</span>
<br/>
<span class="ownedArea"><span id="scienceOwned">0</span></span>
<br/>
<div class="row collectRow">
<div class="col-xs-6">
<div id="scienceCollectBtn" class="workBtn workColorOff pointer noselect" onclick="setGather('science')">Research</div>
</div>
<div class="col-xs-6">
<span class="psText sizeSecRegular pointer noselect" id="sciencePs" onclick="getPsString('science')">+0/sec</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-1" id="miscColumn">
<div id="fragments" class="playerGather playerGatherSm" style="visibility: hidden;">
<span class="title">Fragments</span>
<br/>
<span class="ownedArea"><span id="fragmentsOwned">0</span></span>
<br/>
<span class="psText sizeSecRegular pointer noselect" id="fragmentsPs" style="display: none" onclick="getPsString('fragments')">+0/sec</span>
</div>
<div id="gems" class="playerGather playerGatherSm" style="visibility: hidden;">
<span class="title">Gems</span>
<br/>
<span class="ownedArea"><span id="gemsOwned">0</span></span>
<br/>
<span class="psText sizeSecRegular pointer noselect" id="gemsPs" style="display: none" onclick="getPsString('gems')">+0/sec</span>
</div>
<div id="helium" class="playerGather playerGatherSm" style="display: none">
<span class="title">Helium</span>
<br/>
<span class="ownedArea"><span id="heliumOwned">0</span></span>
<br/>
<span id="heliumPh" class="heliumPh"></span>
</div>
</div>
<div class="col-xs-2" id="trimpsColumn">
<div id="trimps" class="playerGather" style="visibility: hidden;">
<div class="row">
<div class="col-xs-3" style="padding-right: 0">
<div id="turkimpBuff" style="display: none" onmouseover="tooltip('Well Fed', null, event)" onmouseout="tooltip('hide')">
<span class="icomoon icon-spoon-knife"></span><br/><span id="turkimpTime"></span>
</div>
</div>
<div class="col-xs-6">
<div class="maxCenter">
<span id="trimpTitle" class="title">???</span>
</div>
</div>
</div>
<span class="ownedArea pointer noselect bdHover" onclick="getMaxTrimps()"><span id="trimpsOwned">0</span> / <span id="trimpsMax">10</span></span>
<br/>
<div class="progress resProgress">
<div class="progress-bar percentColorBlue" id="trimpsBar" role="progressbar"><span id="trimpsTimeToFill"></span></div>
</div>
<div id="unempHide" style="visibility: hidden">
<span id="trimpsUnemployed">0</span> <span id='trimpsBreedingTitle'>breeding</span>
<br/><span id="trimpsPs" class="pointer sizeSecRegular noselect bdHover psColorWhite" onclick="getTrimpPs()">+0/sec</span>
<br/>
</div>
<div id="empHide" style="visibility: hidden">
<span id="trimpsEmployed">0</span>/<span id="maxEmployed">0</span> employed
</div>
<div id="trapArea">
<div id="trimpsCollectBtn" class="workBtn workColorOff pointer noSelect" onclick="setGather('trimps')">Check Traps (<span id="trimpTrapText">1</span>)</div>
<div id="trimpsCollecting" class="collecting" style="display: none">Trapping (<span id="trimpTrapText2">1</span>)</div>
<div class="progress" id="trappingProgress">
<div class="progress-bar" id="trappingBar" role="progressbar"></div>
</div>
</div>
</div>
</div>
<div class="col-xs-5" id="logColumn">
<div id="logContainer">
<div class="btn-group btn-group-justified" id="logBtnGroup" role="group">
<div class="btn-group" role="group">
<button id="StoryFilter" onclick="filterMessage('Story')" type="button" class="btn btn-success logFlt">Story</button>
</div>
<div class="btn-group" role="group">
<button id="LootFilter" onclick="filterMessage('Loot')" type="button" class="btn btn-success logFlt">Loot</button>
</div>
<div class="btn-group" role="group">
<button id="UnlocksFilter" onclick="filterMessage('Unlocks')" type="button" class="btn btn-success logFlt">Unlocks</button>
</div>
<div class="btn-group" role="group">
<button id="CombatFilter" type="button" onclick="filterMessage('Combat')" class="btn btn-success logFlt">Combat</button>
</div>
<div id="logConfigHolder" class="btn-group" role="group">
<button id="logConfigBtn" type="button" onclick="tooltip('Message Config', null, 'update')" class="btn btn-default logFlt"><span class='glyphicon glyphicon-cog'></span></button>
</div>
</div>
<div id="log" class="niceScroll">
<span class="storyMessage message"><span class='glyphicon glyphicon-star'></span>A green shimmer erupts then disappears, and you hit the ground. You look pretty hungry...</span>
</div>
</div>
</div>
</div>
<div class="row" id="bottomRow">
<div id="buyCol" class="col-xs-5" style="visibility: hidden;">
<div id="queueContainer">
<div class="row" id="queueRow">
<div class="col-xs-4 lowPad">
<span id="foremenCount"></span>
</div>
<div class="col-xs-2 lowPad">
<span id="buildSpeed"></span>
</div>
<div class="col-xs-3 lowPad">
<div id="autoTrapBtn" style="display: none" onclick="toggleAutoTrap()" class="pointer noselect colorDanger autoUpgradeBtn">AutoTraps Off</div>
</div>
<div class="col-xs-3">
<div id="buildingsCollectBtn" onclick="setGather('buildings')" class="workBtn workColorOff pointer noselect">Build</div>
</div>
</div>
<div class="queue niceScroll" id="buildingsQueue">
<span id='noQueue'>Nothing in queue...</span><div id="queueItemsHere"></div>
</div>
</div>
<div id="outerBuyContainer">
<div id="buyTabs">
<ul id="buyTabsUl" class="nav nav-tabs nav-justified">
<li role="presentation" id="allTab" onclick="filterTabs('all')" class="tabNotSelected buyTab"><a id="allA">All</a></li>
<li role="presentation" id="buildingsTab" onclick="filterTabs('buildings')" class="tabNotSelected buyTab"><a id="buildingsA"><span id="buildingsAlert" class="alert badge"></span>Buildings</a></li>
<li role="presentation" id="jobsTab" style="visibility: hidden" onclick="filterTabs('jobs')" class="tabNotSelected buyTab"><a id="jobsA"><span id="jobsAlert" class="alert badge"></span>Jobs</a></li>
<li role="presentation" id="upgradesTab" style="visibility: hidden" onclick="filterTabs('upgrades')" class="tabNotSelected buyTab"><a id="upgradesA"><span id="upgradesAlert" class="alert badge"></span>Upgrades</a></li>
<li role="presentation" id="equipmentTab" style="visibility: hidden" onclick="filterTabs('equipment')" class="tabNotSelected buyTab"><a id="equipmentA"><span id="equipmentAlert" class="alert badge"></span>Equipment</a></li>
<li role="presentation" id="talentsTab" style='display: none' onclick="filterTabs('talents')" class="tabNotSelected buyTab"><a id="talentA"><span id="talentsAlert" class="alert badge"></span>Mastery<span id="talentsEssenceTotal"></span></a></li>
<li role="presentation" id="natureTab" style='display: none' onclick="filterTabs('nature')" class="tabNotSelected buyTab empowerTabNone" onmouseover="tooltip('Empowerments of Nature', null, event)" onmouseout="tooltip('hide')"><a id="natureA">Nature</a></li>
</ul>
</div>
<div id="numTabs" class="numTabs">
<ul class="nav nav-tabs nav-justified">
<li role="presentation" class="tabNotSelected" id="tab1" onclick="numTab(1)">
<a id="tab1Text">+1</a>
</li>
<li role="presentation" class="tabNotSelected" id="tab2" onclick="numTab(2)">
<a id="tab2Text">+10</a>
</li>
<li role="presentation" class="tabNotSelected" id="tab3" onclick="numTab(3)">
<a id="tab3Text">+25</a>
</li>
<li role="presentation" class="tabNotSelected" id="tab4" onclick="numTab(4)">
<a id="tab4Text">+100</a>
</li>
<li role="presentation" class="tabNotSelected" id="tab5">
<a id="tab5Text" onclick="numTab(5)">+1</a>
<a id="tab5Text2" onclick="tooltip('Custom', null, 'update')">Custom</a>
</li>
<li role="presentation" class="tabNotSelected" id="tab6" onclick="numTab('6')" onmouseover="tooltip('Buy Max', 'customText', event, 'Switching to this option will spend the majority of your resources with each purchase. <b>Click twice to customize.</b>')" onmouseout="tooltip('hide')" >
<a id="tab6Text">Max</a>
</li>
</ul>
</div>
<div id="buyContainer" class="niceScroll">
<div id="buyHere" class="niceScroll buttonSizeLarge">
<div id="buildingsContainer">
<div id="buildingsTitleDiv" class="titleDiv">
<div class="row">
<div class="col-xs-3" style="padding-right: 5px">
<span id="buildingsTitleSpan" class="titleSpan">Buildings</span>
</div>
<div class="col-xs-3 lowPad"> </div>
<div class="col-xs-3 lowPad">
<div id="autoStructureBtn" onmouseover='tooltip("AutoStructure", null, event)' onmouseout='tooltip("hide")' class="pointer noselect colorDanger autoUpgradeBtn">
<div id='autoStructureText' onclick="toggleAutoStructure()">AutoStructure</div><div onclick="tooltip('Configure AutoStructure', null, 'update')">
<span class='glyphicon glyphicon-cog'></span></div>
</div>
</div>
<div class="col-xs-3" style="padding-left: 5px">
<div id="autoStorageBtn" class="pointer noselect colorDanger autoUpgradeBtn" onmouseover="tooltip('AutoStorage', 'customText', event, 'Enabling this will cause your Trimps to automatically add a storage building to the queue if you reach max capacity. This will work on and offline if enabled.')" onmouseout="tooltip('hide')" onclick="toggleAutoStorage()">AutoStorage</div>
</div>
</div>
</div>
<div class="buyBox" id="buildingsHere">
</div>
</div>
<div id="jobsContainer">
<div id="jobsTitleDiv" class="titleDiv" style="display: none">
<div class="row">
<div class="col-xs-3" style="padding-right: 5px">
<span id="jobsTitleSpan" class="titleSpan">Jobs</span>
</div>
<div class="col-xs-6 lowPad">
<span id="jobsTitleUnemployed" class="titleSpan"></span>
</div>
<div class="col-xs-3" style="padding-left: 5px">
<div id="fireBtn" class="pointer noselect fireBtnNotFiring" onclick="fireMode()" onmouseover="tooltip('Fire Trimps',null,event)" onmouseout="tooltip('hide')">Fire</div>
</div>
</div>
<div class="row">
</div>
</div>
<div class="buyBox" id="jobsHere">
</div>
</div>
<div id="upgradesContainer">
<div id="upgradesTitleDiv" style="display: none" class="titleDiv">
<div class="row">
<div class="col-xs-3" style="padding-right: 5px">
<span id="upgradesTitleSpan" class="titleSpan">Upgrades (research first)</span>
</div>
<div class="col-xs-3 lowPad">
<div id="autoGoldenBtn" onmouseover="tooltip('AutoGolden', null, event)" onmouseout="tooltip('hide')" class="pointer noselect settingBtn0 autoUpgradeBtn">
<div id='autoGoldenText' onclick="toggleAutoGolden()">AutoGolden</div>
</div>
</div>
<div class="col-xs-3 lowPad">
<div id="autoPrestigeBtn" class="pointer noselect autoUpgradeBtn settingBtn0" onmouseover="tooltip('AutoPrestige', null, event)" onmouseout="tooltip('hide')" onclick="toggleAutoPrestiges()">AutoPrestige</div>
</div>
<div class="col-xs-3" style="padding-left: 5px">
<div id="autoUpgradeBtn" class="pointer noselect colorDanger autoUpgradeBtn" onmouseover="tooltip('AutoUpgrade', null, event)" onmouseout="tooltip('hide')" onclick="toggleAutoUpgrades()">AutoUpgrade</div>
</div>
</div>
</div>
<div class="buyBox" id="upgradesHere">
</div>
</div>
<div id="equipmentContainer">
<div id="equipmentTitleDiv" style="display: none" class="titleDiv">
<div class="row">
<div class="col-xs-3">
<span id="equipmentTitleSpan" class="titleSpan">Equipment</span>
</div>
<div class="col-xs-3 lowPad"> </div>
<div class="col-xs-3 lowPad"> </div>
<div class="col-xs-3" style="padding-left: 5px">
</div>
</div>
</div>
<div class="buyBox" id="equipmentHere"></div>
</div>
<div id="talentsContainer" style="display: none">
<div class='row noMarg'>
<div class='col-xs-3'></div>
<div class='col-xs-6 lowPad'>
<div id="talentsTitle">
<span id='essenceOwned'>0</span> Dark Essence
</div>
</div>
<div class='col-xs-3 lowPad'>
<div class='pointer noselect colorDanger' onclick='respecTalents()' id='talentRespecBtn'>Respec (20 bones)</div>
</div>
</div>
<div id="talentsCost">Your next mastery costs <span id='talentsNextCost'>0</span>. Next tier in <span id='talentsNeeded'>0</span>.</div>
<div id="talentsHere">
</div>
</div>
<div id="natureContainer" style="display: none; height: 100%;">
<div class='row noMarg' style="height: 100%;">
<div class='col-xs-4 tabColPoison tabColNature'>
<div class='natureTitle'>
<span id='infoSpanPoison' class='infoSpanNature' onmouseover="natureTooltip(event, 'description', 'Poison')" onmouseout="tooltip('hide')"><span class='icomoon icon-info2'></span></span>
Poison
</div>
Tokens: <span id="tokenCountPoison">0</span>
<span class='natureBuyIcon' onmouseover="natureTooltip(event, 'upgrade', 'Poison')" onmouseout="tooltip('hide');" onclick="naturePurchase('upgrade', 'Poison')">
<span class='natureUpgradeLevel' id='natureUpgradePoisonLevel'></span>
<span class='natureUpgradeCost' id='natureUpgradePoisonCost'></span>
<span class='icomoon icon-plus'></span>
</span>
<span class='natureBuyIcon' onmouseover="natureTooltip(event, 'stackTransfer', 'Poison')" onmouseout="tooltip('hide');" onclick="naturePurchase('stackTransfer', 'Poison')">
<span class='natureUpgradeLevel' id='natureStackTransferPoisonLevel'></span>
<span class='natureUpgradeCost' id='natureStackTransferPoisonCost'></span>
<span class='icomoon icon-rotate-left'></span>
</span>
<span class='natureBuyIcon natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Poison', 'Wind')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Poison', 'Wind')">
<span class='natureUpgradeCost' id='naturePoisonWindCost'></span>
<span class='icomoon icon-air'></span>
</span>
<span class='natureBuyIcon natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Poison', 'Ice')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Poison', 'Ice')">
<span class='natureUpgradeCost' id='naturePoisonIceCost'></span>
<span class='glyphicon glyphicon-certificate'></span>
</span>
</div>
<div class='col-xs-4 tabColWind tabColNature'>
<div class='natureTitle'>
<span id='infoSpanWind' class='infoSpanNature' onmouseover="natureTooltip(event, 'description', 'Wind')" onmouseout="tooltip('hide')"><span class='icomoon icon-info2'></span></span>
Wind
</div>
Tokens: <span id="tokenCountWind">0</span>
<span class='natureBuyIcon' onmouseover="natureTooltip(event, 'upgrade', 'Wind')" onmouseout="tooltip('hide');" onclick="naturePurchase('upgrade', 'Wind')">
<span class='natureUpgradeLevel' id='natureUpgradeWindLevel'></span>
<span class='natureUpgradeCost' id='natureUpgradeWindCost'></span>
<span class='icomoon icon-plus'></span>
</span>
<span class='natureBuyIcon' onmouseover="natureTooltip(event, 'stackTransfer', 'Wind')" onmouseout="tooltip('hide');" onclick="naturePurchase('stackTransfer', 'Wind')">
<span class='natureUpgradeLevel' id='natureStackTransferWindLevel'></span>
<span class='natureUpgradeCost' id='natureStackTransferWindCost'></span>
<span class='icomoon icon-rotate-left'></span>
</span>
<span class='natureBuyIcon natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Wind', 'Ice')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Wind', 'Ice')">
<span class='natureUpgradeCost' id='natureWindIceCost'></span>
<span class='glyphicon glyphicon-certificate'></span>
</span>
<span class='natureBuyIcon natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Wind', 'Poison')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Wind', 'Poison')">
<span class='natureUpgradeCost' id='natureWindPoisonCost'></span>
<span class='icomoon icon-flask'></span>
</span>
</div>
<div class='col-xs-4 tabColIce tabColNature'>
<div class='natureTitle'>
<span id='infoSpanIce' class='infoSpanNature' onmouseover="natureTooltip(event, 'description', 'Ice')" onmouseout="tooltip('hide')"></span>
Ice
</div>
Tokens: <span id="tokenCountIce">0</span>
<span class='natureBuyIcon' onmouseover="natureTooltip(event, 'upgrade', 'Ice')" onmouseout="tooltip('hide');" onclick="naturePurchase('upgrade', 'Ice')">
<span class='natureUpgradeLevel' id='natureUpgradeIceLevel'></span>
<span class='natureUpgradeCost' id='natureUpgradeIceCost'></span>
<span class='icomoon icon-plus'></span>
</span>
<span class='natureBuyIcon' onmouseover="natureTooltip(event, 'stackTransfer', 'Ice')" onmouseout="tooltip('hide');" onclick="naturePurchase('stackTransfer', 'Ice')">
<span class='natureUpgradeLevel' id='natureStackTransferIceLevel'></span>
<span class='natureUpgradeCost' id='natureStackTransferIceCost'></span>
<span class='icomoon icon-rotate-left'></span>
</span>
<span class='natureBuyIcon natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Ice', 'Poison')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Ice', 'Poison')">
<span class='natureUpgradeCost' id='natureIcePoisonCost'></span>
<span class='icomoon icon-flask'></span>
</span>
<span class='natureBuyIcon natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Ice', 'Wind')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Ice', 'Wind')">
<span class='natureUpgradeCost' id='natureIceWindCost'></span>
<span class='icomoon icon-air'></span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xs-7" id="rightCol">
<div id="battleContainer" style="visibility: hidden">
<div id="battleHeadContainer">
<div class="row" id="battleStatsRow">
<div class="col-xs-6" id="goodGuyCol">
<div class="row">
<div class="col-xs-9" style="padding-right: 5px">
<!-- Update in resetGame if adding to name -->
<div class="battleStatsTitle" id="goodGuyName">Trimps (<span id="trimpsFighting">1</span>) <span id="anticipationSpan"></span> <span id="titimpBuff"></span> <span id="debuffSpan"></span></div>
</div>
<div class="col-xs-3" style="padding-left: 5px;">
<div class="row" style="padding-right: 15px;">
<div class="col-xs-3 fifth noPad">
<div class="formationBtn pointer formationStateDisabled" onclick="setFormation('0')" id="formation0" onmouseover="tooltip('No Formation', 'customText', event, 'Clear your formations, return to normal stats, and derp around the battlefield. (Hotkeys: X or 1)')" onmouseout="tooltip('hide')">
X
</div>
</div>
<div class="col-xs-3 fifth noPad">
<div class="formationBtn pointer formationStateDisabled" onclick="setFormation('1')" id="formation1" onmouseover="tooltip('Heap Formation', 'customText', event, 'Trimps gain 4x health but lose half of their attack and block. (Hotkeys: H or 2)')" onmouseout="tooltip('hide')">
H
</div>
</div>
<div class="col-xs-3 fifth noPad">
<div class="formationBtn pointer formationStateDisabled" onclick="setFormation('2')" id="formation2" onmouseover="tooltip('Dominance Formation', 'customText', event, 'Trimps gain 4x attack but lose half of their health and block. (Hotkeys: D or 3)')" onmouseout="tooltip('hide')">
D
</div>
</div>
<div class="col-xs-3 fifth noPad">
<div class="formationBtn pointer formationStateDisabled" onclick="setFormation('3')" id="formation3" onmouseover="tooltip('Barrier Formation', 'customText', event, 'Trimps gain 4x block and 50% block pierce reduction but lose half of their health and attack. (Hotkeys: B or 4)')" onmouseout="tooltip('hide')">
B
</div>
</div>
<div class="col-xs-3 fifth noPad">
<div class="formationBtn pointer formationStateDisabled" onclick="setFormation('4')" id="formation4" onmouseover="tooltip('Scryer Formation', 'customText', event, 'Trimps lose half of their attack, health and block but gain 2x resources from loot (not including Helium) and have a chance to find Dark Essence above Z180 in the world. This formation must be active for the entire fight to receive any bonus. (Hotkeys: S or 5)')" onmouseout="tooltip('hide')">
S
</div>
</div>
</div>
</div>
</div>
<div class="row guyRow" id="goodGuyStatsRow">
<div id='damageDiv' class="col-xs-6 lbdHover pointer noselect bdHover" style="padding-right: 0" onclick="getBattleStatBd('attack')">
<span id="goodGuyAttack"></span> DMG <span id="critSpan"></span>
</div>
<div class="col-xs-4 noPad pointer noselect bdHover" id="blockDiv" style="visibility: hidden" onclick="getBattleStatBd('block')">
<span id="goodGuyBlock">0</span> BLK
</div>
<div class="col-xs-2 pointer noselect" style="padding-left: 0" id="roboTrimpBtn" onclick="magnetoShriek()">
<span id="chainHolder" class="shriekStateCooldown" style='visibility: hidden' onmouseover="tooltip('MagnetoShriek', null, event)" onmouseout="tooltip('hide')"><span id="roboTrimpTurnsLeft"></span> <span class="icomoon icon-chain" style="color: white"></span></span>
</div>
</div>
<div class="progress fightBar">
<div class="progress-bar percentColorBlue" id="goodGuyBar" role="progressbar">
<span class="bdHover pointer noselect innerFightBar" onclick="getBattleStatBd('health')">
<span id="goodGuyHealth">0</span>/<span id="goodGuyHealthMax">0</span>
</span>
</div>
</div>
</div>
<div class="col-xs-6" id="badGuyCol" style="visibility: hidden">
<div>
<div class="row">
<div class="col-xs-11">
<span class="battleStatsTitle"><span id="badGuyName"></span> <span id="corruptionBuff"></span><span id="voidBuff"></span><span id="badCanCrit" style="display: none" class="badge" onmouseover="tooltip('Crushing Blows', 'customText', event, 'Your current health is higher than your block, making you vulnerable to critical strikes from your enemies. Better fix that...')" onmouseout="tooltip('hide')"><span class="icomoon icon-hair-cross"></span></span><span id='badDebuffSpan'></span></span><br/>
<div class="guyRow" id="badGuyRow">
<div>
<span id="badGuyAttack" class="dmgColorWhite"></span> DMG <span id="badCrit"></span>
</div>
</div>
</div>
<div class="col-xs-1" style="font-size: 1.5em; padding: 0;">
<div id="lootBdContainer">
<span id="lootBdBtn" class="icomoon icon-gift2 pointer" onclick="getLootBd('Food/Wood/Metal')"></span>
</div>
</div>
</div>
</div>
<div class="progress fightBar">
<div class="progress-bar percentColorBlue" id="badGuyBar" role="progressbar">
<span class="innerFightBar">
<span id="badGuyHealth">0</span>/<span id="badGuyHealthMax">0</span>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="row" id="gridRow">
<div class="col-xs-2" id="battleBtnsColumn">
<div id="battleSideTitle" onmouseover="getZoneStats(event)" onmouseout="tooltip('hide')">
<span id="worldName">Zone</span> <span id="worldNumber">1</span><br/><span id="mapBonus"></span>
</div>
<div class="battleSideBtnContainer">
<span class="btn btn-primary fightBtn" id="fightBtn" onmouseover="tooltip('Fight',null,event)" onmouseout="tooltip('hide')" onclick="fightManual()">
Fight
</span>
</div>
<div class="battleSideBtnContainer">
<span class="btn btn-danger fightBtn" id="pauseFight" onmouseover="tooltip('AutoFight',null,event)" onmouseout="tooltip('hide')" onclick="pauseFight()" style="display: none">
AutoFight Off
</span>
</div>
<div class="battleSideBtnContainer">
<span class="btn btn-warning fightBtn" id="mapsBtn" onmouseover="tooltip('Maps', null, event)" onmouseout="tooltip('hide')" onclick="mapsClicked()" style="display: none">
Maps
</span>
</div>
<div class="battleSideBtnContainer">
<span class="btn voidMessage fightBtn" id="voidMapsBtn" onclick="toggleVoidMaps()" style="display: none">
Void Maps
</span>
</div>
<div class="battleSideBtnContainer">
<span class="btn btn-info fightBtn" id="portalBtn" onmouseover="tooltip('Portal', null, event)" onmouseout="tooltip('hide')" onclick="portalClicked()" style="display: none">
Portal
</span>
</div>
<div class="battleSideBtnContainer">
<span class="btn btn-danger fightBtn" id="repeatBtn" onmouseover="tooltip('Repeat Map', null, event)" onmouseout="tooltip('hide')" onclick = "repeatClicked()" style="display: none">
Repeat Off
</span>
</div>
<div class="battleSideBtnContainer" style="display: none" id="heirloomBtnContainer">
<span id="heirloomsBtn" class="btn fightBtn heirloomsBtnColor" onclick="toggleHeirlooms()">Heirlooms</span>
</div>
<div class="battleSideBtnContainer" style="display: none" id="boneBtnContainer">
<span class="btn btn-default fightBtn" id="boneBtnMain" onclick="showBones()">
<span id="boneBtnText">Bone Trader</span>
</span>
</div>
<div class="battleSideBtnContainer" style="display: none" id="finishDailyBtnContainer">
<span class="btn btn-success fightBtn" id="finishDailyBtn" onclick="tooltip('Finish Daily', null, 'update')">
Finish Daily
</span>
</div>
<div class="battleSideBtnContainer" style="display: none" id="exitSpireBtnContainer">
<span class="btn btn-danger fightBtn" id="exitSpireBtn" onclick="tooltip('Exit Spire', null, 'update')">
Exit Spire
</span>
</div>
</div>
<div class="col-xs-10" id="gridContainer">
<div id="grid"></div>
<div id="preMaps" style="display: none">
<div style="display: none" id="mapsCreateRow" class="row">
<div id='advMapsControlBtns'>
<span id='advMapsHideBtn' class='icomoon icon-minus-circle pointer' onclick='hideAdvMaps()' onmouseover="tooltip('Show/Hide Map Config', 'advMaps', event)" onmouseout="tooltip('hide')"></span>
<span id='advMapsSaveBtn' class='icomoon icon-save pointer' onclick='saveAdvMaps()' onmouseover="tooltip('Save Map Settings', 'advMaps', event)" onmouseout="tooltip('hide')"></span>
<span id='advMapsResetBtn' class='icomoon icon-refresh pointer' onclick='resetAdvMaps(true)' onmouseover="tooltip('Reset Map Settings', 'advMaps', event)" onmouseout="tooltip('hide')"></span>
<span id='advMapsRecycleBtn' class="icomoon icon-trash-o pointer iconStateBad" onmouseover="tooltip('Recycle All', null, event)" onmouseout="tooltip('hide')" onclick="recycleBelow(false)"></span>
</div>
<div id="mapLevelContainer" class="col-xs-4">
Level <span class="pointer noselect incrementBtn" onclick="incrementMapLevel(-1)"><span class="glyphicon glyphicon-download"></span></span><input onkeyup="updateMapCost()" type="number" id="mapLevelInput"><span class="pointer noselect incrementBtn" onclick="incrementMapLevel(1)"><span class="glyphicon glyphicon-upload"></span></span>
</div>
<div id="mapCostContainer" class="col-xs-4 lowPad">
<span id="mapCostFragmentCost"></span><span id="mapCostFragmentText"> Fragments</span>
</div>
<div id="mapCreateBtn" onclick='buyMap()' class="workBtn primaryColor pointer noselect col-xs-4">
Create
</div>
</div>
<div id="advMapsRow" class="row">
<div id="advLootContainer" class="col-xs-3 advContainer lowPad">
<div class="advMapsTitle" onmouseover="tooltip('Loot', 'advMaps', event)" onmouseout="tooltip('hide')">
Loot
</div>
<br/>
<input value="0" id="lootAdvMapsRange" class="mapSelector mapInput" type="range" min="0" max="9" oninput="updateMapNumbers()" onchange="updateMapNumbers()">
<div id="lootAdvMapsText"></div>
</div>
<div id="advSizeContainer" class="col-xs-3 advContainer lowPad">
<div class="advMapsTitle" onmouseover="tooltip('Size', 'advMaps', event)" onmouseout="tooltip('hide')">
Size
</div>
<br/>
<input value="0" id="sizeAdvMapsRange" class="mapSelector mapInput" type="range" min="0" max="9" oninput="updateMapNumbers()" onchange="updateMapNumbers()">
<div id="sizeAdvMapsText"></div>
</div>
<div id="advDifficultyContainer" class="col-xs-3 advContainer lowPad">
<div class="advMapsTitle" onmouseover="tooltip('Difficulty', 'advMaps', event)" onmouseout="tooltip('hide')">
Difficulty
</div>
<br/>
<input value="0" id="difficultyAdvMapsRange" class="mapSelector mapInput" type="range" min="0" max="9" oninput="updateMapNumbers()" onchange="updateMapNumbers()">
<div id="difficultyAdvMapsText"></div>
</div>
<div id="advBiomeContainer" class="col-xs-3 advContainer lowPad" onmouseover="tooltip('Biome', 'advMaps', event)" onmouseout="tooltip('hide')">
<div class="advMapsTitle">
Biome
</div>
<br/>
<select id="biomeAdvMapsSelect" class="advSelect" onchange="updateMapCost()">
<option value="Random">Random</option>
<option value="Mountain">Mountain</option>
<option value="Forest">Forest</option>
<option value="Sea">Sea</option>
<option value="Depths">Depths</option>
</select>
</div>
</div>
<div id="advMapsRow2" class="row">
<div class="col-xs-2 advContainer lowPad"></div>
<div class="col-xs-3 advContainer lowPad">
<div class="advMapsTitle" onmouseover="tooltip('Special Modifier', 'advMaps', event)" onmouseout="tooltip('hide')">
Special Modifier
</div>
<br/>
<select id="advSpecialSelect" class="advSelect" onchange="updateMapCost()">
</select>
</div>
<div class="col-xs-2 advContainer lowPad">
<div id="advPerfectLocked" style="border: 1px solid white">
<div class="advMapsTitle">
Unlock at Z110
</div>
<span class="icomoon icon-lock3"></span>
</div>
<div id="advPerfectUnlocked" style="display: none">
<div class="advMapsTitle" onmouseover="tooltip('Perfect Sliders', 'advMaps', event)" onmouseout="tooltip('hide')">
Perfect Sliders
</div>
<br/>
<input id="advPerfectCheckbox" type="checkbox" onchange="updateMapNumbers()">
</div>
</div>
<div class="col-xs-3 advContainer lowPad">
<div id="advExtraLevelLocked" style="border: 1px solid white">
<div class="advMapsTitle">
Unlock at Z210
</div>
<span class="icomoon icon-lock3"></span>
</div>
<div id="advExtraLevelUnlocked" style="display: none">
<div class="advMapsTitle" onmouseover="tooltip('Extra Zones', 'advMaps', event)" onmouseout="tooltip('hide')">
Extra Zones
</div>
<br/>
<select id="advExtraLevelSelect" class="advSelect" onchange="updateMapCost()"></select>
</div>
</div>
<div class="col-xs-2 advContainer lowPad"></div>
</div>
<div id="heirRare" style="display: none">
</div>
<div id="selectedMapContainer" class="row">
<div id="selectedMapCol" class="col-xs-3 lowPad">
<div id="selectedMapName"></div><br/>
<div id="mapCreditsLeft" title="Earn 1 Credit for each zone you clear while on this challenge"></div>
</div>
<div id="mapStatsCol3" class="col-xs-5 lowPad">
<div class="row">
<div class="col-xs-7 mapStatsCol">
<div class="mapStatsTitle">Items</div>
<div class="mapStatsTitle">Resource</div>
</div>
<div id="mapStatsCol4" class="col-xs-5 mapStatsCol">
<div class="mapStatsValue" id="mapStatsItems"></div>
<div class="mapStatsValue" id="mapStatsResource"></div>
</div>
</div>
<div id="selectMapBtns">
<span id="selectMapBtn" class="workBtn pointer noselect infoColor selectMapBtn" style="visibility: hidden" onclick="runMap()">
Run Map
</span>
<span id="recycleMapBtn" class="workBtn pointer noselect dangerColor selectMapBtn" style="visibility: hidden" onclick="recycleMap()">
Recycle Map
</span>
</div>
</div>
<div id="mapStatsCol1" class="col-xs-2 mapStatsCol">
<div class="mapStatsTitle">Size</div>
<div class="mapStatsTitle">Difficulty</div>
<div class="mapStatsTitle">Loot</div>
</div>
<div id="mapStatsCol2" class="col-xs-2 mapStatsCol">
<div class="mapStatsValue" id="mapStatsSize"></div>
<div class="mapStatsValue" id="mapStatsDifficulty"></div>
<div class="mapStatsValue" id="mapStatsLoot"></div>
</div>
</div>
<div id="mapsHere" class="mapSize1 niceScroll">
</div>
<div id="voidMapsHere" class="niceScroll">
</div>
</div>
<div id="mapGrid" class="gridShrunk" style="display: none;"></div>
<div id="extraGridInfo" style="display: none;">
<div id="extraGridInfoTitle"></div>
<div id="extraGridInfoSummary"></div>
<div id="extraGridInfoSub"></div>
<div id="extraGridInfoBtns">
<span class="btn btn-info" onclick="restoreGrid()">Continue</span>
</div>
</div>
</div>
<div id="extraMapBtns" class="col-xs-off">
<div class="battleSideBtnContainer">
<span class="btn settingBtn1 fightBtn" id="togglemapLoot2" onmouseout="tooltip('hide')" onclick="toggleSetting('mapLoot')">
</span>
</div>
<div class="battleSideBtnContainer">
<span class="btn settingBtn1 fightBtn" id="togglerepeatUntil" onmouseout="tooltip('hide')" onclick="toggleSetting('repeatUntil')">
</span>
</div>
<div class="battleSideBtnContainer">
<span class="btn settingBtn1 fightBtn" id="toggleexitTo" onmouseout="tooltip('hide')" onclick="toggleSetting('exitTo')">
</span>
</div>
<div class="battleSideBtnContainer" style="display: none" id="repeatVoidsContainer">
<span class="btn settingBtn1 fightBtn" id="togglerepeatVoids" onmouseout="tooltip('hide')" onclick="toggleSetting('repeatVoids')">
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="settingsRow">
<table id="settingsTable">
<tr>
<td class="btn btn-info" onclick="save(false, true)">
Save <span id="saveIndicator"></span><span id="playFabIndicator"></span>
</td>
<td class="btn btn-info" onclick="tooltip('Export', null, 'update')">
<div>Export</div>
</td>
<td class="btn btn-info" onclick="tooltip('Import', null, 'update')">
<div>Import</div>
</td>
<td class="btn btn-success" onclick="toggleStats()">
<div>Stats</div>
</td>
<td class="btn tealColor" onclick="toggleAchievementWindow()">
<div>Achieves</div>
</td>
<td class="btn btn-default" onclick="toggleSettingsMenu()">
<div id='settingsText'>Settings</div>
</td>
<td class="btn" id="pastUpgradesBtn" onclick="viewPortalUpgrades()">
</td>
<td class="btn btn-new" onclick="window.open('updates.html', '_blank')">
V <span id="versionNumber"></span> | What's New
</td>
<td id="portalTimer" class="timerNotPaused" onclick="toggleSetting('pauseGame')" onmouseover="tooltip('Pause the game', 'customText', event, game.options.menu['pauseGame'].description)" onmouseout="tooltip('hide')">
<span id="portalTime"> </span> <span style='font-size: 0.85em; line-height: 0.85em;' class='icomoon icon-pause3'></span>
</td>
</tr>
</table>
<div id="settingsHere" style="display: none">
<div id='searchSettingsWindow'>
<div id='settingTitleBar'>
<div class='noselect optionContainer settingsBtn tealColor settingTypeBtn' onclick='toggleSettingSection(false)'>Browse All</div>
<span id='searchSettingsTitle'>Choose a Category Below, or Search for a Setting/Keyword:</span>
<input id='searchSettings' onkeyup='searchSettings(this)' /><br/>
<div id='settingsTabs'>
<ul class="nav nav-tabs nav-justified">
<li role="presentation" style='display: none' id='NewTab' onclick="settingTab('New')" class="tabNotSelected settingTab"><a>New</a></li>
<li role="presentation" id='GeneralTab' onclick="settingTab('General')" class="tabNotSelected settingTab"><a>General</a></li>
<li role="presentation" id='PerformanceTab' onclick="settingTab('Performance')" class="tabNotSelected settingTab"><a>Performance</a></li>
<li role="presentation" id='QOLTab' onclick="settingTab('QOL')" class="tabNotSelected settingTab"><a>Quality of Life</a></li>
<li role="presentation" id='AlertsTab' onclick="settingTab('Alerts')" class="tabNotSelected settingTab"><a>Pop-ups and Alerts</a></li>
<li role="presentation" id='LayoutTab' onclick="settingTab('Layout')" class="tabNotSelected settingTab"><a>Layout</a></li>
<li role="presentation" id='OtherTab' onclick="settingTab('Other')" class="tabNotSelected settingTab"><a>Other</a></li>
</ul>
</div>
</div>
<div id='settingSearchResults'></div>
</div>
<div id="allSettings" style="display: none">
<div class='noselect optionContainer settingsBtn tealColor' onclick='toggleSettingSection(true)'>Back to Search</div>
<div id="allSettingsHere"></div>
</div>
</div>
</div>
</div>
</div>
<div id="portalWrapper" style="display: none" class="portalMk0">
<div id='titleRow'>
<div id='titleCol1' class='titleCol'>
<div>
<div id="portalTitle"></div>
<div id="portalError" style="display: none"></div>
</div>
</div>
<div id='titleCol2' class='titleCol'>
<div>
<div id="portalHelium"><span id="portalHeliumOwned">0</span> Helium Canisters</div>
<div id="portalTotalHelium"><span id="totalHeliumEarned">0</span> Earned All Time</div>
<div id="portalTotalPortals"><span id="totalPortals">0</span> Portals Used</div>
</div>
</div>
</div>