webdog/site/templates/extras/click.hbs
2024-10-24 13:10:33 -07:00

30 lines
1.2 KiB
Handlebars

<div id="click">
<p>WARNING: no save mechanic is implemented yet!!</p>
<h1>click</h1>
<noscript>
<h1>javascript is required for the clicker game!!</h1>
</noscript>
<div class="resources">
{{#*inline "resource"}}
<span class="resource">{{name}}</span><span id={{id}}>0</span> <span>(<span
id="{{id}}-per-second">0</span>/s)</span>
{{/inline}}
{{> resource id="pets" name="pets"}}
{{> resource id="barks" name="barks"}}
{{> resource id="kisses" name="kisses"}}
</div>
<button id="barker">bark</button>
<div class="tools">
{{#*inline "tool"}}
<div class="tool" data-tool={{id}}>
<p class="name">{{name}} (<span class="count">0</span>, lvl <span class="level">1</span>)</p>
<p class="description">{{description}}</p>
<button class="buy">buy</button> <button class="upgrade">upgrade</button>
</div>
{{/inline}}
{{> tool id="hand" name="hand" description="don't bite the hand that pets you"}}
{{> tool id="puppy" name="puppy" description="arf arf wruff :3"}}
{{> tool id="foodBowl" name="food bowl" description="more food for more barking"}}
{{> tool id="kisser" name="kisser wow" description="someone to kiss all those poor puppies,,"}}
</div>
</div>