mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 05:23:01 +00:00
44 lines
1.0 KiB
Cheetah
44 lines
1.0 KiB
Cheetah
{{if data.gameover}}
|
|
<center><h2>Game Over!</h2>
|
|
<h3>{{:data.information}}</h3>
|
|
{{:helper.link('New Game', null, { "new_game" : 1 })}}</center>
|
|
{{else}}
|
|
{{if data.information}}
|
|
<center><i>{{:data.information}}</i></center>
|
|
{{/if}}
|
|
<center><h3>Player</h3></center>
|
|
<div class='item'>
|
|
<div class='itemLabel'>
|
|
Health:
|
|
</div>
|
|
<div class='itemContent'>
|
|
{{:data.player_health}}
|
|
</div>
|
|
<div class='itemLabel'>
|
|
Mana:
|
|
</div>
|
|
<div class='itemContent'>
|
|
{{:data.player_mana}}
|
|
</div>
|
|
</div>
|
|
<center><h3>Enemy: {{:data.enemy_name}}</h3></center>
|
|
<div class='item'>
|
|
<div class='itemLabel'>
|
|
Health:
|
|
</div>
|
|
<div class='itemContent'>
|
|
{{:data.enemy_health}}
|
|
</div>
|
|
<div class='itemLabel'>
|
|
Mana:
|
|
</div>
|
|
<div class='itemContent'>
|
|
{{:data.enemy_mana}}
|
|
</div>
|
|
</div>
|
|
<center><h3>Actions</h3></center>
|
|
{{:helper.link('Attack', null, { "attack" : 1 })}}
|
|
{{:helper.link('Heal', null, { "heal" : 1 })}}
|
|
{{:helper.link('Regain Mana', null, { "regain_mana" : 1 })}}
|
|
{{:helper.link('New Game', null, { "new_game" : 1 })}}
|
|
{{/if}} |