mirror of
https://github.com/thepaperpilot/The-Modding-Tree.git
synced 2025-02-07 10:31:37 +00:00
Added hit counts
This commit is contained in:
parent
9c84543099
commit
1ebb6bc184
2 changed files with 6 additions and 2 deletions
|
@ -47,6 +47,7 @@
|
|||
|
||||
<body onload="load()">
|
||||
<div id="app">
|
||||
<img :src="'http://thepaperpilot.tech/count/tag.svg?url=' + encodeURIComponent(window.location.href)" alt="Hits" style="display: none"/>
|
||||
<canvas id="treeCanvas" class="canvas" v-if ="!(gameEnded && !player.keepGoing)"></canvas>
|
||||
|
||||
<div class="nav">
|
||||
|
|
|
@ -145,6 +145,8 @@ const systemComponents = {
|
|||
Original idea by papyrus (on discord)
|
||||
<br>
|
||||
Hourglass used with modifications from <a v-bind:href="'https://codepen.io/jkantner/pen/wvWXyKG'" target="_blank" class="link" v-bind:style = "{'font-size': '14px', 'display': 'inline'}" >jkantner</a> under MIT license
|
||||
<br><br>
|
||||
<img :src="'http://thepaperpilot.tech/nocount/tag.svg?url=' + encodeURIComponent(window.location.href)" alt="Hits" />
|
||||
<br><br>
|
||||
<div class="link" onclick="showTab('changelog-tab')">Changelog</div><br>
|
||||
<span v-if="modInfo.discordLink"><a class="link" v-bind:href="modInfo.discordLink" target="_blank">{{modInfo.discordName}}</a><br></span>
|
||||
|
@ -157,8 +159,9 @@ const systemComponents = {
|
|||
<span v-if="player.chapterTime[3] > 0">Chapter 3 Time: {{ formatTime(player.chapterTime[3]) }}</span><br>
|
||||
<span v-if="player.chapterTime[4] > 0">Chapter 4 Time: {{ formatTime(player.chapterTime[4]) }}</span><br>
|
||||
<span v-if="player.chapterTime[5] > 0">Chapter 5 Time: {{ formatTime(player.chapterTime[5]) }}</span><br><br>
|
||||
<h3>Hotkeys</h3><br>
|
||||
<span v-for="key in hotkeys" v-if="player[key.layer].unlocked && tmp[key.layer].hotkeys[key.id].unlocked"><br>{{key.description}}</span></div>
|
||||
<h3 v-if="Object.keys(hotkeys) > 0">Hotkeys</h3><br>
|
||||
<span v-for="key in hotkeys" v-if="player[key.layer].unlocked && tmp[key.layer].hotkeys[key.id].unlocked"><br>{{key.description}}</span>
|
||||
</div>
|
||||
`
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue