-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
475 lines (437 loc) · 28.5 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
<!doctype html>
<html>
<head>
<title>Antorax</title>
<link rel="stylesheet" href="globalStyle.css" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=MedievalSharp" />
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=El+Messiri" />
<link rel="icon" type="image/png" href="./assets/icons/favicon-32x.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./assets/icons/favicon-16x.png" sizes="16x16" />
<meta charset="UTF-8">
</head>
<body oncontextmenu="return false;">
<div id="interact" hidden>Interact</div>
<div id="achievement" hidden>
<div id="achievementImg"></div>
<p id="achievementName"></p>
<p id="achievementDescription"></p>
<p id="achievementPoints"></p>
</div>
<div id="infoBar"></div>
<div id="click" ondrop="Dom.inventory.dispose(event)" ondragover="Dom.inventory.allowDrop(event)"></div>
<canvas id="secondary"></canvas>
<canvas id="minigame" width="600px" height="800px"></canvas>
<canvas id="light"></canvas>
<canvas id="dayNight"></canvas>
<canvas id="game"></canvas>
<div id="information" hidden> <!--remember to update archaeology-->
<div id='outTriangle' class='triangleLeft'></div>
<div id='triangle' class='innerTriangleLeft'></div>
<p id='name' style="font-weight: bold;"></p>
<p id='itemDescriptionText'></p> <!-- for spells -->
<p id='quest' style="color: slateblue;">Quest item</p>
<p id='itemTier'></p>
<p id='stats'></p>
<p id='conditionalStats'></p>
<p id='chooseStats'></p>
<p id='conditionalChooseStats'></p>
<p id='food'></p>
<p id='activeAbility'></p>
<p id='functionText'></p>
<p id='durability'></p>
<p id='charges'></p>
<p id='set'></p>
<p id='lore' style="font-style: italic;"></p>
<p id='cooldown'></p>
<p id='buyer'></p>
</div>
<div id="itemIdentification" hidden>
<div id='outIdtriangle' class='triangleLeft'></div>
<div id='idtriangle' class='innerTriangleLeft'></div>
<p id='innerStats'></p>
<p id='innerStatus'></p>
</div>
<div id="scoreboard" hidden> <!-- Dom.scoreboard -->
</div>
<ul id="chat"></ul>
<input id="canvasChatInput" type="text" class="canvasChatInput" placeholder="Type a message to send to chat."></input>
<p id="canvasSend" onclick="Dom.chat.input('chatInput')">send</p>
<div id="chatPage" hidden class="DOM">
<div id="players" hidden></div>
<div id="chatText"></div>
<div id="playersInfo" hidden></div>
<input id="chatInput" type="text" placeholder="Type a message to send to chat."></input>
<p id="send" onclick="Dom.chat.input('chatInput')">send</p>
</div>
<div id="inventoryPage" hidden class="DOM" onclick="Dom.inventory.deEquip = false;" ondrop="Dom.inventory.dispose(event)" ondragover="Dom.inventory.allowDrop(event)">
<div id="inventoryGoldXP"></div>
<div id="displayStats" onmouseover="Dom.inventory.displayIdentification(true)"onmouseleave="Dom.expand('itemIdentification')"></div>
<span id="inventoryGearWrapper">
<div id="helm" onclick="Dom.inventory.reEquip(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.helm, undefined, 'inventoryPage', 'equip')"onmouseleave="Dom.expand('information')"ondrop="Dom.inventory.drop(event, Player.inventory, 'helm');Game.inventoryUpdate()" ondragover="Dom.inventory.allowDrop(event)" ondrag="Dom.expand('information')"></div>
<div id="chest" onclick="Dom.inventory.reEquip(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.chest, undefined, 'inventoryPage', 'equip')"onmouseleave="Dom.expand('information')"ondrop="Dom.inventory.drop(event, Player.inventory, 'chest');Game.inventoryUpdate()" ondragover="Dom.inventory.allowDrop(event)" ondrag="Dom.expand('information')"></div>
<div id="greaves" onclick="Dom.inventory.reEquip(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.greaves, undefined, 'inventoryPage', 'equip')"onmouseleave="Dom.expand('information')"ondrop="Dom.inventory.drop(event, Player.inventory, 'greaves');Game.inventoryUpdate()" ondragover="Dom.inventory.allowDrop(event)" ondrag="Dom.expand('information')"></div>
<div id="boots" onclick="Dom.inventory.reEquip(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.boots, undefined, 'inventoryPage', 'equip')"onmouseleave="Dom.expand('information')"ondrop="Dom.inventory.drop(event, Player.inventory, 'boots');Game.inventoryUpdate()" ondragover="Dom.inventory.allowDrop(event)" ondrag="Dom.expand('information')"></div>
</span>
<div id="weapon" onclick="Dom.inventory.reEquip(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.weapon, undefined, 'inventoryPage', 'equip')"onmouseleave="Dom.expand('information')"ondrop="Dom.inventory.drop(event, Player.inventory, 'weapon');Game.inventoryUpdate()" ondragover="Dom.inventory.allowDrop(event)" ondrag="Dom.expand('information')"></div>
<table id="trinketsInventory">
<tr>
<td id="trinketSlot1" ondrop="Dom.inventory.drop(event, Player.inventory.trinkets, 0);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.trinkets[0], undefined, 'inventoryPage', undefined, undefined, undefined, 'Trinket slot empty')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
<td id="trinketSlot2" ondrop="Dom.inventory.drop(event, Player.inventory.trinkets, 1);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.trinkets[1], undefined, 'inventoryPage', undefined, undefined, undefined, 'Trinket slot empty')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
<td id="trinketSlot3" ondrop="Dom.inventory.drop(event, Player.inventory.trinkets, 2);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.trinkets[2], undefined, 'inventoryPage', undefined, undefined, undefined, 'Trinket slot empty')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
</tr>
<div hidden id="mountSlotLocked" onmouseover="Dom.inventory.displayInformation({name: 'Mount slot locked', image:''}, undefined, 'inventoryPage', 'equip')"onmouseleave="Dom.expand('information')"></div>
<div id="mountSlotUnlocked" onclick="Dom.inventory.reEquip(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.mount, undefined, 'inventoryPage', 'equip', undefined, undefined, 'Mount slot empty')"onmouseleave="Dom.expand('information')"ondrop="Dom.inventory.drop(event, Player.inventory, 'mount');Game.inventoryUpdate()" ondragover="Dom.inventory.allowDrop(event)" ondrag="Dom.expand('information')"></div>
<div id="bag" onclick="Dom.inventory.reEquip(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.bag, undefined, 'inventoryPage', 'equip')"onmouseleave="Dom.expand('information')"ondrop="Dom.inventory.drop(event, Player.inventory, 'bag');Game.inventoryUpdate()" ondragover="Dom.inventory.allowDrop(event)" ondrag="Dom.expand('information')"></div>
</table>
<span id="itemInventoryWrapper">
<table id="itemInventory">
<tr>
<td ondrop="Dom.inventory.drop(event, Player.inventory.items, 0);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.items[0], undefined, 'inventoryPage')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
<td ondrop="Dom.inventory.drop(event, Player.inventory.items, 1);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.items[1], undefined, 'inventoryPage')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
<td ondrop="Dom.inventory.drop(event, Player.inventory.items, 2);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.items[2], undefined, 'inventoryPage')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
<td ondrop="Dom.inventory.drop(event, Player.inventory.items, 3);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.items[3], undefined, 'inventoryPage')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
<td ondrop="Dom.inventory.drop(event, Player.inventory.items, 4);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.items[4], undefined, 'inventoryPage')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
<td ondrop="Dom.inventory.drop(event, Player.inventory.items, 5);Game.inventoryUpdate(event)" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.inventory.items[5], undefined, 'inventoryPage')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')" onclick="Game.inventoryUpdate()"></td>
</tr>
</table>
</span>
<p id="bagText">Buy bags to get more inventory space</p>
</div>
<table id="hotbar">
<tr>
<td onclick="Game.inventoryUpdate()" /><td onclick="Game.inventoryUpdate()" /><td onclick="Game.inventoryUpdate()" /><td onclick="Game.inventoryUpdate()" /><td onclick="Game.inventoryUpdate()" /><td onclick="Game.inventoryUpdate()" />
</tr>
</table>
<div id="questsPage" hidden class="DOM">
<div id="inactiveQuestsBox">
<div id="possibleQuests"onclick="Dom.expand('possibleQuestBox')">Possible Quests</div>
<div id="possibleQuestBox"hidden></div>
<div id="completedQuests"onclick="Dom.expand('completedQuestBox')">Completed Quests</div>
<div id="completedQuestBox"hidden><center>You have no completed quests</center></div>
<div id="otherQuests"onclick="Dom.expand('otherQuestBox')">Other Quests</div>
<div id="otherQuestBox"hidden></div>
</div>
<div id="ongoingQuestsBox">
<div id="activeQuests"onclick="Dom.expand('activeQuestBox')">Active Quests</div>
<div id="activeQuestBox"hidden></div>
</div>
</div>
<div id="adventurePage" hidden class="DOM">
<div id="adventureWrapper">
<div id="level" style="display:inline;">Level 1</div>
<a href="./achievements/index.html" target="_blank" style="display: inline; float: right;">Achievements</a>
<div><br><span style="font-size: 20px;">Suggested Content:</p></div>
<div id="archaeology" class="adventure">
<a href="./archaeology/index.html" target="_blank"style="font-size: 25px;">Archaeology</a><br>
<span style="font-size: 15px;">Uncover and collect weapons and armour.</span>
</div>
</div>
<div id="reputationWrapper"><p style="font-size: 20px;">Here you can see your reputation with the different factions of Antorax. If you have a good reputation you may receive discounts from local merchants and the villagers may trust you enough to help them for a reward.</p>
<p style="font-size: 20px;">To improve your reputation, help the people in that area by doing quests for them or by attacking their enemies. Be careful though, because if you do something to make them angry they might not forgive you easily.</p>
</div>
</div>
<div id="spellbookPage" hidden class="DOM">
<div id="spellEquipWrapper">
<table id="spellsEquipped">
<tr>
<td id="spellSlot1" ondrop="Dom.spellbook.equip(0);" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.spells[0], undefined, 'spellbookPage', undefined, undefined, undefined, 'Spell slot empty')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')"></td>
<td id="spellSlot2" ondrop="Dom.spellbook.equip(1);" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.spells[1], undefined, 'spellbookPage', undefined, undefined, undefined, 'Spell slot empty')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')""></td>
<td id="spellSlot3" ondrop="Dom.spellbook.equip(2);" ondragover="Dom.inventory.allowDrop(event)" onmouseover="Dom.inventory.displayInformation(Player.spells[2], undefined, 'spellbookPage', undefined, undefined, undefined, 'Spell slot empty')" onmouseleave="Dom.expand('information')" ondrag="Dom.expand('information')""></td>
</tr>
</table>
<table id="spellArsenal">
</table>
</div>
<div id="spellTreeWrapper">
</div>
</div>
<div id="settingsPage" hidden class="DOM">
<div id="settingLogout"></div>
<div id="settingsWrapperLeft">
<div id="settingFullscreen" class="settings">
Fullscreen:
<span class="radio1"><input type="radio" id="fullscreenOn" name="fullscreenOnOff" onclick="Dom.settings.fullscreen()">Yes</input></span>
<span class="radio2"><input type="radio" id="fullscreenOff" name="fullscreenOnOff" checked="true" onclick="Dom.settings.fullscreen()">No</input></span>
</div>
<span id="settingNotifsHolder">
<div id="settingNotifs" class="settings">
Enable notifications:
<span class="radio1"><input type="radio" id="notifsOn" name="notifsOnOff" onclick="Notification.requestPermission(); localStorage.setItem('notifsRefused', 'false');">Yes</input></span>
<span class="radio2"><input type="radio" name="notifsOnOff" checked="true" onclick="localStorage.setItem('notifsRefused', 'true');">No</input></span>
</div>
</span>
<span id="settingTutorialHolder">
<div id="settingTutorial" class="settings">
Disable tutorial:
<span class="radio1"><input type="radio" id="tutorialOn" name="tutorialOnOff">Yes</input></span>
<span class="radio2"><input type="radio" id="tutorialOff" name="tutorialOnOff" checked="true">No</input></span>
</div>
</span>
<span id="settingAcceptHolder">
<div id="settingAccept" class="settings">
Enable progress saving:
<span class="radio1"><input type="radio" id="acceptOn" name="acceptOnOff" onclick="Dom.settings.acceptOn()">Yes</input></span>
<span class="radio2"><input type="radio" name="acceptOnOff" checked="true">No</input></span>
</div>
</span>
<div id="settingMusic" class="settings" hidden>
Play music:
<span class="radio1"><input type="radio" id="musicOn" name="musicOnOff" onclick="Dom.settings.music()">Yes</input></span>
<span class="radio2"><input type="radio" name="musicOnOff" checked="true" onclick="Dom.settings.music()">No</input></span>
</div>
<div id="settingParticles" class="settings">
Show particles:
<span class="radio1"><input type="radio" id="particlesOn" name="particlesOnOff" checked="true">Yes</input></span>
<span class="radio2"><input type="radio" id="particlesOff" name="particlesOnOff">No</input></span>
</div>
<div id="settingWeather" class="settings">
Show weather:
<span class="radio1"><input type="radio" id="weatherOn" name="weatherOnOff" checked="true">Yes</input></span>
<span class="radio2"><input type="radio" id="weatherOff" name="weatherOnOff">No</input></span>
</div>
<div id="settingTransparency" class="settings">
Page transparency:
<span class="radio1"><input type="radio" id="transparencyOn" name="transparencyOnOff" onclick="Dom.settings.transparency()">On</input></span>
<span class="radio2"><input type="radio" id="transparencyOff" name="transparencyOnOff" checked="true" onclick="Dom.settings.transparency()">Off</input></span>
</div>
</div>
<div id="settingsWrapperRight">
<div id="settingDark" class="settings">
Dark theme:
<span class="radio1"><input type="radio" id="darkOn" name="darkOnOff" onclick="Dom.settings.dark()">On</input></span>
<span class="radio2"><input type="radio" id="darkOff" name="darkOnOff" checked="true" onclick="Dom.settings.dark()">Off</input></span>
</div>
<div id="settingMinigames" class="settings">
Minigame alerts:
<span class="radio1"><input type="radio" id="minigamesOn" name="minigameOnOff" checked="true" onclick="Dom.settings.minigames()">On</input></span>
<span class="radio2"><input type="radio" id="minigamesOff" name="minigameOnOff" onclick="Dom.settings.minigames()">Off</input></span>
</div>
<div id="settingNametag" class="settings">
Player nametag:
<span class="radio1"><input type="radio" id="nametagOn" name="nametagOnOff">On</input></span>
<span class="radio2"><input type="radio" id="nametagOff" name="nametagOnOff" checked="true">Off</input></span>
</div>
<div id="settingCoords" class="settings">
Show co-ordinates:
<span class="radio1"><input type="radio" id="coordsOn" name="coordsOnOff" onclick="Dom.settings.coords()">Yes</input></span>
<span class="radio2"><input type="radio" name="coordsOnOff" checked="true" onclick="Dom.settings.coords()">No</input></span>
</div>
<div id="settingFps" class="settings">
Show FPS:
<span class="radio1"><input type="radio" id="fpsOn" name="fpsOnOff" onclick="Dom.settings.fps()">Yes</input></span>
<span class="radio2"><input type="radio" name="fpsOnOff" checked="true" onclick="Dom.settings.fps()">No</input></span>
</div>
<div id="settingHitboxes" class="settings">
Show hitboxes:
<span class="radio1"><input type="radio" id="hitboxesOn" name="hitboxOnOff" onclick="Dom.settings.hitbox()">Yes</input></span>
<span class="radio2"><input type="radio" name="hitboxOnOff" checked="true" onclick="Dom.settings.hitbox()">No</input></span>
</div>
<div id="settingAggro" class="settings">
Show enemy aggro:
<span class="radio1"><input type="radio" id="aggroOn" name="aggroOnOff" onclick="Dom.settings.aggro()">Yes</input></span>
<span class="radio2"><input type="radio" name="aggroOnOff" checked="true" onclick="Dom.settings.aggro()">No</input></span>
</div>
<div id="settingGrid" class="settings">
Show grid:
<span class="radio1"><input type="radio" id="gridOn" name="gridOnOff" onclick="Dom.settings.grid()">Yes</input></span>
<span class="radio2"><input type="radio" name="gridOnOff" checked="true" onclick="Dom.settings.grid()">No</input></span>
</div>
</div>
<br>
<div id='settingCredits' onclick='Dom.settings.page("creditsPage")'>Credits</div><br><br><br><br>
</div>
<div id="settingsTwoPage" hidden class="DOM">
<center><h1>Controls</h1></center>
<div id="hotkeyTexts">
<p style="display: inline">Move left:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Move right:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Move up:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Move down:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Interact:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Progress dialogue:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Mount:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Hide information:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Talk in chat:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Chat Page:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Inventory Page:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Quests Page:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Adventure Page:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Reputation Page:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Settings Page:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Hotbar 1:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Hotbar 2:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Hotbar 3:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Hotbar 4:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Hotbar 5:</p><div class="hotkey"></div><br>
<p style="display: inline"><br>Hotbar 6:</p><div class="hotkey"></div><br>
</div>
<center><div id="closeSettings" onclick="Dom.settings.page('settingsPage')">Close</div></center>
</div>
<div id="creditsPage" hidden class="DOM">
<div id="creditsTexts">
<h1 class="creditsHeading"><b>REALMS OF ANTORAX</b></h1><br>
<p class="creditsLine"><b>UI programming</b>: Peter Gill</p>
<p class="creditsLine"><b>Art lead</b>: James Richards</p>
<p class="creditsLine"><b>Game programming</b>: Jake Thakur</p>
<p class="creditsLine"><b>Animation & Area design</b>: Sammer Atta</p>
<br>
<h2 class="creditsHeading">With help from</h2>
<p class="creditsLine"><b>Additional art and programming</b>: Zach Thakur</p>
<p class="creditsLine"><b>Additional writing</b>: Corey Douglas</p>
<br>
<h2 class="music">Music</h2>
<p class="creditsLine">Pippin the Hunchback and Folk Round by Kevin MacLeod (incompetech.com)<br>
Licensed under Creative Commons: By Attribution 3.0<br>
<a href="http://creativecommons.org/licenses/by/3.0/">http://creativecommons.org/licenses/by/3.0/</a></p>
<br>
</div>
<center><div id="closeCredits" onclick="Dom.settings.page('settingsPage')">Close</div></center>
</div>
<div id="questStart" hidden class="DOM shortDOM">
<br><h1 id="questStartQuest"></h1><br><br>
<span id="questStartChatWrapper">
<b id="questStartName"></b><br>
<p id="questStartChat"></p><br><br>
</span>
<b>Quest Objectives</b>
<p id="questStartObjectives"></p>
<p id="questStartStartRewardsTitle"></p>
<p id="questStartStartRewards"></p>
<div id="questStartStartItems"></div>
<p id="questStartRewardsTitle"></p>
<p id="questStartRewards"></p>
<div id="questStartXP"></div><span id="xpClass"> </span>
<div id="questStartItems"></div>
<div id="accept" class="closeClass" onclick="Dom.quest.accept()">Accept</div>
<div id="decline" class="closeClass" onclick="Dom.closePage('questStart')">Decline</div>
</div>
<div id="questFinish" hidden class="DOM shortDOM"> <!-- used for finishing a step of a quest (not just the whole thing) -->
<br><h1 id="questFinishQuest"></h1>
<b id="questFinishObjectivesHeading">New Objectives</b>
<br><p id="questFinishObjectives"></p>
<p id="questFinishRewardsTitle"></p>
<p id="questFinishRewards"></p>
<div id="questFinishXP"></div><span id="xpClass"> </span>
<div id="questFinishItems"></div>
<center><div id="acceptReward" class="closeClass" onclick="Dom.quest.closePage('questFinish');">Dismiss</div></center>
<img id="chanceImage" src="./assets/icons/bag.png" hidden></img>
<p id="chance" hidden>You do not have enough inventory space to hold all of the possible rewards from this quest. If you complete it now, there is a chance you might not get as many rewards as you could.</p>
</div>
<div id="merchantPage" hidden class="DOM">
<br><h1 id="merchantPageTitle"></h1><br><br>
<p id="merchantPageChat"></p><br><br>
<p id="merchantPageOptions"></p>
<p id="merchantPageBuy"></p>
<center><div id="close" class="closeClass">Close</div></center>
</div>
<div id="identifierPage" hidden class="DOM">
<br><h1 id="identifierPageTitle">Item Identifier</h1><br><br>
<p id="identifierPageChat"></p><br><br><br>
<div id="leftArrow" class="triangleLeft"></div>
<center><div id="identifierPageOption"></div></center>
<div id="rightArrow" class="triangleRight"></div><br><br>
<div id="identifierPageBuy"></div><br><br><br><br>
<center><div id="identifierPageClose" class="closeClass" onclick="Dom.closePage('identifierPage')">Close</div></center>
</div>
<div id="identifiedPage" hidden class="DOM">
<br><h1 id="identifiedPageTitle">Item Identifier</h1><br><br>
<p id="identifiedPageChat"></p><br><br><br>
<center><div id="identifiedPageOption"></div><br><br>
<div id="identifiedPageBack" class="closeClass">Back</div></center>
</div>
<div id="lootPage" hidden class="DOM" ondrop="Dom.inventory.dispose(event)" ondragover="Dom.inventory.allowDrop(event)">
<h1 id="lootingPageTitle"></h1>
<table id="loot"></table>
<div id="lootAll">Loot All</div>
<center><div id="lootingPageClose" class="closeClass" onclick="Dom.closePage('lootPage');Game.lootClosed(Dom.loot.looted)">Close</div></center>
</div>
<div id="buyerPage" hidden class="DOM">
<h1>Item Buyer</h1>
<p id="buyerPageChat"></p><br>
<center><table id="buyerPageInventory"></table></center><br><br>
<center><div id="buyerPageClose" class="closeClass" onclick="Dom.closePage('buyerPage')">Close</div></center>
</div>
<div id="mailPage" hidden class="DOM"></div>
<div id="driverPage" hidden class="DOM">
<div id="driverPageMain"></div>
<div id="driverPageBuy"></div>
<br><br><br><center><div class='closeClass' id='closeDriver'>Close</div></center>
</div>
<div id="bankPage" hidden class="DOM" ondrop="Dom.inventory.dispose(event)" ondragover="Dom.inventory.allowDrop(event)">
<h1>Bank</h1>
<table id="bankPageInventory"></table><br><br><br>
<center><div id="bankPageClose" class="closeClass" onclick="Dom.closePage('inventoryPage')">Close</div></center>
</div>
<div id="tradePage" hidden class="DOM" ondrop="Dom.inventory.dispose(event)" ondragover="Dom.inventory.allowDrop(event)">
<h1>Trade</h1>
<p id="you">You</p>
<table id="tradePageInventory"></table><br><br>
<p id="them"></p>
<table id="tradePageOther"></table><br><br>
<div id="confirm" class="closeClass" onclick="Dom.trade.confirm();">Confirm</div>
<div id="cancel" class="closeClass" onclick="Dom.trade.close();">Cancel</div>
</div>
<div id="leaderboardPage" hidden class="DOM">
<center><h1 id="leaderboardPageTitle"></h1>
<p id="leaderboardPageDescription" hidden></p></center>
<ol id="leaderboardPageList"></ol>
<center><div id="leaderboardPageClose" class="closeClass" onclick="Dom.closePage('leaderboardPage')">Close</div></center>
</div>
<div id="choosePage" hidden class="DOM">
<div id="choosePagePlayer" hidden>
<div id="choosePageAchievementPoints"></div>
<div id="choosePageWeapon"></div>
<div id="choosePageHelm"></div>
<div id="choosePageChest"></div>
<div id="choosePageGreaves"></div>
<div id="choosePageBoots"></div>
</div>
<div id="choosePageContent"></div>
</div>
<div id="textPage" hidden class="DOM"></div>
<div id="npcChatBanner1" class="npcChatBanner" hidden>
<div id="npcChatImage"></div>
<div id="npcChatHeaderParentBox" class="npcChatHeaderParentBox">
<div id="npcChatHeaderBox" class="npcChatHeaderBox";>
<p id="npcChatBannerHeader1" class="npcChatBannerHeader"></p>
</div><div id="npcChatHeaderEdge"; class="npcChatHeaderEdge";> </div>
</div>
<div class="clear"></div>
<p id="npcChatBannerText1" class="npcChatBannerText"></p>
<img id="npcChatNext" src="assets/icons/dialogueNext.png"></img>
</div>
<div id="chatBannerOptions" hidden>
<ul id="chatBannerOptionList">
<!-- example: -->
<li class="chatBannerOption" onclick="Dom.chat.chooseOption(0)">Say hello casually</li>
<li class="chatBannerOption" onclick="Dom.chat.chooseOption(1)">Reveal your identity</li>
</ul>
</div>
<div id="bookmarks">
<img id="changeChat" class="changePage" src="assets/icons/Tag1.png" onclick="Dom.changeBook('chatPage', undefined, true)"></img>
<!--<span id="dot" onclick="Dom.changeBook('chatPage', true)" hidden></span>-->
<img id="changeInventory" class="changePage" src="assets/icons/Tag2.png" onclick="Dom.changeBook('inventoryPage', undefined, true)"></img>
<img id="changeQuests" class="changePage" src="assets/icons/Tag3.png" onclick="Dom.changeBook('questsPage', undefined, true)"></img>
<img id="changeAdventure" class="changePage" src="assets/icons/Tag4.png" onclick="Dom.changeBook('adventurePage', undefined, true)"></img>
<img id="changeSpellbook" class="changePage" src="assets/icons/Tag5.png" onclick="Dom.changeBook('spellbookPage', undefined, true)"></img>
<img id="changeSettings" class="changePage" src="assets/icons/Tag6.png" onclick="Dom.changeBook('settingsPage', undefined, true)"></img>
</div>
<script src="./gamedata/functions.js"></script>
<script src="./gamedata/weather.js"></script>
<script src="./gamedata/fishingGame.js"></script>
<script src="./gamedata/skindata.js"></script>
<script src="./gamedata/spelldata.js"></script>
<script src="./gamedata/itemdata.js"></script>
<script src="./gamedata/lootdata.js"></script>
<script src="./gamedata/savedata.js"></script>
<script src="./gamedata/adventuredata.js"></script>
<script src="./gamedata/achievementdata.js"></script>
<script src="./gamedata/questdata.js"></script>
<script src="./gamedata/enemydata.js"></script>
<script src="./gamedata/villagerdata.js"></script>
<script src="./gamedata/areadata.js"></script>
<script src="./dom.js"></script>
<script src="./main.js"></script>
</body>
</html>