-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
239 lines (239 loc) · 8.14 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
<!DOCTYPE html>
<html>
<head>
<title>Incremental Game made for Ld45 2019</title>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="author" content="Luke Nickerson">
<link rel="stylesheet" href="clicker.css" />
<meta name="viewport" content="width=device-width">
</head>
<body scroll="no">
<main>
<article class="leader">
<header>
<h1 class="edit edit-leader-name">👤 <span class="leader-name">You</span></h1>
</header>
<section class="inventory">
<h1>Inventory</h1>
<div class="nothing">You have nothing!</div>
<dl class="inventory-list">
<div class="locked" data-unlock="{'food-value': 1}">
<dt>🍓Food</dt><dd class="food-value"></dd>
</div>
<div class="locked" data-unlock="{'wood-value': 1}">
<dt>🌳Wood</dt><dd class="wood-value"></dd>
</div>
<div class="locked" data-unlock="{'stone-value': 1}">
<dt>🧱Stone</dt><dd class="stone-value"></dd>
</div>
<div class="locked" data-unlock="{'ore-value': 1}">
<dt>🔩Ore</dt><dd class="ore-value"></dd>
</div>
</dl>
<div class="locked" data-unlock="{'upgraded-drop': true}">
<select class="donate-what">
<option value="food" class="locked">Food</option>
<option value="wood" class="locked">Wood</option>
<option value="stone" class="locked">Stone</option>
<option value="ore" class="locked">Ore</option>
</select>
<button class="donate">Drop/Donate ></button>
</div>
</section>
<section class="actions">
<h1>Actions</h1>
<button class="eat locked" data-unlock="{'upgraded-teeth': true}">🦷Eat</button>
<button class="forage">🍓Forage</button>
<button class="farm locked" data-unlock="{'farms': 1}">🌾Farm</button>
<button class="gatherWood locked" data-unlock="{'upgraded-gather-wood': true}">🌳Gather Wood</button>
<button class="chopWood locked" data-unlock="{'upgraded-axe': true}">🌲Chop Wood</button>
<button class="mineStone locked" data-unlock="{'upgraded-pickaxe': true}">⚒Mine Stone</button>
<button class="mineOre locked" data-unlock="{'upgraded-ore-mining': true}">⛏Mine Ore</button>
<button class="meditate locked" data-unlock="{'upgraded-focus': true}">📿Meditate</button>
<button class="experiment locked" data-unlock="{'upgraded-science': true}">🧠Experiment</button>
<!--
<button class="build-0 locked" data-unlock="{'upgraded-tent-builder': true}">🏕Build Tent</button>
<button class="build-1 locked" data-unlock="{'upgraded-hut-builder': true}">🧱Build Hut</button>
<button class="build-2 locked" data-unlock="{'upgraded-house-builder': true}">🏠Build House</button>
<button class="build-3 locked" data-unlock="{'upgraded-farm-builder': true}">🌱Build Farm</button>
<button class="build-4 locked" data-unlock="{'upgraded-mine-builder': true}">⛰🕳⛏Build Mine</button>
<button class="build-5 locked" data-unlock="{'upgraded-temple-builder': true}">⛩Build Temple</button>
<button class="build-6 locked" data-unlock="{'upgraded-academy-builder': true}">🏫Build Academy</button>
-->
<form action="" class="locked" data-unlock="{'upgraded-tent-builder': true}">
<button type="button" class="build">🔨Build</button>
<select class="build-what">
<!-- populate with js -->
</select>
<span class="build-description">
<!-- populate with js -->
</span>
</form>
</section>
<section class="skills locked" data-unlock="{'upgraded-skills': true}">
<h1>Skills</h1>
<dl>
<div class="locked" data-unlock="{'building-value': 1}">
<dt>Building</dt><dd class="building-value"></dd>
</div>
<div class="locked" data-unlock="{'enlightenment-value': 1}">
<dt>Enlightenment</dt><dd class="enlightenment-value"></dd>
</div>
<div class="locked" data-unlock="{'farming-value': 1}">
<dt>Farming</dt><dd class="farming-value"></dd>
</div>
<div class="locked" data-unlock="{'lumbering-value': 1}">
<dt>Lumbering</dt><dd class="lumbering-value"></dd>
</div>
<div class="locked" data-unlock="{'mining-value': 1}">
<dt>Mining</dt><dd class="mining-value"></dd>
</div>
<div class="locked" data-unlock="{'science-value': 1}">
<dt>Science</dt><dd class="science-value"></dd>
</div>
<div class="locked" data-unlock="{'survivalism-value': 1}">
<dt>Survivalism</dt><dd class="survivalism-value"></dd>
</div>
</dl>
</section>
<section class="stats locked" data-unlock="{'upgraded-teeth': true}">
<dl>
<div class="locked" data-unlock="{'upgraded-time': true}">
<dt>Age</dt><dd class="age-value"></dd>
</div>
<div>
<dt>Fullness</dt><dd class="fullness-value"></dd>
<dd class="fullness-warning"></dd>
</div>
</dl>
</section>
<section class="locked" data-unlock="{'food-value': 10}">
<h1>Upgrades</h1>
<dl class="unlocked-upgrades-list">
<!-- fill with js -->
</dl>
</section>
</article>
<article class="location locked" data-unlock="{'upgraded-location': true}">
<header>
<h1 class="edit edit-location-name">🌄<span class="location-name"></span></h1>
</header>
<section>
<h1>Items</h1>
<dl>
<div><dt></dt><dd>Community</dd><dd>Private</dd></div>
<div class="locked" data-unlock="{'community-food': 1}">
<dt>🍓Food</dt>
<dd class="community-food"></dd>
<dd class="private-food"></dd>
</div>
<div class="locked" data-unlock="{'community-wood': 1}">
<dt>🌳Wood</dt>
<dd class="community-wood"></dd>
<dd class="private-wood"></dd>
</div>
<div class="locked" data-unlock="{'community-stone': 1}">
<dt>🧱Stone</dt>
<dd class="community-stone"></dd>
<dd class="private-stone"></dd>
</div>
<div class="locked" data-unlock="{'community-ore': 1}">
<dt>🔩Ore</dt>
<dd class="community-ore"></dd>
<dd class="private-ore"></dd>
</div>
</dl>
<div>
<button class="take">< Take</button>
<select class="take-what">
<option value="food">Food</option>
<option value="wood">Wood</option>
<option value="stone">Stone</option>
<option value="ore">Ore</option>
</select>
</div>
</section>
<section>
<h1>Buildings</h1>
<dl>
<div><dt>Used space</dt><dd class="used-space"></dd></div>
<div><dt>Free space</dt><dd class="free-space"></dd></div>
</dl>
<table>
<thead>
<tr>
<td></td>
<td>Community</td>
<td>Private</td>
<td>Owned</td>
</tr>
</thead>
<tbody>
<tr>
<td>Tents</td>
<td class="tents"></td>
<td class="private-tents"></td>
<td class="owned-tents"></td>
</tr>
<tr>
<td>Huts</td>
<td class="huts"></td>
<td class="private-huts"></td>
<td class="owned-huts"></td>
</tr>
<tr>
<td>Houses</td>
<td class="houses"></td>
<td class="private-houses"></td>
<td class="owned-houses"></td>
</tr>
<tr>
<td>Farms</td>
<td class="farms"></td>
<td class="private-farms"></td>
<td class="owned-farms"></td>
</tr>
<tr>
<td>Mines</td>
<td class="mines"></td>
<td class="private-mines"></td>
<td class="owned-mines"></td>
</tr>
<tr>
<td>Temples</td>
<td class="temples"></td>
<td class="private-temples"></td>
<td class="owned-temples"></td>
</tr>
<tr>
<td>Academies</td>
<td class="academies"></td>
<td class="private-academies"></td>
<td class="owned-academies"></td>
</tr>
</tbody>
</table>
</section>
<section class="locked" data-unlock="{'pop-total': 1}">
<h1>Population: <span class="pop-total"></span> / <span class="pop-max"></span></h1>
<div>+<span class="immigration-rate"></span>/sec</div>
<dl>
<div><dt>Hobos</dt><dd class="pop-hobo"></dd></div>
<div><dt>Foragers</dt><dd class="pop-forager"></dd></div>
<div><dt>Farmers</dt><dd class="pop-farmer"></dd></div>
<div><dt>Miners</dt><dd class="pop-miner"></dd></div>
<div><dt>Monks</dt><dd class="pop-monk"></dd></div>
<div><dt>Academics</dt><dd class="pop-academic"></dd></div>
</dl>
</section>
</article>
</main>
<footer>
v0.7.0
</footer>
<div>
<script src="game.js" type="module"></script>
</div>
</body>
</html>