forked from Trimps/Trimps.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ScreenReader.html
1530 lines (1496 loc) · 82.4 KB
/
ScreenReader.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 5.6.5 (Screen Reader version)</title>
<meta name="description" content="Trimps">
<meta name="author" content="Greensatellite">
<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?33" />
<!-- <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) 2021 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 onblur="gameUnfocused()">
<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="offlineWrapper">
<div id="offlineInnerWrapper">
<div id="offlineTitle">
Making up lost time...
</div>
<div id="offlineProgressWrapper" class='progress'>
<span id='offlineProgressText'>Starting...</span>
<div class="progress-bar" role="progressbar" id="offlineProgress"> </div>
</div>
<div class='row'>
<div class='col-xs-3'>
<div id='offlineZoneNumber'>Zone</div>
<div id='offlineCellNumber'>Cell </div>
</div>
<div class='col-xs-9'>
<div id='offlineExtraInfo'></div>
</div>
</div>
<div class='row'>
<div id='offlineMapBtns' class='col-xs-6'>
<div id='offlineMapText' style='text-align: center;'>Wanna run a map?</div>
<div id='offlineMapBtnsInner'>
<span id="offlineMapBtn0" class="offlineMapBtn btn btn-md btn-success" onclick="offlineProgress.runFirstMap(0);">World Level Map</span>
<span id="offlineMapBtn1" class="offlineMapBtn btn btn-md btn-success" onclick="offlineProgress.runFirstMap(-1);">-1 Level map</span>
<span id="offlineMapBtn2" class="offlineMapBtn btn btn-md btn-success" onclick="offlineProgress.runFirstMap(-2);">-2 Level map</span>
<span id="offlineMapBtn3" class="offlineMapBtn btn btn-md btn-success" onclick="offlineProgress.runFirstMap(-3);">-3 Level map</span>
</div>
</div>
<div id='offlineZoneBtns' class='col-xs-6'>
<div id='offlineInMapDescription' style='text-align: center;'></div>
<span id='offlineZoneBtn' onclick="offlineProgress.leaveMap();" class="offlineExtraBtn btn btn-md btn-primary">Back to World</span>
</div>
<div id='offlineExtraBtnsContainer' class='col-xs-6' style='position: absolute; left: 50%; width: 25%;'>
<div id='offlineTimeOffline'></div>
<div class='btn btn-lg btn-info offlineExtraBtn' onclick="tooltip('Lost Time', null, 'update');">What is This?!</div>
<div class='btn btn-lg btn-danger offlineExtraBtn' onclick='usingRealTimeOffline = false'>Stop Here</div>
<div class='btn btn-lg btn-warning offlineExtraBtn' id='offlineEqualityBtn' onclick='offlineProgress.showEquality()'>Show Equality</div>
<div id='offlineFormations'></div>
<div id='offlineSettingContainer'></div>
<div id='offlineEffective'></div>
</div>
</div>
</div>
</div>
<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 cell 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 Bone Portal (100 bones)
</div>
<div class="miscDesc">
<b><span id="heliumGainedMisc"></span></b><br/>
<span id="bonePortalDescription">Automatically gain helium equal to the amount you earned on your best run</span>
</div>
</div>
<div id="singleRunBonuses">
</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>
</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">
<h1 class="title">Food</h1>
<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">
<span id="foodTimeToFill"></span>
</div>
</div>
<div class="row collectRow">
<div class="col-xs-6">
<div role="button" 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;">
<h1 class="title">Wood</h1>
<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">
<span id="woodTimeToFill"></span>
</div>
</div>
<div class="row collectRow">
<div class="col-xs-6">
<div id="woodCollectBtn" role="button" 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;">
<h1 class="title">Metal</h1>
<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">
<span id="metalTimeToFill"></span>
</div>
</div>
<div class="row collectRow">
<div class="col-xs-6">
<div id="metalCollectBtn" role="button" 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;">
<h1 class="title">Science</h1>
<span class="ownedArea"><span id="scienceOwned">0</span></span>
<br/>
<div class="row collectRow">
<div class="col-xs-6">
<div id="scienceCollectBtn" role="button" 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 id="heliumName" class="title">Helium</span>
<br/>
<span class="ownedArea"><span id="heliumOwned">0</span></span>
<br/>
<span id="heliumPh" class="heliumPh hePhColorNormal"></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">
<h1><span id="trimpTitle" class="title">???</span></h1>
</div>
</div>
<div class="col-xs-3" style="padding-left: 0">
<div id="fluffyBox" style="display: none" onmouseover="tooltip('Fluffy', null, event)" onmouseout="tooltip('hide')" onclick="tooltip('Fluffy', null, 'update')">
<span class="fluffyIcon glyphicon glyphicon-user"></span> Lv<span id='fluffyLevel'></span><br/><div class="progress" id="fluffyExpContainer"><span class="progress-bar noTransition" id="fluffyExp"> </span></div>
</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" role="button" 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 title="Configure Displayed Messages" 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="achievementTracker">
<div class="row">
<span id="closeTrackedAchieve" onclick="startTrackAchieve()" class="icomoon icon-close" style='cursor: pointer'></span>
<div id="achievementTrackerIconContainer" class="col-xs-2 noPad">
</div>
<div class="col-xs-4 noPad">
<div id="achievementTrackerTitle"></div>
<div id="achievementTrackerDescription"></div>
</div>
<div class="col-xs-5 noPad">
<div id="achievementTrackerProgress" class="trackerProgress"></div>
<div id="achievementTrackerReward"></div>
</div>
<div class="col-xs-1 noPad">
</div>
</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>
<h3>End of Log</h3>
</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">
<h1><div role="button" id="buildingsCollectBtn" onclick="setGather('buildings')" class="workBtn workColorOff pointer noselect">Build Buildings</div></h1>
</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 buyTabsUl">
<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>
</ul>
<ul id="buyTabsUl2" class="nav nav-tabs nav-justified buyTabsUl">
<li role="presentation" id="talentsTab" style='display: none' onclick="filterTabs('talents')" class="tabNotSelected buyTab" onmouseover="tooltip('Mastery', null, event)" onmouseout="tooltip('hide')"><a id="talentA"><span id="talentsAlert" class="alert badge"></span>Mastery<span id="talentsEssenceTotal"></span></a></li>
<li role="presentation" id="equalityTab" style='display: none' onclick="tooltip('Scale Equality Scaling', null, 'update', true)" class="tabNotSelected equalityTabScaling buyTab" onmouseover="tooltip('Equality Scaling', null, event, true)" onmouseout="tooltip('hide')"><a id="equalityA">Equality</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>
<li role="presentation" id="playerSpireTab" style='display: none' onclick="playerSpire.openPopup()" class="tabNotSelected buyTab pausedSpireNo"><a id="spireA">Spire</a></li>
<li role="presentation" id="alchemyTab" style='display: none' onclick="alchObj.openPopup()" class="tabNotSelected buyTab alchTabNone"><a id="alchemyA">Alchemy</a></li>
<li role="presentation" id="autoBattleTab" style='display: none' onclick="autoBattle.popup()" class="tabNotSelected buyTab abTabNone"><a id="autoBattleA">SA</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"><h2>Buildings</h2></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="toggleConfigBtn 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"><h2>Jobs</h2></span>
</div>
<div class="col-xs-3 lowPad">
<span id="jobsTitleUnemployed" class="titleSpan"></span>
</div>
<div class="col-xs-3 lowPad">
<div id="autoJobsBtn" onmouseover='tooltip("AutoJobs", null, event)' onmouseout='tooltip("hide")' class="toggleConfigBtn pointer noselect colorDanger autoUpgradeBtn">
<div id='autoJobsText' role="button" onclick="toggleAutoJobs()">AutoJobs</div><div role="button" title="Configure AutoJobs" onclick="tooltip('Configure AutoJobs', null, 'update')">
<span class='glyphicon glyphicon-cog'></span>
</div>
</div>
</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>
<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">
<h2><span id="upgradesTitleSpan" class="titleSpan">Upgrades<br/>(Research first)</span></h2>
</div>
<div class="col-xs-3 lowPad">
<div id="autoGoldenBtn" onmouseover="tooltip('AutoGold', null, event)" onmouseout="tooltip('hide')" class="pointer noselect settingBtn0 autoUpgradeBtn">
<div id='autoGoldenText' onclick="toggleAutoGolden()">AutoGold</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"><h2>Equipment</h2></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 id="autoEquipBtn" onmouseover='tooltip("AutoEquip", null, event)' onmouseout='tooltip("hide")' class="toggleConfigBtn pointer noselect colorDanger autoUpgradeBtn">
<div id='autoEquipText' onclick="toggleAutoEquip()">AutoEquip</div><div onclick="tooltip('Configure AutoEquip', null, 'update')">
<span class='glyphicon glyphicon-cog'></span></div>
</div>
</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 lowPad'><div id='talentsAffordable'></div></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' onmouseover='tooltip("Respec Masteries", null, event)' onmouseout='tooltip("hide")' onclick='respecTalents()' id='talentRespecBtn'>Respec (20 bones)</div>
</div>
</div>
<div id="talentsCost">Your next mastery costs <span id='talentsNextCost'>0</span>.</div>
<div id="talentsHere" onload="preventZoom(this)"></div>
</div>
<div id="natureContainer" style="display: none; height: 100%;">
<div class='row noMarg' style="height: 100%;">
<div id='tabColPoison' class='col-xs-4 tabColPoison tabColNature noPad'>
<div class='natureTop'>
<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>
</div>
<span class='natureBuyIcon noselect' 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='natureBigIcon icomoon icon-plus'></span>
</span>
<span class='natureBuyIcon noselect' 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='natureBigIcon icomoon icon-rotate-left'></span>
</span>
<span id='uberPoisonContainer' class='natureBuyIcon natureUberContainer noselect' onmouseover="natureTooltip(event, 'uberEmpower', 'Poison')" onmouseout="tooltip('hide');" onclick="naturePurchase('uberEmpower', 'Poison')">
<span class='natureUpgradeLevel natureUberName' id='uberPoisonName'></span>
<span class='natureUpgradeCost' id='natureUberEmpowerPoisonCost'></span>
<span class='natureBigIcon glyphicon glyphicon-king'></span>
</span>
<div class="transferButtons">
<span class='natureBuyIcon noselect natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Poison', 'Wind')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Poison', 'Wind')">
<span class='natureUpgradeCost' id='naturePoisonWindCost'></span>
<span class='natureSmallIcon icomoon icon-shuffle3'></span>
<span class='natureSmallIcon icomoon icon-air'></span>
</span>
<span class='natureBuyIcon noselect natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Poison', 'Ice')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Poison', 'Ice')">
<span class='natureUpgradeCost' id='naturePoisonIceCost'></span>
<span class='natureSmallIcon icomoon icon-shuffle3'></span>
<span class='natureSmallIcon glyphicon glyphicon-certificate'></span>
</span>
</div>
<span class='natureBackgroundIcon icomoon icon-flask'></span>
</div>
<div id='tabColWind' class='col-xs-4 tabColWind tabColNature noPad'>
<div class='natureTop'>
<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>
</div>
<span class='natureBuyIcon noselect' 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='natureBigIcon icomoon icon-plus'></span>
</span>
<span class='natureBuyIcon noselect' 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='natureBigIcon icomoon icon-rotate-left'></span>
</span>
<span id='uberWindContainer' class='natureBuyIcon natureUberContainer noselect' onmouseover="natureTooltip(event, 'uberEmpower', 'Wind')" onmouseout="tooltip('hide');" onclick="naturePurchase('uberEmpower', 'Wind')">
<span class='natureUpgradeLevel natureUberName' id='uberWindName'></span>
<span class='natureUpgradeCost' id='natureUberEmpowerWindCost'></span>
<span class='natureBigIcon glyphicon glyphicon-king'></span>
</span>
<div class='transferButtons'>
<span class='natureBuyIcon noselect natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Wind', 'Poison')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Wind', 'Poison')">
<span class='natureUpgradeCost' id='natureWindPoisonCost'></span>
<span class='natureSmallIcon icomoon icon-shuffle3'></span>
<span class='natureSmallIcon icomoon icon-flask'></span>
</span>
<span class='natureBuyIcon noselect natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Wind', 'Ice')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Wind', 'Ice')">
<span class='natureUpgradeCost' id='natureWindIceCost'></span>
<span class='natureSmallIcon icomoon icon-shuffle3'></span>
<span class='natureSmallIcon glyphicon glyphicon-certificate'></span>
</span>
</div>
<span class='natureBackgroundIcon icomoon icon-air'></span>
</div>
<div id='tabColIce' class='col-xs-4 tabColIce tabColNature noPad'>
<div class='natureTop'>
<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>
</div>
<span class='natureBuyIcon noselect' 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='natureBigIcon icomoon icon-plus'></span>
</span>
<span class='natureBuyIcon noselect' 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='natureBigIcon icomoon icon-rotate-left'></span>
</span>
<span id='uberIceContainer' class='natureBuyIcon noselect natureUberContainer' onmouseover="natureTooltip(event, 'uberEmpower', 'Ice')" onmouseout="tooltip('hide');" onclick="naturePurchase('uberEmpower', 'Ice')">
<span class='natureUpgradeLevel natureUberName' id='uberIceName'></span>
<span class='natureUpgradeCost' id='natureUberEmpowerIceCost'></span>
<span class='natureBigIcon glyphicon glyphicon-king'></span>
</span>
<div class="transferButtons">
<span class='natureBuyIcon noselect natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Ice', 'Poison')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Ice', 'Poison')">
<span class='natureUpgradeCost' id='natureIcePoisonCost'></span>
<span class='natureSmallIcon icomoon icon-shuffle3'></span>
<span class='natureSmallIcon icomoon icon-flask'></span>
</span>
<span class='natureBuyIcon noselect natureBuyIconMini' onmouseover="natureTooltip(event, 'convert', 'Ice', 'Wind')" onmouseout="tooltip('hide');" onclick="naturePurchase('convert', 'Ice', 'Wind')">
<span class='natureUpgradeCost' id='natureIceWindCost'></span>
<span class='natureSmallIcon icomoon icon-shuffle3'></span>
<span class='natureSmallIcon icomoon icon-air'></span>
</span>
</div>
<span class='natureBackgroundIcon icomoon icon-certificate'></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 id='colGoodGuyName' class="col-xs-9" style="padding-right: 5px">
<!-- Update in resetGame if adding to name -->
<div class="battleStatsTitle" id="goodGuyName"><span id='realTrimpName'>Trimps</span> (<span id="trimpsFighting">1</span>) <span id="anticipationSpan"></span> <span id="titimpBuff"></span> <span id="debuffSpan"></span></div>
</div>
<div id='colStances' class="col-xs-3" style="padding-left: 5px;">
<div class="row noPad" style="padding-right: 15px;">
<div id='form0Container' class="formFifth 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 id='form1Container' class="formFifth 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 id='form2Container' class="formFifth 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 id='form3Container' class="formFifth 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 id='form4Container' class="formFifth noPad">
<div class="formationBtn pointer formationStateDisabled" onclick="setFormation('4')" id="formation4" onmouseover="tooltip('Scryer Formation', null, event)" onmouseout="tooltip('hide')">
S
</div>
</div>
<div id='form5Container' class="formSixth noPad">
<div class="formationBtn pointer formationStateDisabled" onclick="setFormation('5')" id="formation5" onmouseover="natureTooltip(event, 'formation')" onmouseout="tooltip('hide')">
N
</div>
</div>
</div>
</div>
</div>
<div class="row guyRow" id="goodGuyStatsRow">
<h4 style='font-size: 0px'>Trimp Battle Stats</h4>
<div id='damageDiv' class="col-xs-6 lbdHover pointer noselect bdHover" style="padding-right: 0" onclick="getBattleStatBd('attack')">
<span id="goodGuyAttack" class='attackColorNormal'></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> <span id='goodGuyBlockName'>BLK</span>
</div>
<div class="col-xs-2 pointer noselect" title="Activate MagnetoShriek" role="button" 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">
<h5 title="trimpHealth">
<div style='color: black;' class="percentColorBlue" id="goodGuyBar">
<span style='z-index: 3' class="bdHover pointer noselect innerFightBar" onclick="getBattleStatBd('health')">
<span id="goodGuyHealth">0</span>/<span id="goodGuyHealthMax">0</span>
</span>
</div>
<div class="progress-bar es0" role="progressbar" id="energyShield"> </div>
<div class="progress-bar es1" role="progressbar" id="energyShieldLayer"> </div>
<div class="progress-bar es2" role="progressbar" id="energyShieldLayer2"> </div>
</h5>
</div>
</div>
<div class="col-xs-6" id="badGuyCol" style="visibility: hidden">
<div>
<div class="row">
<h4 style='font-size: 0px'>Enemy Battle Stats</h4>
<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">
<h5 title="enemyHealth">
<div style='color: black;' class="percentColorBlue" id="badGuyBar">
<span class="innerFightBar">
<span id="badGuyHealth">0</span>/<span id="badGuyHealthMax">0</span>
</span>
</div>
</h5>
</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')">
<h3><span id="worldName">Zone</span> <span id="worldNumber">1</span><br/><span id="mapBonus"></span></h3>
</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">
<div id="mapsBtn" onmouseover="tooltip('Maps', null, event)" onmouseout="tooltip('hide')" style="display: none">
<div id='mapsBtnText' onclick="mapsClicked()">Maps</div><div role="button" title='Configure Map Settings. Press S after clicking.' onclick="tooltip('Configure Maps', null, 'update')">
<span class='glyphicon glyphicon-cog'></span></div>
</div>
</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' role="button" title="Show/Hide map settings" class='icomoon icon-minus-circle pointer' onclick='hideAdvMaps()' onmouseover="tooltip('Show/Hide Map Config', 'advMaps', event)" onmouseout="tooltip('hide')"> </span>
<span id='advMapsPreset1' role="button" title="Load Preset 1" class='pointer mapPreset presetSelectionOff' onclick='selectAdvMapsPreset(1)' onmouseover="tooltip('Map Preset', 'advMaps', event)" onmouseout="tooltip('hide')">1</span>
<span id='advMapsPreset2' role="button" title="Load Preset 2" class='pointer mapPreset presetSelectionOff' onclick='selectAdvMapsPreset(2)' onmouseover="tooltip('Map Preset', 'advMaps', event)" onmouseout="tooltip('hide')">2</span>
<span id='advMapsPreset3' role="button" title="Load Preset 3" class='pointer mapPreset presetSelectionOff' onclick='selectAdvMapsPreset(3)' onmouseover="tooltip('Map Preset', 'advMaps', event)" onmouseout="tooltip('hide')">3</span>
<span id='advMapsPreset4' class='pointer mapPreset presetSelectionOff' onclick='selectAdvMapsPreset(4)' onmouseover="tooltip('Map Preset', 'advMaps', event)" onmouseout="tooltip('hide')">4</span>
<span id='advMapsPreset5' class='pointer mapPreset presetSelectionOff' onclick='selectAdvMapsPreset(5)' onmouseover="tooltip('Map Preset', 'advMaps', event)" onmouseout="tooltip('hide')">5</span>
<span id='advMapsSaveBtn' role="button" title="Save Settings to Selected Preset" class='icomoon icon-save pointer' onclick='saveAdvMaps()' onmouseover="tooltip('Save Map Settings', 'advMaps', event)" onmouseout="tooltip('hide')"> </span>
<span id='advMapsResetBtn' role="button" title="Reset The Selected Preset" class='icomoon icon-refresh pointer' onclick='resetAdvMaps(true)' onmouseover="tooltip('Reset Map Settings', 'advMaps', event)" onmouseout="tooltip('hide')"> </span>
<span id='advMapsRecycleBtn' role="button" title="Recycle All Maps" 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 role="button" title="Reduce map level by 1" class="pointer noselect incrementBtn" onclick="incrementMapLevel(-1)"> <span class="glyphicon glyphicon-download"></span></span><input onkeyup="updateMapCost()" type="number" id="mapLevelInput" onfocusout="checkMapLevelInput(this)"><span role="button" title="Increase map level by 1" class="pointer noselect incrementBtn" onclick="incrementMapLevel(1)"> <span class="glyphicon glyphicon-upload"></span></span>
</div>
<div id="mapCostContainer" class="col-xs-4 lowPad">
<h4 title="Map Cost"><span id="mapCostFragmentCost"></span><span id="mapCostFragmentText"> Fragments</span></h4>
</div>
<div id="mapCreateBtn" role="button" 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 mapConfigContainer lowPad">
<div class="advMapsTitle" onmouseover="tooltip('Loot', 'advMaps', event)" onmouseout="tooltip('hide')">
Loot
</div>
<br/>
<input title="Loot setting slider" value="0" id="lootAdvMapsRange" class="mapSelector mapInput" type="range" min="0" max="9" oninput="updateMapNumbers('loot')" onchange="updateMapNumbers('loot')">
<div id="lootAdvMapsText"></div>
</div>
<div id="advSizeContainer" class="col-xs-3 mapConfigContainer lowPad">
<div class="advMapsTitle" onmouseover="tooltip('Size', 'advMaps', event)" onmouseout="tooltip('hide')">
Size
</div>
<br/>
<input value="0" title="Size setting slider" id="sizeAdvMapsRange" class="mapSelector mapInput" type="range" min="0" max="9" oninput="updateMapNumbers('size')" onchange="updateMapNumbers('size')">
<div id="sizeAdvMapsText"></div>
</div>
<div id="advDifficultyContainer" class="col-xs-3 mapConfigContainer lowPad">
<div class="advMapsTitle" onmouseover="tooltip('Difficulty', 'advMaps', event)" onmouseout="tooltip('hide')">
Difficulty
</div>
<br/>
<input value="0" title="Difficulty setting slider" id="difficultyAdvMapsRange" class="mapSelector mapInput" type="range" min="0" max="9" oninput="updateMapNumbers('difficulty')" onchange="updateMapNumbers('difficulty')">
<div id="difficultyAdvMapsText"></div>
</div>
<div id="advBiomeContainer" class="col-xs-3 mapConfigContainer 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 mapConfigContainer lowPad"></div>
<div class="col-xs-3 mapConfigContainer 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 mapConfigContainer lowPad">
<div id="advPerfectLocked" style="border: 1px solid white">
<div class="advMapsTitle" id='advPerfectLockedText'>
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/>
<span id="advPerfectCheckbox" class="icomoon icon-checkbox-unchecked niceCheckbox" data-checked="false" onclick="swapNiceCheckbox(this); updateMapNumbers()"></span>
</div>
</div>
<div class="col-xs-3 mapConfigContainer lowPad">
<div id="advExtraLevelLocked" style="border: 1px solid white">
<div class="advMapsTitle" id='advExtraLockedText'>
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 mapConfigContainer 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" role="button" class="workBtn pointer noselect infoColor selectMapBtn" style="visibility: hidden" onclick="runMap()">
Run Map
</span>
<span id="recycleMapBtn" role="button" 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>