-
Notifications
You must be signed in to change notification settings - Fork 175
/
index.html
7239 lines (7208 loc) · 271 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 style="height:100%">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Space Company</title>
<link href="SpaceCompanyFavicon.png" rel="shortcut icon" type="image/x-icon" />
<link href="lib/bootstrap.min.css" rel="stylesheet" type="text/css" id="theme_css"/>
<link href="lib/pnotify.custom.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<script src='https://cdn1.kongregate.com/javascripts/kongregate_api.js'></script>
<!-- <script>
kongregateAPI.loadAPI(function(){
window.kongregate = kongregateAPI.getAPI();
console.log("KongregateAPI Loaded");
// You can now access the Kongregate API with: kongregate.services.getUsername(), etc
// Proceed with loading your game...
});
</script> -->
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75489477-2', 'auto');
ga('send', 'pageview');
</script>
<!-- Meta tags -->
<!-- Use this for more embed options. go here https://oembed.com/ to see those options. -->
<link type="application/json+oembed" href="https://sparticle999.github.io/SpaceCompany/oembed.json" />
<meta name="author" content="Sparticle999">
<meta name="title" content="Space Company">
<meta name="description" content="Space Company is a science-fiction incremental game where you start from humble beginnings on Earth, working your way up to travelling between star systems and building Dyson Spheres and pretty much colonising the entire galaxy(ies?)">
<meta content="Space Company" property="og:title">
<meta property="og:description" content="Space Company is a science-fiction incremental game where you start from humble beginnings on Earth, working your way up to travelling between star systems and building Dyson Spheres and pretty much colonising the entire galaxy(ies?)">
<meta content="Space Company" property="og:site_name">
<meta property="og:image" content="https://sparticle999.github.io/SpaceCompany/SpaceCompanyFavicon.png">
<meta name="twitter:card" value="summary">
<meta property="twitter:url" content="https://sparticle999.github.io/SpaceCompany">
<meta property="twitter:title" content="Space Company">
<meta property="twitter:description" content="Space Company is a science-fiction incremental game where you start from humble beginnings on Earth, working your way up to travelling between star systems and building Dyson Spheres and pretty much colonising the entire galaxy(ies?)">
<meta property="twitter:image" content="https://sparticle999.github.io/SpaceCompany/SpaceCompanyFavicon.png">
<!-- When you put the link in discord, it uses this tag to color the stripe on the embed -->
<meta name="theme-color" content="#ffffff">
</head>
<body style="height:100%">
<div id="loadScreen" style="width:100%; height:100%; background-color: black">
<div style="width:100%; height:3%"></div>
<div style="width:70%; font-size:72px; font-family: 'Orbitron', 'sans-serif'; font-weight: lighter; color:#ffffff; line-height:72px; text-align:center; margin: auto;">
Space Company
<!-- </div>
<div style="margin-left:31%; "> -->
<br>
<img id="loadLogo" style="opacity: 1; width:50%; height:50%;" src="whiteLogo.png">
<br>
</div>
<div id="splashText" style="width:100%; font-size:40px; font-family: 'Orbitron', 'sans-serif'; font-weight: bold; color:#ffffff; line-height:40px; text-align:center;">
Reticulating Splines...
</div>
</div>
<script type="text/javascript" src="data/splashTextData.js"></script>
<div id="game" class="container hidden" style="width:95%; margin: auto;">
<!-- Bar at top of screen -->
<div class="navbar navbar-default ng-scope" role="navigation" ng-controller="HeaderCtrl">
<div class="container">
<div class="navbar-header" style="width:100%; height:50px">
<a class="navbar-brand">
<img src="SpaceCompanyFavicon.png" style="width:40px; height:auto; margin-top:-30%;">
</a>
<a class="navbar-brand page-title" href="#">
<span id="companyName">Space</span> Company
</a>
<a class="navbar-brand" ng-href="" target="_blank" href="https://github.com/sparticle999/SpaceCompany#changelog">
<span id="versionLabel" class="text-muted small ng-binding"></span>
</a>
<a class="navbar-brand">
<span id="energyLow" class="text-muted small ng-binding red hidden">
Energy Deficit!
</span>
</a>
<a class="navbar-brand pointer" target="_blank" href="http://discord.gg/hgRUjVp">
<span class="text-muted small">Join our Discord!</span>
</a>
<div class="pull-right" style="width:200px;">
<a class="navbar-brand">
<span id="autoSaveTimer" class="text-muted small ng-binding" style="font-size:14px;">
</span>
</a>
</div>
</div>
<div class="navbar-right"><login><!-- ngIf: env.isServerFrontendEnabled --></login></div>
</div>
<div class="ng-binding"></div>
</div>
<div height="30"></div>
<span id="updateBox"></span>
<!-- Nav tabs -->
<ul class="nav nav-tabs no-select" role="tablist" id="tabList">
<li role="presentation" class="active"><a href="#resources" aria-controls="resources" role="tab" data-toggle="tab" onclick="tabClicked('resources')"><div id="resourcesTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Resources</a></li>
<li role="presentation" id="researchTab" class="hidden"><a href="#research" aria-controls="research" role="tab" data-toggle="tab" onclick="tabClicked('research')"><div id="researchTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Research</a></li>
<li role="presentation" id="solarSystemTab" class="hidden"><a href="#solarSystem" aria-controls="solarSystem" role="tab" data-toggle="tab"onclick="tabClicked('solarSystem')"><div id="solarSystemTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Solar System</a></li>
<li role="presentation" id="wonderTab" class="hidden"><a href="#wonder" aria-control="wonder" role="tab" data-toggle="tab"onclick="tabClicked('wonder')"><div id="wonderTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Wonders</a></li>
<li role="presentation" id="solCenterTopTab" class="hidden"><a href="#solCenterPage" aria-control="solCenterPage" role="tab" data-toggle="tab"onclick="tabClicked('solCenter')"><div id="solCenterTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Sol Center</a></li>
<li role="presentation" id="machineTopTab" style="display: none;"><a href="#machineTab" aria-control="machineTab" role="tab" data-toggle="tab"onclick="tabClicked('machine')"><div id="machineTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> Machines</a></li>
<li role="presentation" class="pull-right"><a href="#help" aria-control="help" role="tab" data-toggle="tab"><div class="glyphicon glyphicon-info-sign"></div> Help / FAQ</a></li>
<li role="presentation" class="pull-right"><a href="#more" aria-control="more" role="tab" data-toggle="tab" onclick="tabClicked('more')"><div id="moreTabGlyph" class="glyphicon glyphicon-exclamation-sign hidden"></div> More...</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content" id="tabContent">
<!-- Resources -->
<div role="tabpanel" class="tab-pane fade in active" id="resources">
<div class="container col-xs-1" style="width:380px; padding:0; float:left;">
<table class="table table-hover text-primary no-select pointer" id="resourceNavParent">
<tr id="plasmaNav" onclick="activeResourceTab('plasmaNav')" class="sideTab hidden" href="#plasmaTab" aria-controls="plasmaTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="border:none; vertical-align:middle;">
<img src="Icons/plasmaIcon.png" style="width:30px; height:auto">
</td>
<td style="border:none; vertical-align:middle;">
<span>
Plasma
</span>
</td>
<td style="border: none; vertical-align:middle; text-align:center;">
<span>
<span id="plasmaps">0</span>/Sec
</span>
</td>
<td style="border:none; vertical-align:middle; text-align:right;">
<span id="plasma">
0
</span>
<span id="plasmaStorageBox" class="hidden">
/
<span id="plasmaStorage">100,000</span>
</span>
</td>
</tr>
<tr id="energyNav" onclick="activeResourceTab('energyNav')" class="sideTab hidden" href="#energyTab" aria-controls="energyTab" role="tab" data-toggle="tab" style="height:60px;">
<td id="energyNav0" style="border:none; vertical-align:middle;">
<img src="Icons/EnergyIcon.png" style="width:30px; height:auto">
</td>
<td id="energyNav1" style="border:none; vertical-align:middle;">
<span>
Energy
</span>
</td>
<td id="energyNav2" style="border: none; vertical-align:middle; text-align:center;">
<span>
<span id="energyps">0</span>/Sec
</span>
</td>
<td id="energyNav3" style="border:none; vertical-align:middle; text-align:right;">
<span id="energy">
0
</span>
<span id="energyStorageBox" class="hidden">
/
<span id="energyStorage">100,000</span>
</span>
</td>
</tr>
<tr id="uraniumNav" onclick="activeResourceTab('uraniumNav')" class="sideTab hidden" href="#uraniumTab" aria-controls="uraniumTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/uraniumIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Uranium
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="uraniumps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="uranium">
0
</span>
/
<span id="uraniumStorage">50</span>
</td>
</tr>
<tr id="lavaNav" onclick="activeResourceTab('lavaNav')" class="sideTab hidden" href="#lavaTab" aria-controls="lavaTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/lavaIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Lava
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="lavaps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="lava">
0
</span>
/
<span id="lavaStorage">50</span>
</td>
</tr>
<tr id="collapseEarth" class="collapseEarth" style="border:none;">
<td colspan="4">
<span>Earth Resources</span> <span class="caret"></span>
</td>
</tr>
<tr id="oilNav" onclick="activeResourceTab('oilNav')" class="sideTab hidden" href="#oilTab" aria-controls="oilTab" role="tab" data-toggle="tab" style="height:60px;">
<td id="oilNav0" style="vertical-align:middle;">
<img src="Icons/oilIcon.png" style="width:30px; height:auto">
</td>
<td id="oilNav1" style="vertical-align:middle;">
<span>
Oil
</span>
</td>
<td id="oilNav2" style="vertical-align:middle; text-align:center;">
<span>
<span id="oilps">0</span>/Sec
</span>
</td>
<td id="oilNav3" style="vertical-align:middle; text-align:right;">
<span id="oil">
0
</span>
/
<span id="oilStorage">50</span>
</td>
</tr>
<tr id="metalNav" onclick="activeResourceTab('metalNav')" class="earth" href="#metalTab" aria-controls="metalTab" role="tab" data-toggle="tab" style="height:60px;">
<td id="metalNav0" style="vertical-align:middle;">
<img src="Icons/metalIcon.png" style="width:30px; height:auto">
</td>
<td id="metalNav1" style="vertical-align:middle;">
<span>
Metal
</span>
</td>
<td id="metalNav2" style="vertical-align:middle; text-align:center;">
<span>
<span id="metalps">0</span>/Sec
</span>
</td>
<td id="metalNav3" style="vertical-align:middle; text-align:right;">
<span id="metal">
0
</span>
/
<span id="metalStorage">50</span>
</td>
</tr>
<tr id="gemNav" onclick="activeResourceTab('gemNav')" class="earth" href="#gemTab" aria-controls="gemTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/gemIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Gems
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="gemps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="gem">
0
</span>
/
<span id="gemStorage">50</span>
</td>
</tr>
<tr id="charcoalNav" onclick="activeResourceTab('charcoalNav')" class="sideTab hidden" href="#charcoalTab" aria-controls="charcoalTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/charcoalIcon.png" style="width:30px; height:auto;">
</td>
<td style="vertical-align:middle;">
<span>
Charcoal
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="charcoalps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="charcoal">
0
</span>
/
<span id="charcoalStorage">50</span>
</td>
</tr>
<tr id="woodNav" onclick="activeResourceTab('woodNav')" class="earth" href="#woodTab" aria-controls="woodTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/woodIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Wood
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="woodps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="wood">
0
</span>
/
<span id="woodStorage">50</span>
</td>
</tr>
<tr id="siliconNav" onclick="activeResourceTab('siliconNav')" class="sideTab hidden" href="#siliconTab" aria-controls="siliconTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/siliconIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Silicon
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="siliconps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="silicon">
0
</span>
/
<span id="siliconStorage">50</span>
</td>
</tr>
<tr id="collapseInnerPlanet" class="collapseInnerPlanet hidden">
<td colspan="4">
<span>Inner Planetary Resources</span> <span class="caret"></span>
</td>
</tr>
<tr id="lunariteNav" onclick="activeResourceTab('lunariteNav')" class="sideTab hidden" href="#lunariteTab" aria-controls="lunariteTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/lunariteIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Lunarite
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="lunariteps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="lunarite">
0
</span>
/
<span id="lunariteStorage">50</span>
</td>
</tr>
<tr id="methaneNav" onclick="activeResourceTab('methaneNav')" class="sideTab hidden" href="#methaneTab" aria-controls="methaneTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/methaneIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Methane
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="methaneps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="methane">
0
</span>
/
<span id="methaneStorage">50</span>
</td>
</tr>
<tr id="titaniumNav" onclick="activeResourceTab('titaniumNav')" class="sideTab hidden" href="#titaniumTab" aria-controls="titaniumTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/titaniumIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Titanium
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="titaniumps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="titanium">
0
</span>
/
<span id="titaniumStorage">50</span>
</td>
</tr>
<tr id="goldNav" onclick="activeResourceTab('goldNav')" class="sideTab hidden" href="#goldTab" aria-controls="goldTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/goldIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Gold
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="goldps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="gold">
0
</span>
/
<span id="goldStorage">50</span>
</td>
</tr>
<tr id="silverNav" onclick="activeResourceTab('silverNav')" class="sideTab hidden" href="#silverTab" aria-controls="silverTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/silverIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Silver
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="silverps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="silver">
0
</span>
/
<span id="silverStorage">50</span>
</td>
</tr>
<tr id="collapseOuterPlanet" class="collapseOuterPlanet hidden">
<td colspan="4">
<span>Outer Planetary Resources</span> <span class="caret"></span>
</td>
</tr>
<tr id="hydrogenNav" onclick="activeResourceTab('hydrogenNav')" class="sideTab hidden" href="#hydrogenTab" aria-controls="hydrogenTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/hydrogenIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Hydrogen
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="hydrogenps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="hydrogen">
0
</span>
/
<span id="hydrogenStorage">50</span>
</td>
</tr>
<tr id="heliumNav" onclick="activeResourceTab('heliumNav')" class="sideTab hidden" href="#heliumTab" aria-controls="heliumTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/heliumIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Helium
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="heliumps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="helium">
0
</span>
/
<span id="heliumStorage">50</span>
</td>
</tr>
<tr id="iceNav" onclick="activeResourceTab('iceNav')" class="sideTab hidden" href="#iceTab" aria-controls="iceTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/iceIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Ice
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="iceps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="ice">
0
</span>
/
<span id="iceStorage">50</span>
</td>
</tr>
<tr id="meteoriteNav" onclick="activeResourceTab('meteoriteNav')" class="sideTab hidden" href="#meteoriteTab" aria-controls="meteoriteTab" role="tab" data-toggle="tab" style="height:60px;">
<td style="vertical-align:middle;">
<img src="Icons/meteoriteIcon.png" style="width:30px; height:auto">
</td>
<td style="vertical-align:middle;">
<span>
Meteorite
</span>
</td>
<td style="vertical-align:middle; text-align:center;">
<span>
<span id="meteoriteps">0</span>/Sec
</span>
</td>
<td style="vertical-align:middle; text-align:right;">
<span id="meteorite">
0
</span>
/
<span id="meteoriteStorage">50</span>
</td>
</tr>
</table>
</div>
<div class="tab-content" id="resourceTabParent" style="width:100%">
<div id="plasmaTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
<div class="container" style="max-width:800px;">
<table class="table">
<tr>
<td style="border:none;">
<h2 class="default btn-link">
Plasma
</h2>
<span>
Plasma is the 4th state of matter and is used by Tier 4 machines and large space structures as an extreme power source for your company. At first you can hold 100,000 plasma at once, but you can unlock and purchase Plasma Storage Units to increase this number.
<br>
Time remaining until <span id="plasmaLimitType">full</span> storage: <b><span id="plasmaLimitTime">N/A</span></b>
<br>
1 Plasma is created by infusing <span id="manualPlasmaHydrogenCost">10</span> Hydrogen with <span id="manualPlasmaEnergyCost">1000</span> Energy.
</span>
<br>
<br>
<hide class="gainButton">
<div onclick="gainResource('plasma')" class="btn btn-default">Gain <span id="plasmaGain">1</span></div>
<br>
<br>
</hide>
</td>
</tr>
<tr id="plasmaStorageUnits" class="hidden">
<td>
<h3 class="default btn-link">
PSUs: <span id="PSU">0</span>
</h3>
<span>
PSUs increase your plasma storage by 50,000 per PSU built.
<br>
Costs <span id="PSUSilverCost">770,000</span> Silver, <span id="PSUGoldCost">770,000</span> Gold, <span id="PSUUraniumCost">550,000</span> Uranium.
</span>
<br>
<br>
<button onclick="getPSU()" class="btn btn-default">Get PSU</button>
</td>
</tr>
<tr id="plasmaStorageUnitsT2" class="hidden">
<td>
<h3 class="default btn-link">
T2 PSUs: <span id="PSUT2">0</span>
</h3>
<span>
Tier 2 PSUs increase your plasma storage by 500,000 per PSU built.
<br>
Costs <span id="PSUT2SilverCost">9.300M</span> Silver, <span id="PSUT2GoldCost">9.300M</span> Gold, <span id="PSUT2UraniumCost">6.800M</span> Uranium.
</span>
<br>
<br>
<button onclick="getPSUT2()" class="btn btn-default">Get PSU T2</button>
</td>
</tr>
<tr>
<td>
<h3 class="default btn-link">
Super-Heater: <span id="heater">0</span>
</h3>
<span>
The Super-Heater throws electricity at Hydrogen to turn it into a plasmatic substance.
<br>
Uses 1,000 Energy and 10 Hydrogen per second.
<br>
Produces 1 Plasma per second.
<br>
Costs <span id="heaterLunariteCost">75,000</span> Lunarite, <span id="heaterGemCost">68,000</span> Gems, <span id="heaterSiliconCost">59,000</span> Silicon.
</span>
<br>
<br>
<button onclick="getHeater()" class="btn btn-default">Get Super-Heater</button>
<button onclick="toggleHeater()" class="btn btn-default">Turn Super-Heater <span id="heaterToggled">Off</span></button>
<button onclick="destroyMachine('heater')" class="btn btn-default destroy hidden">Destroy Super-Heater</button>
</td>
</tr>
<tr id="plasmaTier2" class="hidden">
<td>
<h3 class="default btn-link">
Plasmatic Pit: <span id="plasmatic">0</span>
</h3>
<span>
This contraption converts Helium into Plasma through firing intensive energy bolts at the gas cloud.
<br>
Uses 8,500 Energy and 80 Helium per second.
<br>
Produces 10 Plasma per second.
<br>
Costs <span id="plasmaticLunariteCost">810,000</span> Lunarite, <span id="plasmaticSiliconCost">720,000</span> Silicon, <span id="plasmaticMeteoriteCost">970</span> Meteorite.
</span>
<br>
<br>
<button onclick="getPlasmatic()" class="btn btn-default">Get Plasmatic Pit</button>
<button onclick="togglePlasmatic()" class="btn btn-default">Turn Plasmatic Pit <span id="plasmaticToggled">Off</span></button>
<button onclick="destroyMachine('plasmatic')" class="btn btn-default destroy hidden">Destroy Plasmatic Pit</button>
</td>
</tr>
<tr id="plasmaTier3" class="hidden">
<td>
<h3 class="default btn-link">
Electron Bath: <span id="bath">0</span>
</h3>
<span>
Bathing in Electrons. What could go wrong?
<br>
Uses 15,000 Energy and 100 Helium and 100 Hydrogen per second.
<br>
Produces 140 Plasma per second.
<br>
Costs <span id="bathLavaCost">6.20M</span> Lava, <span id="bathGoldCost">5.90M</span> Gold, <span id="bathMeteoriteCost">12,100</span> Meteorite.
</span>
<br>
<br>
<button onclick="getBath()" class="btn btn-default">Get Electron Bath</button>
<button onclick="toggleBath()" class="btn btn-default">Turn Electron Bath <span id="bathToggled">Off</span></button>
<button onclick="destroyMachine('bath')" class="btn btn-default destroy hidden">Destroy Electron Bath</button>
</td>
</tr>
</table>
</div>
</div>
<div id="energyTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
<div class="container" style="max-width:800px;">
<table class="table">
<tr>
<td style="border:none;">
<h2 class="default btn-link">
Energy
</h2>
<span>
Energy is created by power sources such as steam engines, solar power and advances even to fusion power and nuclear energy. The maximum you can hold to start with is 100,000 Energy, but batteries are unlockable which can increase this.
<br>
Time remaining until <span id="energyLimitType">full</span> storage: <b><span id="energyLimitTime">N/A</span></b>
<br>
</span>
<br>
<button onclick="toggleEnergy()" class="btn btn-default">Toggle All Energy Production + Consumption</button>
</td>
</tr>
<tr id="batteries" class="hidden">
<td>
<h3 class="default btn-link">
Batteries: <span id="battery">0</span>
</h3>
<span>
Batteries increase your energy storage by 50,000 per battery built.
<br>
Costs <span id="batteryMetalCost">50,000</span> Metal, <span id="batteryGemCost">50,000</span> Gems, <span id="batteryLunariteCost">30,000</span> Lunarite.
</span>
<br>
<br>
<button onclick="getBattery()" class="btn btn-default">Get Battery</button>
</td>
</tr>
<tr id="batteriesT2" class="hidden">
<td>
<h3 class="default btn-link">
T2 Batteries: <span id="batteryT2">0</span>
</h3>
<span>
Tier 2 Batteries increase your energy storage by 500,000 per battery built.
<br>
Costs <span id="batteryT2MetalCost">550,000</span> Metal, <span id="batteryT2GemCost">550,000</span> Gems, <span id="batteryT2LunariteCost">330,000</span> Lunarite.
</span>
<br>
<br>
<button onclick="getBatteryT2()" class="btn btn-default">Get Battery T2</button>
</td>
</tr>
<tr id="batteriesT3" class="hidden">
<td>
<h3 class="default btn-link">
T3 Batteries: <span id="batteryT3">0</span>
</h3>
<span>
Tier 3 Batteries increase your energy storage by 5,000,000 per battery built.
<br>
Costs <span id="batteryT3MetalCost">5,500,000</span> Metal, <span id="batteryT3GemCost">5,500,000</span> Gems, <span id="batteryT3LunariteCost">3,300,000</span> Lunarite.
</span>
<br>
<br>
<button onclick="getBatteryT3()" class="btn btn-default">Get Battery T3</button>
</td>
</tr>
<tr id="batteriesT4" class="hidden">
<td>
<h3 class="default btn-link">
T4 Batteries: <span id="batteryT4">0</span>
</h3>
<span>
Tier 4 Batteries increase your energy storage by 50,000,000 per battery built.
<br>
Costs <span id="batteryT4MetalCost">55,000,000</span> Metal, <span id="batteryT4GemCost">55,000,000</span> Gems, <span id="batteryT4LunariteCost">33,000,000</span> Lunarite.
</span>
<br>
<br>
<button onclick="getBatteryT4()" class="btn btn-default">Get Battery T4</button>
</td>
</tr>
<tr id="batteriesT5" class="hidden">
<td>
<h3 class="default btn-link">
T5 Batteries: <span id="batteryT5">0</span>
</h3>
<span>
Tier 5 Batteries increase your energy storage by 500,000,000 per battery built.
<br>
Costs <span id="batteryT5MetalCost">490,000,000</span> Metal, <span id="batteryT5GemCost">490,000,000</span> Gems, <span id="batteryT5LunariteCost">290,000,000</span> Lunarite.
</span>
<br>
<br>
<button onclick="getBatteryT5()" class="btn btn-default">Get Battery T5</button>
</td>
</tr>
<tr>
<td>
<h3 class="default btn-link">
Charcoal Engine: <span id="charcoalEngine">0</span>
</h3>
<span>
Burns Charcoal to produce a steady source of Energy.
<br>
Each engine produces <span id="charcoalEngineOutput">2</span> Energy and uses 1 Charcoal per second.
<br>
Costs <span id="charcoalEngineMetalCost">50</span> Metal, <span id="charcoalEngineGemCost">25</span> Gems.
</span>
<br>
<br>
<button onclick="getCharcoalEngine()" class="btn btn-default">Get Charcoal Engine</button>
<button onclick="destroyMachine('charcoalEngine')" class="btn btn-default destroy hidden">Destroy Charcoal Engine</button>
</td>
</tr>
<tr id="solarPower" class="hidden">
<td>
<h3 class="default btn-link">
Solar Panels: <span id="solarPanel">0</span>
</h3>
<span>
Gains Energy slowly from the sun without using any resources.
<br>
Each Solar Panel produces <span id="solarPanelOutput">1.5</span> Energy per second.
<br>
Costs <span id="solarPanelMetalCost">30</span> Metal, <span id="solarPanelGemCost">35</span> Gems.
</span>
<br>
<br>
<button onclick="getSolarPanel()" class="btn btn-default">Get Solar Panel</button>
<button onclick="destroyMachine('solarPanel')" class="btn btn-default destroy hidden">Destroy Solar Panel</button>
</td>
</tr>
<tr id="methanePower" class="hidden">
<td>
<h3 class="default btn-link">
Methane Power Stations: <span id="methaneStation">0</span>
</h3>
<span>
Burn powerful methane from Venus to satisfy all your power needs.
<br>
Each Power Station produces 23 Energy and uses 6 methane per second.
<br>
Costs <span id="methaneStationLunariteCost">110</span> Lunarite, <span id="methaneStationTitaniumCost">90</span> Titanium.
</span>
<br>
<br>
<button onclick="getMethaneStation()" class="btn btn-default">Get Methane Power Station</button>
<button onclick="destroyMachine('methaneStation')" class="btn btn-default destroy hidden">Destroy Methane Station</button>
</td>
</tr>
<tr id="nuclearPower" class="hidden">
<td>
<h3 class="default btn-link">
Nuclear Power Stations: <span id="nuclearStation">0</span>
</h3>
<span>
Uses fission to create large amounts of power.
<br>
Each Power Station produces 153 Energy and uses 7 uranium per second.
<br>
Costs <span id="nuclearStationLunariteCost">20,000</span> Lunarite, <span id="nuclearStationTitaniumCost">10,000</span> Titanium.
</span>
<br>
<br>
<button onclick="getNuclearStation()" class="btn btn-default">Get Nuclear Power Station</button>
<button onclick="destroyMachine('nuclearStation')" class="btn btn-default destroy hidden">Destroy Nuclear Station</button>
</td>
</tr>
<tr id="magmaticPower" class="hidden">
<td>
<h3 class="default btn-link">
Magmatic Dynamo: <span id="magmatic">0</span>
</h3>
<span>
The Magmatic Dynamo is a method of producing power by using lava as a fuel. Because of the extreme temperature of lava, a lot of Energy can be produced at once.
<br>
Each Power Station produces 191 Energy and uses 11 lava per second.
<br>
Costs <span id="magmaticLunariteCost">25,000</span> Lunarite, <span id="magmaticGemCost">30,000</span> Gems, <span id="magmaticSilverCost">20,000</span> Silver.
</span>
<br>
<br>
<button onclick="getMagmatic()" class="btn btn-default">Get Magmatic Dynamo</button>
<button onclick="destroyMachine('magmatic')" class="btn btn-default destroy hidden">Destroy Magmatic Dynamo</button>
</td>
</tr>
<tr id="fusionPower" class="hidden">
<td>
<h3 class="default btn-link">
Fusion Reactor: <span id="fusionReactor">0</span>
</h3>
<span>
In a fusion reaction, Energy is released when two light atomic nuclei are fused together to form one heavier atom. This is the same reaction that occurs in stars and produces a lot of power.
<br>
Each Power Station produces 273 Energy and uses 10 Hydrogen and 10 Helium per second.
<br>
Costs <span id="fusionReactorLunariteCost">30,000</span> Lunarite, <span id="fusionReactorTitaniumCost">20,000</span> Titanium, <span id="fusionReactorSiliconCost">15,000</span> Silicon.
</span>
<br>
<br>
<button onclick="getFusionReactor()" class="btn btn-default">Get Fusion Reactor</button>
<button onclick="destroyMachine('fusionReactor')" class="btn btn-default destroy hidden">Destroy Fusion Reactor</button>
</td>
</tr>
</table>
</div>
</div>
<div id="uraniumTab" class="tab-pane fade in" style="margin-left:10px; width:100px; float:left;">
<div class="container" style="max-width:800px;">
<table class="table">
<tr>
<td style="border:none;">
<h2 class="default btn-link">
Uranium
</h2>
<span>
Uranium is used for nuclear power generation because when it is split, it releases huge amounts of Energy. For this reason, it is prominent in many advanced machines and for propulsion technology as it is useful for inter-star-system travel. Unfortunately, it is hard to get and it requires a lot of resources to radiation-proof equipment.
</span>
<hide class="gainButton">
<br>
<br>
<div onclick="gainResource('uranium')" class="btn btn-default">Gain <span id="uraniumGain">1</span></div>
</hide>
<br>
<br>
</td>
</tr>
<tr id="uraniumStorageUpgrade">
<td>
<h3 class="default btn-link">
Storage Upgrade
</h3>
<span>
Upgrade your Uranium storage size to <span id="uraniumNextStorage">100</span>.
<br>
Time remaining until <span id="uraniumLimitType">full</span> storage: <b><span id="uraniumLimitTime">N/A</span></b>
<br>
Costs <span id="uraniumStorageCost">50</span> Uranium, <span id="uraniumStorageLunariteCost">20</span> Lunarite.
</span>
<br>
<br>
<button onclick="upgradeUraniumStorage()" class="btn btn-default">Upgrade Storage</button>
</td>
</tr>
<tr>
<td>
<h3 class="default btn-link">
Grinder: <span id="grinder">0</span>
</h3>
<span>
Pulverizes Uranium for easy transportation out of deep mineshafts.
<br>
Produces 1 Uranium per second.
<br>
Costs <span id="grinderTitaniumCost">2000</span> Titanium, <span id="grinderLunariteCost">4000</span> Lunarite, <span id="grinderGoldCost">2000</span> Gold.
</span>
<br>
<br>
<button onclick="getGrinder()" class="btn btn-default">Get Grinder</button>
<button onclick="destroyMachine('grinder')" class="btn btn-default destroy hidden">Destroy Grinder</button>
</td>
</tr>
<tr>
<td>
<h3 class="default btn-link">
Cubic Teleposer: <span id="cubic">0</span>
</h3>
<span>
This teleposes blocks of rock from far underground to the surface so that Uranium can be mined more easily.
<br>
Produces 9 Uranium per second.
<br>
Uses 40 Energy per second.
<br>
Costs <span id="cubicUraniumCost">80</span> Uranium, <span id="cubicLunariteCost">10000</span> Lunarite, <span id="cubicOilCost">10000</span> Oil.
</span>
<br>
<br>
<button onclick="getCubic()" class="btn btn-default">Get Cubic Teleposer</button>
<button onclick="destroyMachine('cubic')" class="btn btn-default destroy hidden">Destroy Cubic Teleposer</button>
</td>
</tr>
<tr id="uraniumTier3" class="hidden">
<td>
<h3 class="default btn-link">
Uranium Enricher: <span id="enricher">0</span>
</h3>
<span>
The Enricher increases the quality of uranium mined and thus allows more of the uranium in rocks to be used in your company.
<br>
Produces 61 Uranium per second.
<br>
Uses 180 Energy per second.
<br>
Costs <span id="enricherLunariteCost">21,700</span> Lunarite, <span id="enricherTitaniumCost">23,000</span> Titanium, <span id="enricherSiliconCost">13,500</span> Silicon.
</span>
<br>
<br>
<button onclick="getEnricher()" class="btn btn-default">Get Uranium Enricher</button>
<button onclick="destroyMachine('enricher')" class="btn btn-default destroy hidden">Destroy Uranium Enricher</button>
</td>
</tr>
<tr id="uraniumTier4" class="hidden">
<td>
<h3 class="default btn-link">
Yellowcake Recycler: <span id="recycler">0</span>
</h3>
<span>
Recycles used-up Uranium to provide the resources with a second use. This greatly increases the amount of Uranium you can use per second.
<br>
Produces 235 Uranium per second.
<br>
Uses 463 Energy per second.
<br>
Costs <span id="recyclerLunariteCost">93,100</span> Lunarite, <span id="recyclerMethaneCost">47,000</span> Methane, <span id="recyclerMeteoriteCost">830</span> Meteorite.