mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 13:09:41 +00:00
WIP(death): More display tweaks
This commit is contained in:
parent
c286d08bc8
commit
0039a17366
2 changed files with 6 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"lostAllHealth": "You lost all your Health!",
|
||||
"deathPenaltyDetails": "Don't despair! You lost a Level, all your Gold, and your <%= gearName %>, but you can get them all back with hard work! Good luck--you'll do great.",
|
||||
"dontDespair": "Don't despair!",
|
||||
"deathPenaltyDetails": "You lost a Level, your Gold, and a piece of Equipment, but you can get them all back with hard work! Good luck--you'll do great.",
|
||||
"refillHealthTryAgain": "Refill Health & Try Again",
|
||||
"dyingOftenTips": "Dying often? <a href='http://habitrpg.wikia.com/wiki/Death_Mechanics#Strategies_for_Staying_Alive' target='_blank'>Here are some tips!</a>"
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@ include ../avatar/generated_avatar
|
|||
|
||||
script(type='text/ng-template', id='modals/death.html')
|
||||
.modal-header
|
||||
h4=env.t('lostAllHealth')
|
||||
h3.text-center=env.t('lostAllHealth')
|
||||
.modal-body
|
||||
.container-fluid(ng-controller='UserCtrl')
|
||||
.col-md-6
|
||||
|
|
@ -33,7 +33,8 @@ script(type='text/ng-template', id='modals/death.html')
|
|||
+costumeSetting('weapon')
|
||||
span(class='zzz')
|
||||
.col-md-6
|
||||
p(style='margin-top:4.5em')=env.t('deathPenaltyDetails', {gearName: '{{::lostItem.text()}}'})
|
||||
h4=env.t('dontDespair')
|
||||
p(style='margin-top:3em')=env.t('deathPenaltyDetails')
|
||||
.modal-footer
|
||||
a.btn.btn-danger.btn-lg.flex-column(ng-click='user.ops.revive({}); $close()')=env.t('refillHealthTryAgain')
|
||||
h4!=env.t('dyingOftenTips')
|
||||
h4.text-center!=env.t('dyingOftenTips')
|
||||
Loading…
Reference in a new issue