-
Notifications
You must be signed in to change notification settings - Fork 9
/
spiredb.html
74 lines (74 loc) · 3.31 KB
/
spiredb.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
<html>
<head>
<title>Trimps spire database</title>
</head>
<link rel="stylesheet" href="/spiredb.css">
<script src="/lz-string.js"></script>
<script src="/spiredb.js"></script>
<body>
<div id="wrapper">
<h1>Trimps spire database</h1>
<div id="main-content">
<div class="region"><table id="spire"></table>
<p id="layout-string"></p>
<p id="upgrades">Submitted with upgrades: <span>8676</span></p>
<p id="core">Submitted with core: <span>none</span></p></div>
<div id="ui" class="region">
<form>
<div class="form-row"><label for="query_type">Optimize:</label> <select name="query_type">
<option value="damage">Damage</option>
<option value="income">Income</option>
<option value="towers damage">Towers+damage</option>
<option value="towers income" selected>Towers+income</option>
</select></div>
<div class="form-row"><label>Upgrades:</label> <div class="form-group">
<input type="text" class="fire" name="fire" value="6" size="2" maxlength="2">
<input type="text" class="frost" name="frost" value="6" size="2" maxlength="1">
<input type="text" class="poison" name="poison" value="5" size="2" maxlength="1">
<input type="text" class="lightning" name="lightning" value="4" size="2" maxlength="1">
</div></div>
<div class="form-row"><label for="floors">Floors:</label> <input type="text" name="floors" value="17"></div>
<div class="form-row"><label for="budget">Budget:</label> <input type="text" name="budget" value="4T"> Rs</div>
<div class="form-row"><label for="core_tier">Core tier:</label> <select name="core_tier">
<option value="0">No core</option>
<option value="1">Common</option>
<option value="2">Uncommon</option>
<option value="3">Rare</option>
<option value="4" selected>Epic</option>
<option value="5">Legendary</option>
<option value="6">Magnificent</option>
<option value="7">Ethereal</option>
</select></div>
<div class="form-row"><label>Core mods:</label> <div class="form-group">
<input type="text" class="fire" name="core_fire" size="5">
<input type="text" class="poison" name="core_poison" value="60" size="5">
<input type="text" class="lightning" name="core_lightning" size="5">
</div><div class="form-group">
<input type="text" class="strength" name="core_strength" size="5">
<input type="text" class="condenser" name="core_condenser" value="10" size="5">
<input type="text" class="runestones" name="core_runestones" size="5">
</div></div>
<div class="form-row"><label for="save">Import save:</label> <input type="text" name="save"></div>
<div class="form-row"><input type="submit" value="Find spire"></div>
</form>
<div class="error"></div>
<div id="stats">Stats with your upgrades and core:<br>
Cost: <span id="cost"></span> Rs<br>
Damage: <span id="damage"></span><br>
Income: <span id="income_sec"></span> Rs/sec<br>
Income: <span id="income_hr"></span> Rs/hr<br>
Income: <span id="income_enemy"></span> Rs/enemy<br>
Threat: <span id="threat"></span><br>
</div>
</div>
</div>
<div id="footer" class="region">
<p>This is a web query interface for the spire optimizer database. The
contents are generated with the optimization tool, which you can find on
<a href="https://github.com/DataBeaver/trimps-tools/releases">Github</a>.
Spires are used with the <a href="https://trimps.github.io/">Trimps browser game</a>.</p>
<p class="copyright">Copyright © 2019-2023 Mikkosoft Productions. Licensed under GPLv3.</p>
</div>
</div>
</body>
</html>