-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
143 lines (135 loc) · 6.67 KB
/
index.html
File metadata and controls
143 lines (135 loc) · 6.67 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Potion Factory</title>
<link rel="stylesheet" href="css/jquery-ui.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/grid.css">
<link rel="stylesheet" href="css/jquery.growl.css">
<link rel="stylesheet" href="css/hopscotch.min.css">
<link rel="stylesheet" href="css/tooltipster.bundle.min.css">
<link rel="stylesheet" href="css/tooltipster-sideTip-light.min.css">
<link href="https://fonts.googleapis.com/css?family=Volkhov" rel="stylesheet">
<link rel="icon" type="image/png" href="favicon.png">
<meta name="description" content="An incremental idle game about making potions!">
</head>
<body>
<canvas id="particle-canvas"></canvas>
<div class="container-fluid">
<div id="welcomeback">
<div style="text-align: right"><button id="closewelcomeback">Close</button></div>
<h1>Welcome back!</h1>
<p>While you were away, your golems did the following: </p>
</div>
<h2>Potion Factory</h2>
<div class="row">
<div class="col-sm-3 nopadding">
<div id="infobox" class="info">
<h3 class="centered-header">Info</h3>
<p>
<b>Level</b>: <span id="level-display">1</span>
<div id="xpbar"></div>
<p><b>Level progress</b>: <span id="current-xp"></span> XP of <span id="xp-bar-size"></span> XP.</p>
<span id="energy-string" style="font-size: 16px; background-color: #FFFF29;"><b>Energy</b>: <span id="energy-display">0</span></span><br>
<span id="energy-per-second"></span><br>
<span id="energy-cost-per-second"></span><br>
<b>Gold</b>: <span id="gold-display">0</span>
</p>
</div>
<div class="tools">
<h3 class="centered-header">Actions</h3>
<p><button id="turn-crank" style="width: 100%; font-size: 20px;">Turn crank (+1 Energy)</button></p>
<div id="actions" style="max-height: 500px; overflow: scroll;">
</div>
</div>
</div>
<div class="col-sm-6 nopadding">
<div id="ingredientbox" class="ingredients">
<h3 class="centered-header">Ingredients & Resources</h3>
<div id="ingredients"></div>
</div>
<div class="orders">
<h3 class="centered-header">Town Orders</h3>
<p>Drop items here to deliver them!</p>
<div id="orders"></div>
<p><button id="request-order">Request New Order (500 energy, 50% chance of success)</button></p>
</div>
<div id="researchbox" class="research">
<h3 class="centered-header">Research</h3>
<div id="research"></div>
</div>
</div>
<div class="col-sm-3 nopadding">
<div id="recipebox" class="recipes">
<h3 class="centered-header">Recipes</h3>
<div id="recipes"></div>
</div>
<div id="golembox" class="golems">
<h3 class="centered-header">Golems</h3>
<p style="font-size: 12px"><input checked id="enablegolems" type="checkbox"> <span class="tooltip" title="Uncheck this box to disable automated golem actions. This is useful if they're using more energy than you are producing.">Enable automated golems (?)</span>.</p>
<div id="golems"></div>
<div id="golemactions"></div>
<div id="golemqueue">
</div>
<div id="golemauto" style="display: none;">
<div id="golemautoinner"></div>
<p style="font-size: 10px">
KEY: <br>
<span style="color: green;">✓</span> = production of this recipe running at full efficiency.<br>
<span style="color: #786200;">~</span> = production of this recipe is running at partial efficiency.<br>
<span style="color: red;">✗</span> = production of this research is fully blocked.
</p>
</div>
</div>
<div id="messages" class="messages">
<h3 class="centered-header">Messages</h3>
<p style="font-style: italic;" id="message-log">
</p>
</div>
<div id="artifacts": class="artifacts">
<h3 class="centered-header">Artifacts</h3>
</div>
</div>
</div>
<hr>
<p style="text-align: right"><a target="_blank" href="about.html">Help/About</a></p>
<p style="text-align: right"><button id="savegamebutton" class="tooltip" title="The game auto-saves every 30 seconds and attempts to save on close.">Manually save game</button> <button id="exportsave">Export save data</button> <button id="importsave">Import save data</button> <button id="deletesavedata">Delete all save data</button> <button onclick="ENABLE_PARTICLES=false;logMessage('Particles have been disabled for the remainder of this session.');">Disable particles</button><br>
<textarea style="display: none" id="save-export"></textarea>
</p>
<p style="text-align: right; font-size: 10px;">Potion Factory Alpha 0.4 <sup><a href="#">What's new?</a></sup> by <a href="https://www.strangelake.com/">Strange Lake Studios</a>. Thanks for playing!<br><a target="_blank" href="https://github.com/Jaxkr/PotionFactory/issues">Report an issue or request a feature. Help hunt bugs!</a></p>
</div>
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/arrayequals.js"></script>
<script src="js/jquery.growl.js"></script>
<script src="js/polyfills.js"></script>
<script src="js/hopscotch.min.js"></script>
<script src="js/tooltipster.bundle.min.js"></script>
<script src="js/jquery.ui.touch-punch.min.js"></script>
<!-- Please don't spoil the game for yourself by reading the code! -->
<script src="js/tour.js"></script>
<script src="js/constants.js"></script>
<script src="js/effects.js"></script>
<script src="js/setup.js"></script>
<script src="js/clicks.js"></script>
<script src="js/levels.js"></script>
<script src="js/crypto.js"></script>
<script src="js/save.js"></script>
<script src="js/orders.js"></script>
<script src="js/combineingredients.js"></script>
<script src="js/research.js"></script>
<script src="js/recipes.js"></script>
<script src="js/automation.js"></script>
<script src="js/golems.js"></script>
<script src="js/game.js"></script>
<script src="js/gameloop.js"></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-77426352-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>