19 lines
684 B
HTML

{include "layout.html"}
{block "content"}
<div class="town inn">
<div class="title"><h3>{town.Name} Inn</h3></div>
{if user.Gold < town.InnCost}
<p>You do not have enough gold to stay at this Inn tonight.</p>
<p>You may return to <a href="/town">town</a>, or use the compass on the left to explore.</p>
{else}
Resting at the inn will refill your current HP, MP, and TP to their maximum levels.<br><br>
A night's sleep at this Inn will cost you <b>{town.InnCost} gold</b>. Is that ok?<br><br>
<form action="/town/inn" method="post">
<button class="btn" type="submit">Yes</button>
<a href="/town"><button class="btn">No</button></a>
</form>
{/if}
</div>
{/block}