-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
414 lines (390 loc) · 30.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="Shortcut icon" href="images/icon.png">
<title>Legend of the Fallen Warrior</title>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/footer.css" rel="stylesheet" type="text/css">
<link href="css/text.css" rel="stylesheet" type="text/css">
<link href="css/tooltip.css" rel="stylesheet" type="text/css">
<link href="css/icons.css" rel="stylesheet" type="text/css">
<link href="css/button.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="jquery/jquery-1.11.3.min.js"></script>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="js/libraries/bootstrap.min.js" type="text/javascript"></script>
<link href="css/main.css" rel="stylesheet" type="text/css">
<script type='text/javascript' src='js/libraries/knockout-3.4.0.js'></script>
<script type='text/javascript' src='js/knockout-objects.js'></script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
</head>
<body>
<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', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-57991038-2', 'auto');
ga('send', 'pageview');
window.onerror = function(message, file, line) {
ga('send', 'event', 'Global', 'Exception', file + "(" + line + "): " + message);
}
</script>
<div class="container-fluid darkBackground containerPaddingTop">
<!-- Simple audio playback -->
<audio id="myAudio" controls="controls" loop preload="auto" hidden>
<source src="sounds/sound.ogg" type="audio/ogg" />
<source src="sounds/sound.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
<audio id="myAudioStart" controls="controls" loop preload="auto" hidden>
<source src="sounds/sound2.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
<button id="SoundButton" type="button" class="btn btn-default shopButton" onclick="muteAudio(); changeMusicImage();">
<span id="musicImage" class="glyphicon glyphicon-volume-up" aria-hidden="true"></span>
</button>
<div id="loadingContainer" class="loadingContainer" data-bind="visible: isDisplayed">
</div>
<div class="startingGameContainer" id="startingGameContainer">
<div id="startingScreen">
<div class="gameLogo" id="gameLogo"></div>
<div class="buttonDiv" id="buttonDiv"></div>
</div>
<div id="raceDiv" style="display:none;">
<div class="raceText" id="raceText"></div>
<div id="sliderDivID" class="sliderDiv" style="display:none;">
<label><input id="Adulthood" type="radio" name="raceAge" value="Adulthood" style="visibility: visible;" onclick="getAgeButton()" checked><span style="margin-left:20px;">Adulthood</span></label>
<label><input id="Middle Age" type="radio" name="raceAge" value="Middle Age" style="visibility: visible;" onclick="getAgeButton()"><span style="margin-left:20px;">Middle Age</span></label>
<label><input id="Old" type="radio" name="raceAge" value="Old" style="visibility: visible;" onclick="getAgeButton()"><span style="margin-left:20px;">Old</span></label>
<label><input id="Venerable" type="radio" name="raceAge" value="Venerable" style="visibility: visible;" onclick="getAgeButton()"><span style="margin-left:20px;">Venerable</span></label>
</div>
<div class="raceCreation" id="raceCreation"></div>
</div>
</div>
<!--First Row-->
<div class="row paddingBothSides">
<div class="col-xs-12">
<div class="row add-padding">
<div id="firstDiv" class="col-xs-12 col-md-5 col-lg-4 marginBottomNav">
<div class="row c4" style="border:1px solid;">
<div class="col-xs-10 col-xs-offset-1 c2">
<div class="row">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_mainStats" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Main Stats"></span>Stats</a></li>
<li><a href="#tab_SecondaryStats" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Secondary stats"></span>Secondary stats</a></li>
<li><a href="#tab_equippedItems" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Equipped Items"></span>Equipment</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_mainStats">
<div class="col-xs-2">
<div id="characterRace"></div>
</div>
<div class="col-xs-10">
<div class="c3">
<h4>Player Stats</h4>
<h5 style="font-size:12px;">Ctrl/Alt + Click = 10 stats <br /> Shift + Click = 100 stats</h5>
</div>
</div>
<div class="col-xs-12">
<div class="progress" data-toggle="tooltip" data-placement="top" title="Health">
<div id="progressBar2" class="progress-bar progressColor" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 20%;">
<span id="health"></span>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="progress" data-toggle="tooltip" data-placement="top" title="Mana">
<div id="progressBar3" class="progress-bar progressColor2" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 20%;">
<span id="mana"></span>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="progress" data-toggle="tooltip" data-placement="top" title="Experience">
<div id="progressBar" class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 20%;">
<span id="exppercent">60% Complete</span>
</div>
</div>
</div>
<div class="col-xs-12 topBar">
<span data-toggle="tooltip" data-placement="top" title="Level" id="level">1</span>
(<span id="experience">0</span>/<span id="maxexperience">100</span>)
<img data-toggle="tooltip" data-placement="top" title="Gold" src="css/images/crown-coin.png" />
<span id="gold">0</span>
</div>
<div class="c3">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="A9UAZH8H9XHFQ">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
</form>
<a href="updates.html" target="_blank"><strong style="font-size:large;">Changelog</strong></a>
</div>
<div id="primaryStat"></div>
</div>
<div class="tab-pane" id="tab_SecondaryStats">
<div id="secondaryStat"></div>
</div>
<div class="tab-pane" id="tab_equippedItems">
<div id="equipHtml"> </div>
</div>
</div>
</div>
</div>
<!-- tab content -->
</div>
<!-- end of container -->
</div>
<div id="secondDiv" class="col-xs-12 col-md-7 col-lg-8 c4 border unselectable">
<div class="row">
<div class="col-xs-1" style="padding-top:10px;">
<button type="button" class="btn btn-default" onclick="muteAudio(); changeMusicImage();">
<span id="musicimage2" class="glyphicon glyphicon-volume-up" aria-hidden="true"></span>
</button>
</div>
<div class="col-xs-11">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_mainBattle" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Battle">Battle</span></a></li>
<li onclick="CreateInventoryWeaponHtml(); resetNewItemsNumberDisplay();">
<a href="#tab_mainInventory" data-toggle="tab" style="width:120px;">
<span data-toggle="tooltip" data-placement="top" title="Inventory">Inventory</span>
<span id="newItems" style="position:absolute; top:0%;left:80%; color:red;"></span>
</a>
</li>
<li><a href="#tab_mainProfessions" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Professions"></span>Professions</a></li>
<li><a href="#tab_mainSkills" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Skills"></span>Skills</a></li>
<li><a href="#tab_mainShop" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Shop"></span>Shop</a></li>
<li><a href="#tab_mainStory" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Options"></span>Story</a></li>
<li><a href="#tab_mainOptions" data-toggle="tab"><span data-toggle="tooltip" data-placement="top" title="Options"></span>Options and Credits</a></li>
</ul>
</div>
</div>
</div>
<div id="thirdDiv" class="col-xs-12 col-md-7 col-lg-8 tab-content">
<div class="tab-pane active unselectable" id="tab_mainBattle">
<div class="row c4 border marginTop">
<div class="col-xs-12">
<div class="row margin">
<div class="col-md-12">
<div class="row c4">
<div class="col-xs-12">
<div id="monsterTabs">
</div>
<div id="activeBuffs"></div>
<!-- tab content -->
<div>
<div id="hotBar"></div> <!--Add margin top/bottom for better look ._.-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row add-padding">
<div id="consoleDiv" class="col-md-12">
<div class="c4 c3 professionHeight border marginTop" id="logConsole">
Console log
</div>
</div>
</div>
</div>
<div id="tab_mainInventory" class="tab-pane unselectable c4">
<div class="row">
<div class="col-sm-12 border c4">
<div id="checkBoxHtml"></div>
<div class="inventory" id="inventory"></div>
</div>
</div>
</div>
<div id="tab_mainProfessions" class="tab-pane unselectable c4">
<div id="playerProfessions"></div>
</div>
<div id="tab_mainSkills" class="tab-pane unselectable c4 border marginBottom row">
<div class="tab-pane" id="tab_b2">
<div class="c3">
<h4>Weapon Skills and Passives</h4>
</div>
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_weaponSkillsShow" data-toggle="tab"><span class="icons weapon" data-toggle="tooltip" data-placement="top" title="Weapon Skills"></span></a></li>
<li><a href="#tab_passiveSkillsShow" data-toggle="tab"><span class="icons staff" data-toggle="tooltip" data-placement="top" title="Passive Skills"></span></a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_weaponSkillsShow">
<div class="c3">
<h4>Weapon Skills</h4>
</div>
<div id="weaponSkill"></div>
</div>
<div class="tab-pane" id="tab_passiveSkillsShow">
<div class="c3">
<h4>Passive skills</h4>
</div>
<div id="playerSkills"></div>
</div>
</div>
</div>
</div>
<div id="tab_mainShop" class="tab-pane unselectable c4 border marginBottom row">
<div class="c3">
<h4>Shop</h4>
</div>
<div id="shopTabs"></div>
</div>
<div id="tab_mainStory" class="tab-pane unselectable c4 marginBottom row border">
<div class="row">
<div class="col-xs-12 marginTop marginBottom">
<div class="c4">
<ul class="nav nav-tabs borderBottom">
<li role="presentation" class="active"><a href="#tab_prologue" data-toggle="tab">Prologue</a></li>
<li role="presentation"><a href="#tab_varik" data-toggle="tab">Varik's Hideout</a></li>
<li role="presentation"><a href="#tab_forest" data-toggle="tab">Forest of Narus</a></li>
<li role="presentation"><a href="#tab_ozJotnar" data-toggle="tab">Oz Jotnar</a></li>
<li role="presentation"><a href="#tab_twistedMarrow" data-toggle="tab">Twisted Marrow</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_prologue">
<div class="story c4" id="story">
<h1><b>Prologue</b></h1><br /><br />
<p class="story">
The dead stay dead, but in your case that isn't true.
You have experienced death and discovered that your life is as infinite as the heavens, but nothing good comes without a price.
On your first death the soul of a long dead warrior attempted to possess your body, but due to your "uniqueness" it failed and is now fused with your being.
It speaks to you and it desires only one thing: Battle.<br /><br />
"Become the Legend I was and help me feel alive again."<br /><br />
You respond by opening your door and taking the first steps towards a new life.
</p>
</div>
</div>
<div class="tab-pane" id="tab_varik">
<div class="story c4" id="varik">
<h1><b>Varik's Hideout</b></h1><br />
<h3><b>Varik Grunts</b></h3><br />
<p class="story">
Of course, you have to start somewhere.
You can't just go gallivanting into the Forest of Narsus and expect to come back not in a body bag.
Instead, you start simple: A group of bandits under the name of Variks Avarice have been terrorizing your town of Old Hemlock for a few months now.
So, you go stir up some trouble with the Varik Grunts and hope someone notices.
Their hideout is very easy to find because they just don't care about hiding it or they are kind of stupid.
You started trouble with them by breaking a bottle over one of their heads.
</p>
</div>
</div>
<div class="tab-pane" id="tab_forest">
<div class="story c4" id="forestOfNarsus">
<h1><b>Forest of Narsus</b></h1><br />
</div>
</div>
<div class="tab-pane" id="tab_ozJotnar">
<div class="story c4" id="ozJotnar">
<h1><b>Oz Jotnar</b></h1><br />
</div>
</div>
<div class="tab-pane" id="tab_twistedMarrow">
<div class="story c4" id="twistedMarrow">
<h1><b>Twisted Marrow</b></h1><br />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="tab_mainOptions" class="tab-pane c4 border marginBottom row">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_options" data-toggle="tab"><span class="icons options" data-toggle="tooltip" data-placement="top" title="Options"></span></a></li>
<li><a href="#tab_credits" data-toggle="tab"><span class="icons credits" data-toggle="tooltip" data-placement="top" title="Credits"></span></a></li>
</ul>
<div class="tab-content c4">
<div class="tab-pane active" id="tab_options">
<div class="c3">
<h4>Save & Options</h4>
<div id="saveGameSlot"></div>
<div class="marginBottom" id="saveTime"></div>
<div id="volumeSettings"></div>
<div id="currentVolume">Current Volume: 10%</div><br />
<div class="col-xs-12">
<button class="sell" onclick="changeDifficulty('Mortal')" data-toggle="tooltip" data-placement="top" title="Enemy Stats x 0.2">Mortal</button>
<button class="sell" onclick="changeDifficulty('Ageless')" data-toggle="tooltip" data-placement="top" title="Enemy Stats x 0.5">Ageless</button>
<button class="sell" onclick="changeDifficulty('Hero')" data-toggle="tooltip" data-placement="top" title="Enemy Stats x 1">Hero</button>
<button class="sell" onclick="changeDifficulty('Immortal')" data-toggle="tooltip" data-placement="top" title="Enemy Stats x 2">Immortal</button>
<button class="sell" onclick="changeDifficulty('Lich')" data-toggle="tooltip" data-placement="top" title="Enemy Stats x 3">Lich</button>
<button class="sell" onclick="changeDifficulty('Legend')" data-toggle="tooltip" data-placement="top" title="Enemy Stats x 5">Legend</button>
</div>
<div class="col-xs-12 c3">
<span id="gameDifficulty">
</span>
</div><br /><br /><br /><br />
<div class="row">
<div class="col-xs-10 col-xs-offset-1">
<div class="scroll c4 c3 border" id="saveExport" style="height:100px; -ms-word-wrap: break-word; word-wrap: break-word;"></div><br />
<button type="button" class="btn btn-sm btn-default" onclick="selectText('saveExport')">
Select all text
</button>
<button type="button" class="btn btn-sm btn-default" onclick="importSave()">
Import
</button>
<textarea class="scroll c4 c3 col-xs-12" id="saveImport" rows="6" style="-ms-word-wrap: break-word; word-wrap: break-word;"></textarea><br />
<a href="updates.html" target="_blank">Changelog</a><br />
<a href="http://www.reddit.com/r/LoFW/" target="_blank">Subreddit</a><br />
</div>
</div>
</div>
</div>
<div class="tab-pane" id="tab_credits">
<div class="c3">
<h4>Credits</h4>
</div>
<div class="centerText">
<b>Tarnos - Main developer</b><p><a href="http://www.reddit.com/user/tarnos12/" target="_blank">Reddit profile</a></p>
<b>Rohan Jain - Help with the code/development</b><p><a href="http://www.reddit.com/user/ArjaaAine" target="_blank">Reddit profile</a> - <a href="https://www.linkedin.com/profile/view?id=174286078" target="_blank">LinkedIn profile</a></p>
<b>Darkshadow44 - Help with game code</b><p><a href="http://steamcommunity.com/profiles/76561198036405586/" target="_blank">Steam profile</a></p>
<b>Jason Lee - Story</b><p><a href="http://www.reddit.com/user/ParanoiDoom" target="_blank">Reddit profile</a></p>
<b>Reddit users - Feedback</b><p><a href="http://www.reddit.com/r/incremental_games/" target="_blank">Incremental Reddit</a></p>
<b>David E. Gervais - Monster images</b><p><a href="http://pousse.rapiere.free.fr/tome/" target="_blank">http://pousse.rapiere.free.fr/tome/</a><br />Published under the Creative Commons licence.</p>
<b>Music by Eric Matyas</b><p><a href="www.soundimage.org" target="_blank">www.soundimage.org</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/skills.js"></script>
<script type="text/javascript" src="js/weaponMastery.js"></script>
<script type="text/javascript" src="js/itemList.js"></script>
<script type="text/javascript" src="js/monsterList.js"></script>
<script type="text/javascript" src="js/dynamicHtml.js"></script>
<script type="text/javascript" src="js/gameObjects.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/battle.js"></script>
<script type="text/javascript" src="js/quest.js"></script>
<script type="text/javascript" src="js/intervalFunctions.js"></script>
<script type="text/javascript" src="js/itemDrop.js"></script>
<script type="text/javascript" src="js/itemSell.js"></script>
<script type="text/javascript" src="js/save.js"></script>
<script type="text/javascript" src="js/shop.js"></script>
<script type="text/javascript" src="js/stats.js"></script>
<script type="text/javascript" src="js/professions.js"></script>
<script type="text/javascript" src="js/potionsHotbar.js"></script>
<script>
ko.applyBindings(myViewModel);
</script>
<script id="cid0020000089850597842" data-cfasync="false" async src="//st.chatango.com/js/gz/emb.js" style="width: 200px;height: 300px; z-index:0;">
{"handle":"lotfw","arch":"js","styles":{"a":"cc9933","b":100,"c":"000000","d":"000000","k":"cc9933","l":"cc9933","m":"cc9933","p":"10","q":"cc9933","r":100,"pos":"br","cv":1,"cvbg":"cc9933","cvfg":"000000","cvw":75,"cvh":30,"ticker":1,"fwtickm":1}}</script>
</body>
</html>