mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Handlebar setup for chat levelup summary.
This commit is contained in:
parent
fcb9c032ef
commit
55dfef8932
2 changed files with 126 additions and 1 deletions
12
lang/en.json
12
lang/en.json
|
|
@ -506,25 +506,35 @@
|
|||
},
|
||||
"summary": {
|
||||
"levelAchievements": "Level Achievements",
|
||||
"levelAchievementsChat":"Achievements",
|
||||
"levelAdvancements": "Level Advancements",
|
||||
"levelAdvancementsChat":"Advancememts",
|
||||
"proficiencyIncrease": "Proficiency Increased: {proficiency}",
|
||||
"proficiencyIncreaseChat": "Proficiency Increased",
|
||||
"hpIncrease": "Hit Points Increased: {hitPoints}",
|
||||
"hpIncreaseChat": "Hit Points Increased",
|
||||
"stressIncrease": "Stress Increased: {stress}",
|
||||
"stressIncreaseChat": "Stress Increased",
|
||||
"evasionIncrease": "Evasion Increased: {evasion}",
|
||||
"evasionIncreaseChat": "Evasion Increased",
|
||||
"damageThresholdMajorIncrease": "Major: {threshold}",
|
||||
"damageThresholdSevereIncrease": "Severe: {threshold}",
|
||||
"newExperiences": "New Experiences",
|
||||
"experiencePlaceholder": "A new experience..",
|
||||
"domainCards": "Domain Cards",
|
||||
"domainCardsChat": "New Domain Cards",
|
||||
"subclass": "Subclass",
|
||||
"subclassChat": "Subclass Advanced",
|
||||
"multiclass": "Multiclass",
|
||||
"traits": "Increased Traits",
|
||||
"experienceIncreases": "Experience Increases",
|
||||
"damageThresholds": "Damage Thresholds",
|
||||
"damageThresholdsChat": "Thresholds Increased",
|
||||
"vicious": "Vicious",
|
||||
"damageIncreased": "Damage Increased: {damage}",
|
||||
"rangeIncreased": "Range Increased: {range}",
|
||||
"simpleFeature": "Feature: {feature}"
|
||||
"simpleFeature": "Feature: {feature}",
|
||||
"simpleFeatureChat": "Feature Added"
|
||||
},
|
||||
"takeLevelUp": "Finish Level Up",
|
||||
"tier2": {
|
||||
|
|
|
|||
115
templates/ui/chat/levelupSummary.hbs
Normal file
115
templates/ui/chat/levelupSummary.hbs
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
<div class="daggerheart chat levelupSummary">
|
||||
{{!--Achievements--}}
|
||||
{{#if this.achievements}}
|
||||
<div class="achievements">
|
||||
<div class="header">
|
||||
<span>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.levelAchievementsChat"}}</span>
|
||||
</div>
|
||||
<ul class="achievements-container">
|
||||
{{!--Achievements Profieciency--}}
|
||||
{{#if this.achievements.proficiency.shown}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncreaseChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Achievements Damage Thresholds--}}
|
||||
{{#if this.achievements.damageThresholds}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdsChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Achievements Domain Cards--}}
|
||||
{{#if this.achievements.domainCards.shown}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCardsChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Achievements Experiences--}}
|
||||
{{#if this.achievements.experiences.shown}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{!--Advancements--}}
|
||||
<div class="advancements">
|
||||
<div class="header">
|
||||
<span>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.levelAdvancementsChat"}}</span>
|
||||
</div>
|
||||
<ul class="advancements-container">
|
||||
{{!--Advancements Statistics--}}
|
||||
{{#if this.advancements.statistics.shown}}
|
||||
{{!--Advancements Statistics Proficiency--}}
|
||||
{{#if this.advancements.statistics.proficiency.shown}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncreaseChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Statistics Hitpoints--}}
|
||||
{{#if this.advancements.statistics.hitPoints.shown}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.hpIncreaseChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Statistics Stress--}}
|
||||
{{#if this.advancements.statistics.stress.shown}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.stressIncreaseChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Statistics Evasion--}}
|
||||
{{#if this.advancements.statistics.evasion.shown}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.evasionIncreaseChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{!--Advancements Traits--}}
|
||||
{{#if this.advancements.traits}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.traits"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Domain Cards--}}
|
||||
{{#if this.advancements.domainCards}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCardsChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Experiences--}}
|
||||
{{#if this.advancements.experiences}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Subclass--}}
|
||||
{{#if this.advancements.subclass}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclassChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Multiclass (Added or Advanced tag to be figured out later)--}}
|
||||
{{#if this.advancements.multiclass}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{!--Advancements Vicious--}}
|
||||
{{#if this.advancements.vicious.damage}}
|
||||
{{#if this.advancements.vicious.range}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.vicious"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{!--Advancements Features--}}
|
||||
{{#if this.advancements.simple}}
|
||||
<span><li class="item-list">
|
||||
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.simpleFeatureChat"}}
|
||||
</li></span>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue