forked from tybayn/phasmo-cheat-sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·615 lines (582 loc) · 37.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
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
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
<head>
<meta charset="UTF-8">
<title>Unofficial Phasmophobia Cheat Sheet</title>
<link rel="icon" type="image/x-icon" href="https://zero-network.net/phasmophobia/static/imgs/favicon.ico">
<meta name="Description" content="The Unofficial Phasmo Cheat Sheet is the ultimate cheat sheet for the popular horror video game Phasmophobia. It includes features such as BPM Finder, Shared Journal Link, Desktop Link, and more to help make you more successful in your ghost hunting endeavors" />
<meta name="keywords" content="phasmphobia, phasmo, phasmophobia cheat sheet, phasmo cheat sheet, phasmophobia info, phasmo info, phasmophobia guide, phasmo guide, phasmophobia help, phasmo help, phasmophobia tool, phasmo tools, phasmophobia tools, phasmo tools, phasmophobia github, phasmo github" />
<meta name="viewport" content="user-scalable=0">
<meta property="og:type" content="website">
<meta property="og:url" content="https://tybayn.github.io/phasmo-cheat-sheet/">
<meta property="og:title" content="Zero-Network | Unofficial Phasmo Cheat Sheet">
<meta property="og:description" content="The ultimate Phasmo Cheat Sheet! Smart filters, ghost behaviors, footstep speeds, bpm finder, maps, and more!">
<meta property="og:image" content="https://i.imgur.com/8PJDBnm.png">
<script>
AbortSignal.timeout = ms => {
const controller = new AbortController();
setTimeout(() => controller.abort(), ms);
return controller.signal;
};
</script>
<script src="jquery/jquery-3.6.2.min.js"></script>
<script src="scripts-v4/ghost_template-v1.js"></script>
<link rel="stylesheet" href="styles-v4/style-v1.css"/>
<link rel="stylesheet" href="styles-v4/style-mobile-v1.css"/>
<link rel="stylesheet" href="themes-v4/themes-v1.css"/>
<link rel="stylesheet" href="discord-v4/discord-v1.css" >
<link rel="stylesheet" href="wiki-v4/wiki-v1.css" >
<link rel="stylesheet" href="events-v4/events-v1.css" >
<link rel="stylesheet" href="feed-v4/feed-v1.css" >
<link rel="stylesheet" href="styles-v4/sparkles-v1.css" >
</head>
<body>
<div id="resetMenu" style="display: none;">
<button onclick="resetGhosts()">Reset Ghosts</button>
<button onclick="resetFilters()">Reset Filters</button>
<button onclick="resetNoSave()">Reset All without saving</button>
</div>
<div id="blackout" style="display: none;">
<div id="info_box">
<span class="icon" onclick="showInfo()"></span>
<h3>Data Accuracy</h3>
<div class="info_text">The data was last corrected and verified by Phasmophobia Discord Moderator "Shuee01" on 2023-01-04 (v0.8.0.5). Data is kept up to date with the verified information in the official Phasmophobia Discord #ghost-huntin-resources channel, which is maintained and kept accurate by "Shuee01".</div>
<div class="info_text" style="padding-top: 15px;">Graphics settings and GPU/CPU load will impact the speed of footstep sounds in game. What you hear in game may differ and not match exactly with what is heard on this guide. You can adjust the "Speed Offset" in settings to more accurately align the footstep sounds to what you hear in game. When comparing footsteps via sound examples: double footsteps, stairs, and turning around can cause the audio to appear slightly offset.</div>
<h3>Copyright and Disclaimers</h3>
<div class="info_block">Phasmophobia, the Phasmophobia logo, and any game related info, images, or sounds (specifically footstep sounds, banshee scream, and deogen breathing) are either ® or TM, Kinetic Games Limited. Any assets used within this site are used with direct permission from Kinetic Games.<br><br>
The Zero-Network "Unofficial Phasmophobia Cheat Sheet" is not created by nor affiliated with Kinetic Games, its developers, or partners. This service is created by an independent third party.<br><br>
This service is created as an educational tool for the Phasmophobia community, no copyright infringement intended.<br>
<hr>
Fair Use Disclaimer:<br><br>
Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship and research. Fair use is a use permitted by copyright statute that might otherwise be infringing.<br>
<hr>
The website itself, its design, layout, functionality, and additional softwares are copyrighted by Ty Bayn (Zero-Network).<br><br>
</div>
<h3>Recognition</h3>
<div class="info_image_text">
<span class="sparkling"><img src="https://zero-network.net/phasmophobia/static/imgs/vip.png"></span>
<div>The developer of this guide (SeverelyZero) received an in-game VIP badge from Official Content Creator "JOJOsaysbreee" for the creation of this guide as a community resource (2022-12-29)</div>
</div>
<div class="thankyou_text">
(A special thank you to @skreekaw, @vandelyind, and @puch for their help with testing and QA)<br>
<strong>Found a bug? Have ideas? Want to play a few rounds?</strong><br>
<p class="footer_link">
<a class="inline_image_text" style="color: #5865F2;" href="https://discord.gg/afpvC7Bf7Y" target="_blank">
<img src="https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a6a49cf127bf92de1e2_icon_clyde_blurple_RGB.png" width="25">
<strong style="padding-left: 6px;">Join the 'Zero-Network: Ghost Hunters' server</strong>
</a>
</p>
or find me on Discord! @severelyzero
</div>
<div class="copyright_text">Copyright © 2023-2024 Ty Bayn (Zero-Network)</div>
</div>
</div>
<div id="blackout_voice" style="display: none;">
<div id="info_box_voice">
<span class="icon" onclick="showVoiceInfo()"></span>
<h3>Voice Commands</h3>
<div class="info_text">Voice commands allow you to control the cheat sheet via your voice. Once you hit enable, the cheat sheet will begin listening to your voice commands and will persist between resets until you disable it. It will by default read from your default microphone, so ensure that it is set correctly. The voice recognition will continue to work even if the page is not in focus and you are using the same microphone in-game.</div>
<div class="info_block" style="margin-top: 10px; overflow-y: scroll; overflow-x: hidden;">
<strong>Evidence:</strong>
<ul>
<li>"number of evidence <num>" or "difficulty <num>" -> Set the number of evidence</li>
<li>"evidence <evidence>" -> Mark as a found evidence</li>
<li>"evidence not <evidence>" -> Mark as not an evidence</li>
<li>"evidence clear <evidence>" -> Reset state of an evidence</li>
<li>"monkey paw <evidence>" -> This will mark the evidence off with monkey paw logic</li>
</ul>
<hr>
<strong>Speed:</strong>
<ul>
<li>"speed <speed>" -> Mark specified speed</li>
<li>"speed clear <speed>" -> Reset state of specified speed</li>
<li>"speed [has] line of sight" -> Mark having standard line-of-sight speed up</li>
<li>"speed not line of sight" -> Mark no standard line-of-sight speed up</li>
<li>"speed clear line of sight" -> Reset line-of-sight filter</li>
</ul>
<hr>
<strong>Hunt Sanity:</strong>
<ul>
<li>"sanity <sanity>" -> Mark specified hunt sanity</li>
<li>"sanity clear <sanity>" -> Reset state of specified hunt sanity</li>
</ul>
<hr>
<strong>Ghosts:</strong>
<ul id="ghost-commands">
<li>"ghost not <ghost>" -> Grey out the specified ghost card</li>
<li>"ghost clear <ghost>" -> Reset state of a ghost card (excluding hidden cards)</li>
<li>"ghost select <ghost>" -> Select/highlight specified ghost card</li>
<li>"ghost remove <ghost>" -> Remove the specified ghost card from the screen</li>
<li class="discord_voice_commands" style="display:none;">"ghost guess <ghost>" -> Mark the ghost as an unconfirmed guess</li>
<li class="discord_voice_commands" style="display:none;">"ghost killed by <ghost>" -> Select the ghost AND mark that it killed you</li>
<li>"ghost show|info <ghost>" -> Scroll the specified ghost card into view</li>
</ul>
<hr>
<strong>Timer:</strong>
<ul>
<li>"timer start" -> Start the smudge timer</li>
<li>"timer stop " -> Stop the smudge timer</li>
<li>"cooldown start" -> Start the cooldown timer</li>
<li>"cooldown stop " -> Stop the cooldown timer</li>
</ul>
<hr>
<strong>Misc:</strong>
<ul>
<li>"show filters" or "show tools" -> Flips the menu to show the filters/tools</li>
<li>"ghost speed <percent>" -> Set ghost speed modifier to 50%, 75%, 100%, 125%, or 150%</li>
<li>"show map [<map name>]" -> Opens the map tab and displays map</li>
<li>"close map" or "hide map" -> Closes the map tab</li>
<li>"reset journal" or "reset cheat sheet" -> Reset the cheat sheet (will save if linked with Discord)</li>
<li>"stop listening" -> Stop the voice recognition</li>
</ul>
</div>
<h3>Data Privacy</h3>
<div class="info_text">Voice commands are routed through the built-in Web Speech API. Although microphone access is required for this feature, your voice is never recorded or stored.</div>
<div class="copyright_text">Copyright © 2023-2024 Ty Bayn (Zero-Network)</div>
</div>
</div>
<div id="settings_box" style="left: -1000px;">
<div id="settings_tab" onclick="showSettings()">
<div class="tab_rotate">Settings</div>
<div id="settings_status"></div>
<div id="dllink_status"></div>
<div id="voice_recognition_status" class="pulse_animation" style="display:none; background-image: url(imgs/mic.png);"></div>
</div>
<span class="icon" onclick="showSettings()"></span>
<div class="settings_title yfont white">Settings</div>
<div class="info_block">
<div class="modifier_volume yfont white">Volume</div>
<input type="range" id="modifier_volume" name="volume"
min="0" max="100" step="2" default="50" onchange="setVolume();saveSettings();">
<div class="modifier_volume_labels">
<div class="modifier_volume_label">0%</div>
<div class="modifier_volume_label">25%</div>
<div class="modifier_volume_label">50%</div>
<div class="modifier_volume_label">75%</div>
<div class="modifier_volume_label">100%</div>
</div>
<div class="modifier_note">
<input type="checkbox" id="mute_timer_countdown" name="mute_timer_countdown" class="settings_check" onclick="mute('countdown');saveSettings();"><label for="mute_timer_countdown">Mute Timer Countdown</label>
</div>
<div class="modifier_note less_pad">
<input type="checkbox" id="mute_timer_toggle" name="mute_timer_toggle" class="settings_check" onclick="mute('toggle');saveSettings();"><label for="mute_timer_toggle">Mute Timer Toggle</label>
</div>
<hr>
<div class="modifier_volume yfont white">Speed Offset</div>
<div id="speed_offset">
<span id="minus_speed" class="speed_icon" onclick="adjustOffset(-1);setTempo();saveSettings();">-1</span>
<span id="minus_speed" class="speed_icon" onclick="adjustOffset(-0.1);setTempo();saveSettings();">-.1</span>
<span id="offset_value"> 0.0% </span>
<span id="minus_speed" class="speed_icon" onclick="adjustOffset(0.1);setTempo();saveSettings();">+.1</span>
<span id="minus_speed" class="speed_icon" onclick="adjustOffset(1);setTempo();saveSettings();">+1</span>
</div>
<div class="modifier_note">(Adjust speed of footsteps)</div>
<hr>
<div class="modifier_volume yfont white">Speed Filter Logic</div>
<div class="speed_logic_select">
<span>OR</span>
<label for="speed_logic_type" onchange="filter();saveSettings();">
<input type="checkbox" name="" id="speed_logic_type">
<div class="toggle"></div>
</label>
<span>AND</span>
</div>
<hr>
<div class="modifier_volume yfont white">BPM to m/s</div>
<div class="speed_logic_select">
<span>Exact</span>
<label for="bpm_type" onchange="bpm_calc(true);saveSettings();">
<input type="checkbox" name="" id="bpm_type">
<div class="toggle"></div>
</label>
<span>Rounded</span>
</div>
<hr>
<div class="modifier_volume yfont white">Voice Commands</div>
<div class="journal_link vc_link">
<div class="journal_link_buttons">
<button id="start_voice" class="journal_link_button" onclick="start_voice()">Enable</button>
<button id="stop_voice" class="journal_link_button" onclick="stop_voice()" disabled>Disable</button>
</div>
</div>
<div id="voice_recognition_note" class="modifier_note"><div onclick="showVoiceInfo()" class="link_hover">Commands and Info »</div></div>
<hr>
<div class="modifier_volume yfont white">Shared Journal Link</div>
<div class="journal_link">
<input type="text" placeholder="XXXXXX" id="room_id" class="text" value="Connecting..." disabled style="color:#444;">
<div id="room_id_cover" class="copy_cover" style="display:none;">Copied!</div>
<img class="clipboard_icon" src="imgs/copy.png" onclick="copy_url_code()">
<div class="journal_link_buttons">
<button id="room_id_create" class="journal_link_button" style="display: none;" onclick="create_room()">Create</button>
<button id="room_id_link" class="journal_link_button" style="display: none;" onclick="link_room()">Join</button>
<button id="room_id_disconnect" class="journal_link_button" style="display: none;" onclick="disconnect_room()">Disconnect</button>
</div>
</div>
<div id="room_id_note" class="modifier_note">(STATUS: Not connected)</div>
<hr>
<div class="modifier_volume yfont white">
Desktop Link
<a class="download" href="assets/ZN-Desktop-Link-Installer-v2.5.0.msi" download="ZN-Desktop-Link-Installer-v2.5.0.msi"><img class="download_icon" src="imgs/download.png" alt="Download ZN-Desktop-Link"></a>
</div>
<div class="journal_link">
<input type="text" placeholder="DL-XXXXX" id="link_id" class="text" value="DL-XXXXX" disabled style="color:#444;">
<div id="link_id_cover" class="copy_cover" style="display:none;">Copied!</div>
<img class="clipboard_icon" src="imgs/copy.png" onclick="copy_code()">
<div class="journal_link_buttons">
<button id="link_id_create" class="journal_link_button" style="display: none;" onclick="create_link()">Create</button>
<button id="link_id_disconnect" class="journal_link_button" style="display: none;" onclick="disconnect_link()">Disconnect</button>
</div>
</div>
<div id="link_id_note" class="modifier_note">(STATUS: Not linked)</div>
</div>
<div id="session">-</div>
</div>
<div id="discord_link_box" style="left: -1000px;">
<div id="discord_link_tab" onclick="showDiscordLink();getLink();">
<div class="tab_rotate">Discord Link</div>
<div id="discord_link_status"></div>
</div>
<span class="icon" onclick="showDiscordLink()"></span>
<div class="settings_title yfont white">Discord Link</div>
<div class="info_block">
<img id="discord_avatar" src="https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a6a49cf127bf92de1e2_icon_clyde_blurple_RGB.png">
<div id="discord_name">Link your Discord</div>
<div id="discord_link_date" class="hidden"></div>
<div id="discord_stats" class="discord_note">Linking your Discord account will allow you to record what is input into this Cheat Sheet, allowing you to view statistics about ghosts, evidences, and play style!</div>
<div id="discord_instructions" class="hidden">
<strong>Collecting Additional Stats</strong>
<hr>
<ul>
<li>
<div class="discord_instructions_title">
<img src="imgs/select.png"><strong>Select the ghost</strong>
</div>
<div class="discord_instructions_text">
Select the actual ghost (shown on the summary board after leaving).
<i>If you died, mark that the ghost "killed" you instead.</i>
</div>
</li>
<li>
<div class="discord_instructions_title">
<img src="imgs/guess.png"><strong>Guess the ghost</strong>
</div>
<div class="discord_instructions_text">
Select what you think the ghost is (not the actual ghost).
If correct, "select" the ghost.
If incorrect, keep your guess and "select" the correct ghost.
</div>
</li>
<li>
<div class="discord_instructions_title">
<img src="imgs/died.png"><strong>Killed by the ghost</strong>
</div>
<div class="discord_instructions_text">
Select the actual ghost <i>AND</i> indicate that the ghost killed you.
</div>
</li>
</ul>
<a id="discord-stats-link" target="_blank"><div id="phasmo-stats">My Stats Explorer »</div></a>
<hr>
</div>
<div id="discord_note" class="discord_note grey">(1) Linking does not maintain an active connection to Discord, you will need to relink every 30 days or if you update your Discord profile. (2) Stats provided are purely from the use of this Cheat Sheet. We do not connect to the Phasmophobia game or Steam in any way.</div>
<div>
<a id="discord_link" href="https://discord.com/api/oauth2/authorize?client_id=1077230568422510602&redirect_uri=https%3A%2F%2Fzero-network.net%2Fanalytics%2Fdiscord-connect&response_type=code&scope=identify">
<div id="discord_login_button">Link</div>
</a>
<div id="discord_unlink_button" class="hidden" onclick="discord_unlink()">Unlink</div>
</div>
</div>
</div>
<div id="event_box" style="left: -1000px;">
<div id="event_tab" onclick="showEvent()">
<div class="tab_rotate">Current Event</div>
</div>
<span class="icon" onclick="showEvent()"></span>
<div class="settings_title yfont white">Current Event</div>
<div class="info_block">
<div id="event_title">No current events!</div>
<hr>
<div id="event_details">
Check back on the next update!
</div>
</div>
</div>
<div id="wiki_box" style="left: -1000px;">
<div id="wiki_tab" onclick="showWiki();setFlicker();">
<div class="tab_rotate">Guides</div>
<div id="guide_tab_footstep" style="display: none;"></div>
</div>
<span class="icon" onclick="showWiki();setFlicker();"></span>
<div class="settings_title yfont white">Guides</div>
<div id="wiki-body" class="info_block"></div>
</div>
<div id="maps_box" style="left: -1000px;">
<div id="maps_tab" onclick="showMaps()">
<div class="tab_rotate">Maps</div>
</div>
<span class="icon" onclick="showMaps()"></span>
<div class="maps_title yfont white">Maps</div>
<div class="maps_image" onmouseenter="zoomMap(this)" onmouseleave="unZoomMap(this)" onmousemove="moveZoom(this,event)">
<div class="map_image"></div>
<div class="hover_zoom">+ Hover to zoom</div>
</div>
<div class="maps_credit">Map images belong to <a href="https://www.reddit.com/user/Fantismal" target="_blank">Fantismal</a> (<a href="https://imgur.com/a/iEI0tJo" target="_blank">Images</a>)</div>
<div id="maps_list" class="maps_buttons"></div>
</div>
<div id="news_box" style="right:-366px;">
<div id="news_tab" onclick="showNews();">
<img src="imgs/news-icon.png" width="24px" id="feed_icon_img"/>
</div>
<span class="icon" onclick="showNews()"></span>
<div class="settings_title yfont white">News Feed</div>
<div class="info_block" id="feed_info_block">
</div>
<a href='https://ko-fi.com/H2H7OPG9V' target='_blank' style="margin-left: calc(50% - 70px);">
<img height='36' style='border:0px;height:36px;margin-bottom: 20px; background-color: #ccc; border-radius: 10px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' />
</a>
</div>
<div id="lang_blockout" class="blockout" style="display: none;" onclick="showLanguage()"></div>
<div id="language_box" style="right:-176px;">
<div id="language_tab" onclick="showLanguage();">
<img src="imgs/langauge.png" width="24px" id="feed_icon_img"/>
</div>
<span class="icon" onclick="showLanguage()"></span>
<div class="settings_title yfont white">
<select name="language" id="language" class="language" onchange="loadLanguage();">
</select>
</div>
</div>
<div id="theme_blockout" class="blockout" style="display: none;" onclick="showTheme()"></div>
<div id="theme_box" style="right:-176px;">
<div id="theme_tab" onclick="showTheme();">
<img src="imgs/theme.png" width="24px" id="feed_icon_img"/>
</div>
<span class="icon" onclick="showTheme()"></span>
<div class="settings_title yfont white">
<select name="theme" id="theme" class="theme" onchange="changeTheme();saveSettings();">
</select>
</div>
</div>
<a href="https://discord.gg/afpvC7Bf7Y" target="_blank" >
<div id="discord_tab">
<img src="https://assets-global.website-files.com/6257adef93867e50d84d30e2/636e0a6cc3c481a15a141738_icon_clyde_white_RGB.png" width="21">
</div>
</a>
<div class="data">
<div class="menu">
<div class="tools-filter-buttons">
<button id="show_filter_button" class="filter_tool_button filter_tool_button_live">Filters</button>
<button id="show_tool_button" class="filter_tool_button filter_tool_button_back" onclick="toggleFilterTools()">Tools</button>
</div>
<div id="tools-content" class="tools-content" style="display: none;">
<div class="timer_title yfont white">
Timers
</div>
<div class="timers">
<div class="timer_block">
<div class="modifier_smudge_timer yfont white" onclick="toggle_timer()">Smudge Timer</div>
<div class="line_labels" onclick="toggle_timer();send_timer();">
<div class="spirit_line_label">Spirit</div>
<div class="demon_line_label">Demon</div>
</div>
<div id="progress" onclick="toggle_timer();send_timer();">
<img src="imgs/play.png" id="play_button" class="play_button">
<div id="progressBar">
<div id="progressBarInner" class="bar"></div>
<div class="demon_line"></div>
<div class="ghost_line"></div>
<div class="spirit_line"></div>
</div>
</div>
<div id="time_left" onclick="toggle_timer();send_timer();">
<span id="minute">03</span>:<span id="second">00</span>
</div>
<div class="modifier_note_2" onclick="toggle_timer();send_timer();">(Press 'T' to start/stop)</div>
</div>
<hr>
<div class="timer_block">
<div class="modifier_smudge_timer yfont white" onclick="toggle_cooldown_timer()">Cooldown Timer</div>
<div class="line_labels" onclick="toggle_cooldown_timer();send_cooldown_timer();">
<div class="cooldown_demon_line_label">Demon</div>
</div>
<div id="cooldownProgress" onclick="toggle_cooldown_timer();send_cooldown_timer();">
<img src="imgs/play.png" id="play_cooldown_button" class="play_button">
<div id="cooldownProgressBar">
<div id="cooldownProgressBarInner" class="bar"></div>
<div class="ghost_line"></div>
<div class="demon_line"></div>
</div>
</div>
<div id="time_left_cooldown" onclick="toggle_cooldown_timer();send_cooldown_timer();">
<span id="minute_cooldown">00</span>:<span id="second_cooldown">25</span>
</div>
<div class="modifier_note_2" onclick="toggle_cooldown_timer();send_cooldown_timer();">(Press 'H' to start/stop)</div>
</div>
</div>
<div class="modifier_title yfont white">
Tools
</div>
<div class="modifier">
<div class="modifier_ghost_speed yfont white">Ghost Speed</div>
<input type="range" id="ghost_modifier_speed" name="volume"
min="0" max="4" step="1" default="2" onchange="setTempo();bpm_calc(true);saveSettings();send_state();">
<div class="modifier_ghost_speed_labels">
<div class="modifier_ghost_speed_label">50%</div>
<div class="modifier_ghost_speed_label">75%</div>
<div class="modifier_ghost_speed_label">100%</div>
<div class="modifier_ghost_speed_label">125%</div>
<div class="modifier_ghost_speed_label">150%</div>
</div>
<div class="modifier_sound_select">
<img src="imgs/footsteps.png">
<select id="modifier_sound_type" onchange="setSoundType();saveSettings();">
<option value=0 selected>Default</option>
<option value=1>Asphalt / Concrete</option>
<option value=2>Carpet</option>
<option value=3>Gravel / Grass</option>
<option value=4>Wood</option>
<option value=5>Metronome</option>
</select>
</div>
<div class="modifier_note">(Click <span class="sound" onclick="toggleSound(1.7,'spirit0')">🔊</span> on cards to hear speed)</div>
<hr>
<div class="modifier_bpm_finder yfont white">BPM Finder</div>
<button id="tap" class="yfont" onclick="bpm_tap()">
<div id="input_bpm">0<br>bpm</div>
<div>Tap<div class="tap_note">(or press 'F')</div></div>
<div id="input_speed">0<br>m/s</div>
</button>
<canvas id="bpm_hist" height="85" width="150"></canvas>
<div id="tap_viz"></div>
<div class="legend">
<div class="legend_box" style="box-shadow: 0px 0px 4px 1px #dbd994"></div>
<div class="modifier_note_2">Matches Base Speed</div>
</div>
<div class="legend">
<div class="legend_box" style="box-shadow: -3px 0px 2px -1px #dbd994;"></div>
<div class="modifier_note_2">Possible LOS Speed</div>
</div>
<div class="modifier_note_2">(Press 'R' to reset)</div>
<div class="modifier_note_3">See "Guides >> Hunts >> Speed & Line-of-sight (LOS)" for info on how to read the graph</div>
</div>
</div>
<div id="filter-content" class="filter-content">
<div class="evidence_title yfont white">
Evidence <select name="num_evidence" id="num_evidence" class="num_evidence" onchange="filter();flashMode();saveSettings();">
<option value="3">3</option>
<option value="2">2</option>
<option value="1">1</option>
<option value="0">0</option>
</select>
</div>
<div id="game_mode" class="yfont white" style="display:none;">Insanity</div>
<div id="evidence" class="evidence">
<div class="dot-flashing"></div>
</div>
<div class="speed_title yfont white">
Speed
</div>
<div class="speed">
<button id="Slow" class="tricheck white" name="speed" onclick="dualstate(this)" value="Slow">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label">Slow</div>
</button>
<button id="Normal" class="tricheck white" name="speed" onclick="dualstate(this)" value="Normal">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label">Normal</div>
</button>
<button id="Fast" class="tricheck white" name="speed" onclick="dualstate(this)" value="Fast">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label">Fast</div>
</button>
<hr>
<button id="LOS" class="tricheck white" name="los" onclick="tristate(this)" value="LOS">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label label-font-s">Std. LOS Speed Up</div>
</button>
</div>
<div class="hunt_sanity_title yfont white">
Hunt Sanity
</div>
<div class="hunt_sanity">
<button id="Late" class="tricheck white" name="hunt-sanity" onclick="dualstate(this,false,true)" value="Late">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label">Late <span class="hunt_sanity_num">(<40%)</span></div>
</button>
<button id="Average" class="tricheck white" name="hunt-sanity" onclick="dualstate(this,false,true)" value="Average">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label">Normal <span class="hunt_sanity_num">(>40%)</span></div>
</button>
<button id="Early" class="tricheck white" name="hunt-sanity" onclick="dualstate(this,false,true)" value="Early">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label">Early <span class="hunt_sanity_num">(>50%)</span></div>
</button>
<button id="VeryEarly" class="tricheck white" name="hunt-sanity" onclick="dualstate(this,false,true)" value="VeryEarly">
<div id="checkbox" class="neutral"><span class="icon"></span></div>
<div class="label">Very Early <span class="hunt_sanity_num">(>75%)</span></div>
</button>
</div>
</div>
<div id="active-users"><span id="current-version-label"></span> | <span id="active-users-label">Active Users: -</span></div>
<div class="copyright" onclick="showInfo()"><img class="question" src="imgs/question.png"> Info / Copyright</div>
<button id="reset" class="yfont standard_reset" onclick="reset()" onmouseenter="checkResetButton()" onmouseleave="resetResetButton()">Reset</button>
</div>
<div id="cards" class="cards"><div class="dot-flashing"></div></div>
</div>
<div id="domovoi" style="display: none;">
<div id="domovoi-text" style="display: none;">Hello! I am Domo!</div>
<img id="domovoi-img" src="imgs/domovoi.png" onmouseenter="domovoi_show_last()" onmouseleave="domovoi_hide_last()" ondblclick="domovoi_print_logs()">
</div>
<div id="eye" onclick="revive()"><img src="imgs/eye.png"></div>
<script>
mquery = window.matchMedia("screen and (pointer: coarse) and (max-device-width: 600px)")
if(mquery.matches){
document.getElementById("settings_box").style.left = "calc(-60% - 40px)";
document.getElementById("discord_link_box").style.left = "calc(-60% - 40px)";
document.getElementById("event_box").style.left = "calc(-60% - 40px)";
document.getElementById("wiki_box").style.left = "calc(-60% - 40px)";
document.getElementById("maps_box").style.left = "calc(-60% - 40px)";
}
else{
document.getElementById("settings_box").style.left = "-32px";
document.getElementById("discord_link_box").style.left = "-32px";
document.getElementById("event_box").style.left = "-182px";
document.getElementById("wiki_box").style.left = "-182px";
document.getElementById("maps_box").style.left = "-388px";
}
</script>
<script src="themes-v4/themes-v2.js"></script>
<script src="scripts-v4/audio_controller-v1.js"></script>
<script src="scripts-v4/metronome-v2.js"></script>
<script src="scripts-v4/timer-v1.js"></script>
<script src="discord-v4/discord-v1.js"></script>
<script src="wiki-v4/wiki-v1.js"></script>
<script src="scripts-v4/filter-v2.js"></script>
<script src="scripts-v4/wslink-v1.js"></script>
<script src="scripts-v4/zn-v1.js"></script>
<script src="events-v4/events-v1.js"></script>
<script src="feed-v4/feed-v1.js"></script>
<script src="scripts-v4/voice_en-v1.js"></script>
<script src="scripts-v4/voice_recognition-v1.js"></script>
<script src="scripts-v4/sparkles-v1.js"></script>
<script>
document.getElementById('reset').oncontextmenu = showResetMenu;
document.onclick = hideResetMenu;
$(window).on('load', function() {
let load_wiki = new Promise((resolve, reject) => {
$("#wiki-body").load("wiki-v4/wiki-v1.html")
resolve("Ghost data loaded")
})
Promise.all([load_wiki,checkLink()])
.then(x => {
loadAllAndConnect()
if(getCookie("voice_recognition_on")){
start_voice()
}
setInterval(function(){
if(!document.hidden){
try{heartbeat()} catch(Error){console.error("Heartbeat failed!")}
}
}, 300000)
})
});
</script>
</body>