Merge branch 'dev' into dev_gennpc
# Conflicts: # system/styles/l5r5e.css # system/templates/actors/character/identity.html
This commit is contained in:
@@ -1,25 +1,47 @@
|
||||
<form class="{{cssClass}}" data-lang="{{localize 'I18N.Language'}}" autocomplete="off">
|
||||
{{!-- L5R Button bar --}}
|
||||
<div class="l5r-buttons-bar">
|
||||
{{#each l5rHeaderButtons}}
|
||||
<a class="l5r-header-button {{this.class}}"><i class="{{this.icon}}"></i>{{localize this.label}}</a>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img dragndrop-actor-id pointer" src="{{data.img}}" data-edit="img" data-actor-id="{{actor.id}}" draggable="true" title="{{data.name}}"/>
|
||||
<img class="profile-img dragndrop-actor-id pointer" src="{{data.img}}" {{#if data.editable_not_soft_locked}}data-edit="img"{{/if}} data-actor-id="{{actor.id}}" draggable="true" title="{{data.name}}"/>
|
||||
<div class="header-fields identity-wrapper">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name"/></h1>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name" {{^if data.editable_not_soft_locked}}disabled{{/if}}/></h1>
|
||||
<div class="readiness">
|
||||
<ul>
|
||||
<li>
|
||||
<input name="data.battle_readiness.casualties_strength.value" type="number" value="{{data.data.battle_readiness.casualties_strength.value}}" />
|
||||
<label class="attribute-label-casualties">
|
||||
<input name="data.battle_readiness.casualties_strength.value" type="number" value="{{data.data.battle_readiness.casualties_strength.value}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="attributes-buttons">
|
||||
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="casualties" data-value="1"></i>
|
||||
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="casualties" data-value="-1"></i>
|
||||
</span>
|
||||
</label>
|
||||
<strong>{{localize 'l5r5e.army.battle_readiness.casualties'}}</strong>
|
||||
</li>
|
||||
<li>
|
||||
<input name="data.battle_readiness.casualties_strength.max" type="number" value="{{data.data.battle_readiness.casualties_strength.max}}" />
|
||||
<label class="attribute-label-strength">
|
||||
<input name="data.battle_readiness.casualties_strength.max" type="number" value="{{data.data.battle_readiness.casualties_strength.max}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<strong>{{localize 'l5r5e.army.battle_readiness.strength'}}</strong>
|
||||
</li>
|
||||
<li>
|
||||
<input name="data.battle_readiness.panic_discipline.value" type="number" value="{{data.data.battle_readiness.panic_discipline.value}}" />
|
||||
<label class="attribute-label-panic">
|
||||
<input name="data.battle_readiness.panic_discipline.value" type="number" value="{{data.data.battle_readiness.panic_discipline.value}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="attributes-buttons">
|
||||
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="panic" data-value="1"></i>
|
||||
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="panic" data-value="-1"></i>
|
||||
</span>
|
||||
</label>
|
||||
<strong>{{localize 'l5r5e.army.battle_readiness.panic'}}</strong>
|
||||
</li>
|
||||
<li>
|
||||
<input name="data.battle_readiness.panic_discipline.max" type="number" value="{{data.data.battle_readiness.panic_discipline.max}}" />
|
||||
<label class="attribute-label-discipline">
|
||||
<input name="data.battle_readiness.panic_discipline.max" type="number" value="{{data.data.battle_readiness.panic_discipline.max}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<strong>{{localize 'l5r5e.army.battle_readiness.discipline'}}</strong>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -1,52 +1,62 @@
|
||||
<div class="header-fields warlord">
|
||||
<fieldset>
|
||||
<legend>{{^if data.data.warlord_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.warlord'}}</legend>
|
||||
<p>
|
||||
<legend>{{#if data.editable_not_soft_locked}}{{^if data.data.warlord_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{/if}}{{localize 'l5r5e.army.warlord'}}</legend>
|
||||
<p class="warlord-name">
|
||||
{{#if data.data.warlord_actor_id}}
|
||||
<span data-actor-id="{{actor.id}}" data-type="warlord" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||
<a data-actor-id="{{data.data.warlord_actor_id}}" class="open-sheet-actor-id">{{data.data.warlord}}</a>
|
||||
<label>
|
||||
<a data-actor-id="{{data.data.warlord_actor_id}}" class="open-sheet-actor-id">{{data.data.warlord}}</a>
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<span data-actor-id="{{actor.id}}" data-type="warlord" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||
{{/if}}
|
||||
</label>
|
||||
{{else}}
|
||||
<input name="data.warlord" type="text" value="{{data.data.warlord}}" />
|
||||
<input name="data.warlord" type="text" value="{{data.data.warlord}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
{{/if}}
|
||||
</p>
|
||||
<p>
|
||||
<strong>{{localize 'l5r5e.army.allies_backers'}}</strong>
|
||||
<textarea type="text" name="data.allies_backers">{{data.data.allies_backers}}</textarea>
|
||||
<textarea type="text" name="data.allies_backers" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.allies_backers}}</textarea>
|
||||
</p>
|
||||
<p>
|
||||
<strong>{{localize 'l5r5e.army.purpose_mustering'}}</strong>
|
||||
<textarea type="text" name="data.purpose_mustering">{{data.data.purpose_mustering}}</textarea>
|
||||
<textarea type="text" name="data.purpose_mustering" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.purpose_mustering}}</textarea>
|
||||
</p>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="header-fields commander">
|
||||
<fieldset>
|
||||
<legend>{{^if data.data.commander_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.commander'}}</legend>
|
||||
{{#if data.data.commander_actor_id}}
|
||||
<span data-actor-id="{{actor.id}}" data-type="commander" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||
<a data-actor-id="{{data.data.commander_actor_id}}" class="open-sheet-actor-id">{{data.data.commander}}</a>
|
||||
{{else}}
|
||||
<input name="data.commander" type="text" value="{{data.data.commander}}" />
|
||||
{{/if}}
|
||||
<legend>{{#if data.editable_not_soft_locked}}{{^if data.data.commander_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{/if}}{{localize 'l5r5e.army.commander'}}</legend>
|
||||
<div class="warlord-name">
|
||||
{{#if data.data.commander_actor_id}}
|
||||
<label>
|
||||
<a data-actor-id="{{data.data.commander_actor_id}}" class="open-sheet-actor-id">{{data.data.commander}}</a>
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<span data-actor-id="{{actor.id}}" data-type="commander" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||
{{/if}}
|
||||
</label>
|
||||
{{else}}
|
||||
<input name="data.commander" type="text" value="{{data.data.commander}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="standing">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.social.honor'}}</strong>
|
||||
<input name="data.commander_standing.honor" type="number" value="{{data.data.commander_standing.honor}}" />
|
||||
<input name="data.commander_standing.honor" type="number" value="{{data.data.commander_standing.honor}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.social.glory'}}</strong>
|
||||
<input name="data.commander_standing.glory" type="number" value="{{data.data.commander_standing.glory}}" />
|
||||
<input name="data.commander_standing.glory" type="number" value="{{data.data.commander_standing.glory}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.social.status'}}</strong>
|
||||
<input name="data.commander_standing.status" type="number" value="{{data.data.commander_standing.status}}" />
|
||||
<input name="data.commander_standing.status" type="number" value="{{data.data.commander_standing.status}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<label>
|
||||
<strong>{{localize 'l5r5e.army.commander_abilities'}}</strong>
|
||||
<textarea type="text" name="data.commander_abilities">{{data.data.commander_abilities}}</textarea>
|
||||
<textarea type="text" name="data.commander_abilities" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.commander_abilities}}</textarea>
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset class="army-abilities">
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<fieldset class="cohort-content">
|
||||
<legend class="section-header">
|
||||
{{localize 'l5r5e.army.cohort.title'}}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="army_cohort" class="army-cohort-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each data.splitItemsList.army_cohort as |item|}}
|
||||
{{> 'systems/l5r5e/templates/items/army-cohort/army-cohort-entry.html' cohort=item editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/army-cohort/army-cohort-entry.html' cohort=item editable=../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -1,13 +1,13 @@
|
||||
<fieldset class="fortification-content">
|
||||
<legend class="section-header">
|
||||
{{localize 'l5r5e.army.fortification.title'}}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="army_fortification" class="army-fortification-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each data.splitItemsList.army_fortification as |item|}}
|
||||
{{> 'systems/l5r5e/templates/items/army-fortification/army-fortification-entry.html' fortification=item editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/army-fortification/army-fortification-entry.html' fortification=item editable=../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -1,9 +1,15 @@
|
||||
<form class="{{cssClass}}" data-lang="{{localize 'I18N.Language'}}" autocomplete="off">
|
||||
{{!-- L5R Button bar --}}
|
||||
<div class="l5r-buttons-bar">
|
||||
{{#each l5rHeaderButtons}}
|
||||
<a class="l5r-header-button {{this.class}}"><i class="{{this.icon}}"></i>{{localize this.label}}</a>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img dragndrop-actor-id pointer" src="{{data.img}}" data-edit="img" data-actor-id="{{actor.id}}" draggable="true" title="{{data.name}}"/>
|
||||
<img class="profile-img dragndrop-actor-id pointer" src="{{data.img}}" {{#if data.editable_not_soft_locked}}data-edit="img"{{/if}} data-actor-id="{{actor.id}}" draggable="true" title="{{data.name}}"/>
|
||||
<div class="header-fields identity-wrapper">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name"/></h1>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name" {{^if data.editable_not_soft_locked}}disabled{{/if}}/></h1>
|
||||
{{> 'systems/l5r5e/templates/actors/character/identity.html'}}
|
||||
</div>
|
||||
<div class="header-fields">
|
||||
@@ -29,7 +35,7 @@
|
||||
<article class="tab skills" data-group="primary" data-tab="skills">
|
||||
<ul class="skills-wrapper">
|
||||
{{#each data.data.skills as |category id|}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/category.html' category=category categoryId=id}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/category.html' category=category categoryId=id data=../data}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{> 'systems/l5r5e/templates/actors/character/techniques.html'}}
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.fatigue'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.fatigue.value" value="{{data.data.fatigue.value}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.fatigue.value" value="{{data.data.fatigue.value}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="attributes-buttons">
|
||||
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="fatigue" data-value="1"></i>
|
||||
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="fatigue" data-value="-1"></i>
|
||||
</span>
|
||||
</label>
|
||||
<p class="item-description"> {{localize 'l5r5e.attributes.endurancetip'}}</p>
|
||||
</li>
|
||||
@@ -17,7 +21,11 @@
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.strife'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.strife.value" value="{{data.data.strife.value}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.strife.value" value="{{data.data.strife.value}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="attributes-buttons">
|
||||
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="strife" data-value="1"></i>
|
||||
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="strife" data-value="-1"></i>
|
||||
</span>
|
||||
</label>
|
||||
<p class="item-description"> {{localize 'l5r5e.attributes.composuretip'}}</p>
|
||||
</li>
|
||||
@@ -42,7 +50,7 @@
|
||||
<li class="void-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.voidpoints'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.void_points.value" value="{{data.data.void_points.value}}" data-dtype="Number" placeholder="0" min="0" max="{{data.data.void_points.max}}"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.void_points.value" value="{{data.data.void_points.value}}" data-dtype="Number" placeholder="0" min="0" max="{{data.data.void_points.max}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<input class="centered-input" type="number" name="data.void_points.max" value="{{data.data.void_points.max}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<h4 class="section-header">{{localizeSkill categoryId 'title'}}</h4>
|
||||
<ul class="skill-category-skills-list">
|
||||
{{#each category as |skill id|}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/skill.html' categoryId=../categoryId skill=skill skillId=id}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/skill.html' categoryId=../categoryId skill=skill skillId=id data=../data}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
<ul class="skill-category-ring-actions">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<legend>{{localize 'l5r5e.experience'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.advancements.total'}}
|
||||
<input class="centered-input select-on-focus" type="number" name="data.xp_total" value="{{data.data.xp_total}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.xp_total" value="{{data.data.xp_total}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
@@ -21,7 +21,9 @@
|
||||
{{else}}
|
||||
<i class="fas fa-question-circle" title="{{localize 'l5r5e.advancements.school_curriculum_journal'}}"></i> {{localize 'l5r5e.school'}}
|
||||
{{/if}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="advancement" class="advancement-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<nav class="advancements-tabs tabs" data-group="advancements">
|
||||
<a class="item advancements-tab" data-tab="advancement_rank_0">{{localize 'l5r5e.advancements.school_rank_0'}}</a>
|
||||
@@ -38,7 +40,7 @@
|
||||
<th class="curriculum"><i class="fas fa-graduation-cap"></i></th>
|
||||
<th class="xp">{{localize 'l5r5e.advancements.spent'}}</th>
|
||||
<th class="rank">{{localize 'l5r5e.rank'}}</th>
|
||||
{{#if editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<th class="actions"></th>
|
||||
{{/if}}
|
||||
</tr>
|
||||
@@ -46,24 +48,26 @@
|
||||
<tbody class="flex">
|
||||
{{#each data.advancementsListByRank as |rankObject|}}
|
||||
{{#each rankObject.list as |advancement advancementId|}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/advancement-school.html' advancement=advancement rank=rankObject.rank editable=../../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/advancement-school.html' advancement=advancement rank=rankObject.rank editable=../../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
{{#ifCond rankObject.rank '>' 0}}
|
||||
<tr class="tfoot flexrow row tab" data-group="advancements" data-tab="advancement_rank_{{rankObject.rank}}">
|
||||
<th>{{localize 'l5r5e.advancements.total_xp_curriculum'}} : {{rankObject.spent.curriculum}}{{#if rankObject.goal}} / {{rankObject.goal}}{{/if}}</th>
|
||||
<th>{{localize 'l5r5e.advancements.total_xp_spent'}} : {{rankObject.spent.total}}</th>
|
||||
</tr>
|
||||
{{#ifCond ../data.data.identity.school_rank '<' 6}}
|
||||
{{#ifCond (ifCond ../data.data.identity.school_rank '==' rankObject.rank) '&&' (ifCond rankObject.spent.curriculum '>=' rankObject.goal)}}
|
||||
<tr class="tfoot flexrow row tab" data-group="advancements" data-tab="advancement_rank_{{rankObject.rank}}">
|
||||
<th>
|
||||
<button type="button" name="validate-curriculum">
|
||||
<i class='fas fa-check-square'></i> {{ localize 'l5r5e.advancements.curriculum_validate'}}
|
||||
</button>
|
||||
</th>
|
||||
</tr>
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
{{#ifCond ../data.data.identity.school_rank '<' 6}}
|
||||
{{#ifCond (ifCond ../data.data.identity.school_rank '==' rankObject.rank) '&&' (ifCond rankObject.spent.curriculum '>=' rankObject.goal)}}
|
||||
<tr class="tfoot flexrow row tab" data-group="advancements" data-tab="advancement_rank_{{rankObject.rank}}">
|
||||
<th>
|
||||
<button type="button" name="validate-curriculum">
|
||||
<i class='fas fa-check-square'></i> {{ localize 'l5r5e.advancements.curriculum_validate'}}
|
||||
</button>
|
||||
</th>
|
||||
</tr>
|
||||
{{/ifCond}}
|
||||
{{/ifCond}}
|
||||
{{/ifCond}}
|
||||
{{/if}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
@@ -71,21 +75,26 @@
|
||||
</fieldset>
|
||||
{{!-- Others progession (does not count in school xp) --}}
|
||||
<fieldset class="xp-spent xp-spent-body">
|
||||
<legend class="tools">{{localize 'l5r5e.advancements.title'}} <a class="advancement-others-control item-advancement-choose" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a></legend>
|
||||
<legend class="tools">
|
||||
{{localize 'l5r5e.advancements.title'}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a class="advancement-others-control item-advancement-choose" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<table>
|
||||
<thead class="flex">
|
||||
<tr class="flexrow row">
|
||||
<th class="name">{{localize 'l5r5e.name'}}</th>
|
||||
<th class="xp">{{localize 'l5r5e.advancements.spent'}}</th>
|
||||
<th class="rank">{{localize 'l5r5e.rank'}}</th>
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<th class="actions"></th>
|
||||
{{/if}}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="flex">
|
||||
{{#each data.advancementsOthers as |advancement advancementId|}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/advancement-others.html' advancement=advancement show_curriculum_toggle=false editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/actors/character/advancement-others.html' advancement=advancement show_curriculum_toggle=false editable=../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
<tfoot class="flex">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
{{else}}
|
||||
{{localize 'l5r5e.clan'}}
|
||||
{{/ifCond}}
|
||||
<input type="text" name="data.identity.clan" value="{{data.data.identity.clan}}"/>
|
||||
<input type="text" name="data.identity.clan" value="{{data.data.identity.clan}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -16,25 +16,25 @@
|
||||
{{else}}
|
||||
{{localize 'l5r5e.family'}}
|
||||
{{/ifCond}}
|
||||
<input type="text" name="data.identity.family" value="{{data.data.identity.family}}"/>
|
||||
<input type="text" name="data.identity.family" value="{{data.data.identity.family}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.rank'}}
|
||||
<input type="number" name="data.identity.school_rank" value="{{data.data.identity.school_rank}}" class="select-on-focus" data-dtype="Number" min="0" placeholder="1"/>
|
||||
<input type="number" name="data.identity.school_rank" value="{{data.data.identity.school_rank}}" class="select-on-focus" data-dtype="Number" min="0" placeholder="1" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.school'}}
|
||||
<input type="text" name="data.identity.school" value="{{data.data.identity.school}}"/>
|
||||
<input type="text" name="data.identity.school" value="{{data.data.identity.school}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.roles'}}
|
||||
<input type="text" name="data.identity.roles" value="{{data.data.identity.roles}}"/>
|
||||
<input type="text" name="data.identity.roles" value="{{data.data.identity.roles}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -2,7 +2,7 @@
|
||||
<legend class="section-header">{{localize 'l5r5e.money.title'}}</legend>
|
||||
<label>
|
||||
{{localize 'l5r5e.money.koku'}}
|
||||
<input name="data.money.koku" type="number" value="{{data.data.money.koku}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input name="data.money.koku" type="number" value="{{data.data.money.koku}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="money-buttons">
|
||||
<i class="money-control pointer-choice fa fa-plus-square" data-type="koku" data-value="1"></i>
|
||||
<i class="money-control pointer-choice fa fa-minus-square" data-type="koku" data-value="-1"></i>
|
||||
@@ -10,7 +10,7 @@
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.money.bu'}}
|
||||
<input name="data.money.bu" type="number" value="{{data.data.money.bu}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input name="data.money.bu" type="number" value="{{data.data.money.bu}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="money-buttons">
|
||||
<i class="money-control pointer-choice fa fa-plus-square" data-type="bu" data-value="1"></i>
|
||||
<i class="money-control pointer-choice fa fa-minus-square" data-type="bu" data-value="-1"></i>
|
||||
@@ -18,7 +18,7 @@
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.money.zeni'}}
|
||||
<input name="data.money.zeni" type="number" value="{{data.data.money.zeni}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input name="data.money.zeni" type="number" value="{{data.data.money.zeni}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="money-buttons">
|
||||
<i class="money-control pointer-choice fa fa-plus-square" data-type="zeni" data-value="1"></i>
|
||||
<i class="money-control pointer-choice fa fa-minus-square" data-type="zeni" data-value="-1"></i>
|
||||
@@ -34,14 +34,14 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.advancements.item_pattern'}}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="item_pattern" class="item-pattern-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |pattern id|}}
|
||||
{{#ifCond pattern.data.type '==' 'item_pattern'}}
|
||||
{{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<legend class="text-block-header">{{localize 'l5r5e.social.title'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.ninjo'}}
|
||||
<textarea type="text" name="data.social.ninjo">{{data.data.social.ninjo}}</textarea>
|
||||
<textarea type="text" name="data.social.ninjo" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.ninjo}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{#ifCond data.data.template '==' 'pow'}}
|
||||
@@ -12,7 +12,7 @@
|
||||
{{else}}
|
||||
{{localize 'l5r5e.social.giri'}}
|
||||
{{/ifCond}}
|
||||
<textarea type="text" name="data.social.giri">{{data.data.social.giri}}</textarea>
|
||||
<textarea type="text" name="data.social.giri" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.giri}}</textarea>
|
||||
</label>
|
||||
</fieldset>
|
||||
{{!-- Bushido Tenets --}}
|
||||
@@ -20,11 +20,11 @@
|
||||
<legend class="text-block-header">{{localize 'l5r5e.social.bushido_tenets.title'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.bushido_tenets.paramount'}}
|
||||
<textarea type="text" name="data.social.bushido_tenets.paramount">{{data.data.social.bushido_tenets.paramount}}</textarea>
|
||||
<textarea type="text" name="data.social.bushido_tenets.paramount" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.bushido_tenets.paramount}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.bushido_tenets.less_significant'}}
|
||||
<textarea type="text" name="data.social.bushido_tenets.less_significant">{{data.data.social.bushido_tenets.less_significant}}</textarea>
|
||||
<textarea type="text" name="data.social.bushido_tenets.less_significant" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.bushido_tenets.less_significant}}</textarea>
|
||||
</label>
|
||||
</fieldset>
|
||||
</div>
|
||||
@@ -33,14 +33,14 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.advantages'}}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond '["distinction","passion"]' 'includes' item.data.data.peculiarity_type}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
@@ -49,14 +49,14 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.disadvantages'}}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.data.peculiarity_type}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
@@ -65,14 +65,14 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.bonds' }}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="bond" class="bond-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |bond id|}}
|
||||
{{#ifCond bond.data.type '==' 'bond'}}
|
||||
{{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -3,35 +3,35 @@
|
||||
<label class="earth">
|
||||
<i class="i_earth dice-picker rollable" data-ring="earth"></i>
|
||||
<strong>{{localizeRing 'earth'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.earth" value="{{data.data.rings.earth}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.earth" value="{{data.data.rings.earth}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="air">
|
||||
<label class="air">
|
||||
<i class="i_air dice-picker rollable" data-ring="air"></i>
|
||||
<strong>{{localizeRing 'air'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.air" value="{{data.data.rings.air}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.air" value="{{data.data.rings.air}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="water">
|
||||
<label class="water">
|
||||
<i class="i_water dice-picker rollable" data-ring="water"></i>
|
||||
<strong>{{localizeRing 'water'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.water" value="{{data.data.rings.water}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.water" value="{{data.data.rings.water}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="fire">
|
||||
<label class="fire">
|
||||
<i class="i_fire dice-picker rollable" data-ring="fire"></i>
|
||||
<strong>{{localizeRing 'fire'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.fire" value="{{data.data.rings.fire}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.fire" value="{{data.data.rings.fire}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="void">
|
||||
<label class="void">
|
||||
<i class="i_void dice-picker rollable" data-ring="void"></i>
|
||||
<strong>{{localizeRing 'void'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.void" value="{{data.data.rings.void}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.void" value="{{data.data.rings.void}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -10,6 +10,7 @@
|
||||
min="0"
|
||||
max="9"
|
||||
placeholder="0"
|
||||
{{^if data.editable_not_soft_locked}}disabled{{/if}}
|
||||
/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
<strong>{{localize 'l5r5e.social.honor'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.honor" value="{{data.data.social.honor}}" data-dtype="Number" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.honor" value="{{data.data.social.honor}}" data-dtype="Number" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
<strong>{{localize 'l5r5e.social.glory'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.glory" value="{{data.data.social.glory}}" data-dtype="Number" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.glory" value="{{data.data.social.glory}}" data-dtype="Number" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
<strong>{{localize 'l5r5e.social.status'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.status" value="{{data.data.social.status}}" data-dtype="Number" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.status" value="{{data.data.social.status}}" data-dtype="Number" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -4,7 +4,7 @@
|
||||
<i>{{localize 'l5r5e.techniques.type'}}</i>
|
||||
{{#each data.techniquesList as |technique|}}
|
||||
<label>
|
||||
<input type="checkbox" name="data.techniques.{{technique.id}}" {{checked (lookup ../data.data.techniques technique.id)}} />
|
||||
<input type="checkbox" name="data.techniques.{{technique.id}}" {{checked (lookup ../data.data.techniques technique.id)}} {{^if ../data.editable_not_soft_locked}}disabled{{/if}} />
|
||||
{{technique.label}}
|
||||
</label>
|
||||
{{/each}}
|
||||
@@ -13,14 +13,14 @@
|
||||
{{#each data.splitTechniquesList as |list technique|}}
|
||||
<fieldset class="section-header flexrow">
|
||||
<legend class="technique-controls">
|
||||
{{localize (localize 'l5r5e.techniques.{technique}' technique=technique) }}
|
||||
{{#ifCond ../options.editable '&&' (lookup ../data.data.techniques technique)}}
|
||||
{{localize (localize 'l5r5e.techniques.{technique}' technique=technique)}}
|
||||
{{#ifCond ../data.editable_not_soft_locked '&&' (lookup ../data.data.techniques technique)}}
|
||||
<a data-item-type="technique" class="technique-control item-add" data-tech-type="{{technique}}" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/ifCond}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each list as |item id|}}
|
||||
{{> 'systems/l5r5e/templates/items/technique/technique-entry.html' technique=item editable=../../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/technique/technique-entry.html' technique=item editable=../../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -29,14 +29,14 @@
|
||||
<fieldset class="section-header flexrow">
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.advancements.signature_scroll' }}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="signature_scroll" class="signature-scroll-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |scroll id|}}
|
||||
{{#ifCond scroll.data.type '==' 'signature_scroll'}}
|
||||
{{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
<form class="{{cssClass}}" data-lang="{{localize 'I18N.Language'}}" autocomplete="off">
|
||||
{{!-- L5R Button bar --}}
|
||||
<div class="l5r-buttons-bar">
|
||||
{{#each l5rHeaderButtons}}
|
||||
<a class="l5r-header-button {{this.class}}"><i class="{{this.icon}}"></i>{{localize this.label}}</a>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<div class="header-fields identity-wrapper">
|
||||
<img class="profile-img dragndrop-actor-id pointer" src="{{data.img}}" data-edit="img" data-actor-id="{{actor.id}}" draggable="true" title="{{data.name}}"/>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name"/></h1>
|
||||
<img class="profile-img dragndrop-actor-id pointer" src="{{data.img}}" {{#if data.editable_not_soft_locked}}data-edit="img"{{/if}} data-actor-id="{{actor.id}}" draggable="true" title="{{data.name}}"/>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name" {{^if data.editable_not_soft_locked}}disabled{{/if}}/></h1>
|
||||
{{> 'systems/l5r5e/templates/actors/npc/identity.html'}}
|
||||
</div>
|
||||
<div class="header-fields">
|
||||
|
||||
@@ -2,29 +2,37 @@
|
||||
<li class="endurance-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.endurance'}}</strong>
|
||||
<input class="centered-input" type="number" name="data.endurance" value="{{data.data.endurance}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input" type="number" name="data.endurance" value="{{data.data.endurance}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.fatigue'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.fatigue.value" value="{{data.data.fatigue.value}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.fatigue.value" value="{{data.data.fatigue.value}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="attributes-buttons">
|
||||
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="fatigue" data-value="1"></i>
|
||||
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="fatigue" data-value="-1"></i>
|
||||
</span>
|
||||
</label>
|
||||
<p class="item-description"> {{localize 'l5r5e.attributes.endurancetip'}}</p>
|
||||
</li>
|
||||
<li class="composure-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.composure'}}</strong>
|
||||
<input class="centered-input" type="number" name="data.composure" value="{{data.data.composure}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input" type="number" name="data.composure" value="{{data.data.composure}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.strife'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.strife.value" value="{{data.data.strife.value}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.strife.value" value="{{data.data.strife.value}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="attributes-buttons">
|
||||
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="strife" data-value="1"></i>
|
||||
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="strife" data-value="-1"></i>
|
||||
</span>
|
||||
</label>
|
||||
<p class="item-description"> {{localize 'l5r5e.attributes.composuretip'}}</p>
|
||||
</li>
|
||||
<li class="focus-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.focus' }}</strong>
|
||||
<input class="centered-input" type="number" name="data.focus" value="{{data.data.focus}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input" type="number" name="data.focus" value="{{data.data.focus}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<p class="item-description"> {{localize 'l5r5e.attributes.focustip'}}</p>
|
||||
</li>
|
||||
@@ -34,15 +42,15 @@
|
||||
{{#if data.data.is_compromised}}
|
||||
<input class="centered-input" type="number" value="1" disabled/>
|
||||
{{else}}
|
||||
<input class="centered-input" type="number" name="data.vigilance" value="{{data.data.vigilance}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input" type="number" name="data.vigilance" value="{{data.data.vigilance}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
{{/if}}
|
||||
</label>
|
||||
<p class="item-description"> {{localize 'l5r5e.attributes.vigilancetip'}}</p>
|
||||
</li>
|
||||
<li class="void-content">
|
||||
<label class="attribute-label">
|
||||
<strong>{{localize 'l5r5e.attributes.voidpoints' }}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.void_points.value" value="{{data.data.void_points.value}}" data-dtype="Number" placeholder="0" min="0" max="{{data.data.void_points.max}}"/>
|
||||
<strong>{{localize 'l5r5e.attributes.voidpoints'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.void_points.value" value="{{data.data.void_points.value}}" data-dtype="Number" placeholder="0" min="0" max="{{data.data.void_points.max}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<input class="centered-input" type="number" name="data.void_points.max" value="{{data.data.void_points.max}}" data-dtype="Number" disabled/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<ul class="identity-list">
|
||||
{{!-- Npc Type (minion / adversary) --}}
|
||||
<li>
|
||||
<select class="attribute-dtype" name="data.type">
|
||||
<select class="attribute-dtype" name="data.type" {{^if data.editable_not_soft_locked}}disabled{{/if}}>
|
||||
{{#select data.data.type}}
|
||||
{{#each data.data.types as |t|}}
|
||||
<option value="{{t.id}}">{{t.label}}</option>
|
||||
@@ -12,11 +12,11 @@
|
||||
{{!-- Martial --}}
|
||||
<li>
|
||||
<i class="i_bushi" title="{{localize 'l5r5e.social.npc.combat'}}"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.conflict_rank.martial" value="{{data.data.conflict_rank.martial}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.conflict_rank.martial" value="{{data.data.conflict_rank.martial}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
{{!-- Social --}}
|
||||
<li>
|
||||
<i class="i_courtier" title="{{localize 'l5r5e.social.npc.intrigue'}}"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.conflict_rank.social" value="{{data.data.conflict_rank.social}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.conflict_rank.social" value="{{data.data.conflict_rank.social}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -5,15 +5,15 @@
|
||||
{{!-- item patterns list --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.advancements.item_pattern' }}
|
||||
{{#if options.editable}}
|
||||
{{localize 'l5r5e.advancements.item_pattern'}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="item_pattern" class="item-pattern-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |pattern id|}}
|
||||
{{#ifCond pattern.data.type '==' 'item_pattern'}}
|
||||
{{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<legend class="text-block-header">{{localize 'l5r5e.social.title'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.ninjo'}}
|
||||
<textarea type="text" name="data.social.ninjo">{{data.data.social.ninjo}}</textarea>
|
||||
<textarea type="text" name="data.social.ninjo" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.ninjo}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.giri'}} / {{localize 'l5r5e.social.past'}}
|
||||
<textarea type="text" name="data.social.giri">{{data.data.social.giri}}</textarea>
|
||||
<textarea type="text" name="data.social.giri" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.giri}}</textarea>
|
||||
</label>
|
||||
</fieldset>
|
||||
{{!-- Bushido Tenets --}}
|
||||
@@ -16,11 +16,11 @@
|
||||
<legend class="text-block-header">{{localize 'l5r5e.social.bushido_tenets.title'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.bushido_tenets.paramount'}}
|
||||
<textarea type="text" name="data.social.bushido_tenets.paramount">{{data.data.social.bushido_tenets.paramount}}</textarea>
|
||||
<textarea type="text" name="data.social.bushido_tenets.paramount" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.bushido_tenets.paramount}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.bushido_tenets.less_significant'}}
|
||||
<textarea type="text" name="data.social.bushido_tenets.less_significant">{{data.data.social.bushido_tenets.less_significant}}</textarea>
|
||||
<textarea type="text" name="data.social.bushido_tenets.less_significant" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.data.social.bushido_tenets.less_significant}}</textarea>
|
||||
</label>
|
||||
</fieldset>
|
||||
</div>
|
||||
@@ -29,14 +29,14 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.advantages'}}
|
||||
{{#if options.editable}}
|
||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond '["distinction","passion"]' 'includes' item.data.data.peculiarity_type}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
@@ -45,14 +45,14 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.disadvantages'}}
|
||||
{{#if options.editable}}
|
||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.data.peculiarity_type}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../options.editable}}
|
||||
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.data.peculiarity_type}}
|
||||
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
@@ -61,14 +61,14 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.bonds' }}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="bond" class="bond-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |bond id|}}
|
||||
{{#ifCond bond.data.type '==' 'bond'}}
|
||||
{{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -3,35 +3,35 @@
|
||||
<label class="earth">
|
||||
<i class="i_earth dice-picker rollable" data-ring="earth"></i>
|
||||
<strong>{{localizeRing 'earth'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.earth" value="{{data.data.rings.earth}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.earth" value="{{data.data.rings.earth}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="air">
|
||||
<label class="air">
|
||||
<i class="i_air dice-picker rollable" data-ring="air"></i>
|
||||
<strong>{{localizeRing 'air'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.air" value="{{data.data.rings.air}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.air" value="{{data.data.rings.air}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="water">
|
||||
<label class="water">
|
||||
<i class="i_water dice-picker rollable" data-ring="water"></i>
|
||||
<strong>{{localizeRing 'water'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.water" value="{{data.data.rings.water}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.water" value="{{data.data.rings.water}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="fire">
|
||||
<label class="fire">
|
||||
<i class="i_fire dice-picker rollable" data-ring="fire"></i>
|
||||
<strong>{{localizeRing 'fire'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.fire" value="{{data.data.rings.fire}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.fire" value="{{data.data.rings.fire}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="void">
|
||||
<label class="void">
|
||||
<i class="i_void dice-picker rollable" data-ring="void"></i>
|
||||
<strong>{{localizeRing 'void'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.void" value="{{data.data.rings.void}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings.void" value="{{data.data.rings.void}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -4,7 +4,7 @@
|
||||
<label class="dice-picker" data-skillcat="{{skillCatId}}">
|
||||
{{localizeSkill skillCatId "title"}}
|
||||
</label>
|
||||
<input class="centered-input select-on-focus" id="skill_{{skillCatId}}" type="number" name="data.skills.{{skillCatId}}" value="{{skillValue}}" data-dtype="Number" min="0" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" id="skill_{{skillCatId}}" type="number" name="data.skills.{{skillCatId}}" value="{{skillValue}}" data-dtype="Number" min="0" max="9" placeholder="0" {{^if ../data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
@@ -2,32 +2,32 @@
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
<strong>{{localize 'l5r5e.social.honor'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.honor" value="{{data.data.social.honor}}" data-dtype="Number" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.honor" value="{{data.data.social.honor}}" data-dtype="Number" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
<strong>{{localize 'l5r5e.social.glory'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.glory" value="{{data.data.social.glory}}" data-dtype="Number" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.glory" value="{{data.data.social.glory}}" data-dtype="Number" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label centered-input">
|
||||
<strong>{{localize 'l5r5e.social.status'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.status" value="{{data.data.social.status}}" data-dtype="Number" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.social.status" value="{{data.data.social.status}}" data-dtype="Number" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li class="affinities">
|
||||
{{!-- Attitude --}}
|
||||
<label class="attitude">
|
||||
<input type="text" name="data.attitude" value="{{data.data.attitude}}" data-dtype="String" placeholder=""/>
|
||||
<input type="text" name="data.attitude" value="{{data.data.attitude}}" data-dtype="String" placeholder="" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
{{localize 'l5r5e.social.attitude'}}
|
||||
</label>
|
||||
{{!-- Strength & Weakness --}}
|
||||
{{#each data.stances as |stance|}}
|
||||
<label class="ring">
|
||||
<i class="i_{{stance}}" title="{{localizeRing stance}}"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings_affinities.{{stance}}" value="{{lookup ../data.data.rings_affinities stance}}" data-dtype="Number" min="-9" max="9" placeholder="0"/>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.rings_affinities.{{stance}}" value="{{lookup ../data.data.rings_affinities stance}}" data-dtype="Number" min="-9" max="9" placeholder="0" {{^if ../data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
{{/each}}
|
||||
</li>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<i>{{localize 'l5r5e.techniques.type'}}</i>
|
||||
{{#each data.techniquesList as |technique|}}
|
||||
<label>
|
||||
<input type="checkbox" name="data.techniques.{{technique.id}}" {{checked (lookup ../data.data.techniques technique.id)}} />
|
||||
<input type="checkbox" name="data.techniques.{{technique.id}}" {{checked (lookup ../data.data.techniques technique.id)}} {{^if ../data.editable_not_soft_locked}}disabled{{/if}} />
|
||||
{{technique.label}}
|
||||
</label>
|
||||
{{/each}}
|
||||
@@ -17,13 +17,13 @@
|
||||
<fieldset class="section-header flexrow">
|
||||
<legend class="technique-controls">
|
||||
{{localize (localize 'l5r5e.techniques.{technique}' technique=technique)}}
|
||||
{{#ifCond ../options.editable '&&' (lookup ../data.data.techniques technique)}}
|
||||
{{#ifCond ../data.editable_not_soft_locked '&&' (lookup ../data.data.techniques technique)}}
|
||||
<a data-item-type="technique" class="technique-control item-add" data-tech-type="{{technique}}" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/ifCond}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each list as |item id|}}
|
||||
{{> 'systems/l5r5e/templates/items/technique/technique-entry.html' technique=item editable=../../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/technique/technique-entry.html' technique=item editable=../../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -32,14 +32,14 @@
|
||||
<fieldset class="section-header flexrow">
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.advancements.signature_scroll' }}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="signature_scroll" class="signature-scroll-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |scroll id|}}
|
||||
{{#ifCond scroll.data.type '==' 'signature_scroll'}}
|
||||
{{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
<th class="weapon"><i class="fas fa-fan"></i></th>
|
||||
<th class="armor"><i class="fas fa-user-shield"></i></th>
|
||||
<th class="rank">{{localize 'l5r5e.rank'}}</th>
|
||||
<th class="social">{{localize 'l5r5e.gm_monitor.honor_glory_status'}}</th>
|
||||
<th class="fatigue">{{localize 'l5r5e.attributes.fatigue'}}</th>
|
||||
<th class="strife">{{localize 'l5r5e.attributes.strife'}}</th>
|
||||
<th class="vigilance">{{localize 'l5r5e.gm_monitor.focus_vigilance'}}</th>
|
||||
@@ -26,8 +25,16 @@
|
||||
<a data-actor-id="{{actor.id}}" class="open-sheet-actor-id">{{actor.name}}</a>
|
||||
{{#if actor.data.data.attitude}}<p>({{actor.data.data.attitude}})</p>{{/if}}
|
||||
</td>
|
||||
<td><i data-type="text" data-text="<h2>{{localize 'l5r5e.conflict.stance'}} ({{localizeRing actor.data.data.stance}})</h2>{{localizeStanceTip actor.data.data.stance}}" class="i_{{actor.data.data.stance}} actor-infos-control"></i></td>
|
||||
<td><i data-type="text" data-text="<h2>{{localize 'l5r5e.conflict.initiative.title'}} : {{localize (localize 'l5r5e.conflict.initiative.prepared_{value}' value=actor.isPrepared)}}</h2>" class="fa fas prepared-icon-{{actor.isPrepared}} {{#ifCond actor.isPrepared '==' 'false'}}badvalue{{/ifCond}} actor-infos-control"></i></td>
|
||||
<td>
|
||||
<a data-actor-id="{{actor.id}}" data-type="stance" class="actor-modify-control">
|
||||
<i data-type="text" data-text="<h2>{{localize 'l5r5e.conflict.stance'}} ({{localizeRing actor.data.data.stance}} - {{lookup actor.data.data.rings actor.data.data.stance}})</h2>{{localizeStanceTip actor.data.data.stance}}" class="i_{{actor.data.data.stance}} actor-infos-control"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a data-actor-id="{{actor.id}}" data-type="prepared" class="actor-modify-control">
|
||||
<i data-type="text" data-text="<h2>{{localize 'l5r5e.conflict.initiative.title'}} : {{localize (localize 'l5r5e.conflict.initiative.prepared_{value}' value=actor.isPrepared)}}</h2>" class="fa fas prepared-icon-{{actor.isPrepared}} {{#ifCond actor.isPrepared '==' 'false'}}badvalue{{/ifCond}} actor-infos-control"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>{{#if actor.haveWeaponEquipped}}<i data-type="weapons" data-actor-id="{{actor.id}}" class="fas fa-fan actor-infos-control {{#if actor.haveWeaponReadied}}badvalue{{/if}}"></i>{{/if}}</td>
|
||||
<td>{{#if actor.haveArmorEquipped}}<i data-type="armors" data-actor-id="{{actor.id}}" class="fas fa-user-shield actor-infos-control"></i>{{/if}}</td>
|
||||
<td>
|
||||
@@ -49,25 +56,26 @@
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<span class="{{#ifCond actor.data.data.social.honor '>' 64}}goodvalue{{/ifCond}}{{#ifCond actor.data.data.social.honor '<' 30}}badvalue{{/ifCond}}">{{actor.data.data.social.honor}}</span>
|
||||
/ <span class="{{#ifCond actor.data.data.social.glory '>' 64}}goodvalue{{/ifCond}}{{#ifCond actor.data.data.social.glory '<' 20}}badvalue{{/ifCond}}">{{actor.data.data.social.glory}}</span>
|
||||
/ {{actor.data.data.social.status}}
|
||||
<a title="{{localize 'l5r5e.gm_monitor.mouse_control'}}" data-actor-id="{{actor.id}}" data-type="fatigue" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.data.data.fatigue.value '>' actor.data.data.fatigue.max}}badvalue{{/ifCond}}">{{actor.data.data.fatigue.value}}</span>
|
||||
/ {{actor.data.data.fatigue.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="{{#ifCond actor.data.data.fatigue.value '>' actor.data.data.fatigue.max}}badvalue{{/ifCond}}">{{actor.data.data.fatigue.value}}</span>
|
||||
/ {{actor.data.data.fatigue.max}}
|
||||
</td>
|
||||
<td>
|
||||
<span class="{{#ifCond actor.data.data.strife.value '>' actor.data.data.strife.max}}badvalue{{/ifCond}}">{{actor.data.data.strife.value}}</span>
|
||||
/ {{actor.data.data.strife.max}}
|
||||
<a title="{{localize 'l5r5e.gm_monitor.mouse_control'}}" data-actor-id="{{actor.id}}" data-type="strife" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.data.data.strife.value '>' actor.data.data.strife.max}}badvalue{{/ifCond}}">{{actor.data.data.strife.value}}</span>
|
||||
/ {{actor.data.data.strife.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{actor.data.data.focus}}
|
||||
/ {{#if actor.data.data.is_compromised}}<span class="badvalue">1</span>{{else}}{{actor.data.data.vigilance}}{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
{{actor.data.data.void_points.value}}
|
||||
/ {{actor.data.data.void_points.max}}
|
||||
<a title="{{localize 'l5r5e.gm_monitor.mouse_control'}}" data-actor-id="{{actor.id}}" data-type="void_points" class="actor-modify-control">
|
||||
{{actor.data.data.void_points.value}}
|
||||
/ {{actor.data.data.void_points.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td><i data-actor-id="{{actor.id}}" data-type="global" class="fas fa-question-circle actor-infos-control"></i></td>
|
||||
<td><span data-actor-id="{{actor.id}}" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span></td>
|
||||
@@ -101,12 +109,16 @@
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<span class="{{#ifCond actor.data.data.battle_readiness.casualties_strength.value '>' actor.data.data.battle_readiness.casualties_strength.max}}badvalue{{/ifCond}}">{{actor.data.data.battle_readiness.casualties_strength.value}}</span>
|
||||
/ {{actor.data.data.battle_readiness.casualties_strength.max}}
|
||||
<a title="{{localize 'l5r5e.gm_monitor.mouse_control'}}" data-actor-id="{{actor.id}}" data-type="casualties" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.data.data.battle_readiness.casualties_strength.value '>' actor.data.data.battle_readiness.casualties_strength.max}}badvalue{{/ifCond}}">{{actor.data.data.battle_readiness.casualties_strength.value}}</span>
|
||||
/ {{actor.data.data.battle_readiness.casualties_strength.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="{{#ifCond actor.data.data.battle_readiness.panic_discipline.value '>' actor.data.data.battle_readiness.panic_discipline.max}}badvalue{{/ifCond}}">{{actor.data.data.battle_readiness.panic_discipline.value}}</span>
|
||||
/ {{actor.data.data.battle_readiness.panic_discipline.max}}
|
||||
<a title="{{localize 'l5r5e.gm_monitor.mouse_control'}}" data-actor-id="{{actor.id}}" data-type="panic" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.data.data.battle_readiness.panic_discipline.value '>' actor.data.data.battle_readiness.panic_discipline.max}}badvalue{{/ifCond}}">{{actor.data.data.battle_readiness.panic_discipline.value}}</span>
|
||||
/ {{actor.data.data.battle_readiness.panic_discipline.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{#if actor.data.data.commander_actor_id}}
|
||||
|
||||
@@ -11,6 +11,11 @@
|
||||
{{!-- Peculiarities --}}
|
||||
<li><b>{{localize 'l5r5e.social.npc.advantages'}}</b> : {{advantages}}</li>
|
||||
<li><b>{{localize 'l5r5e.social.npc.disadvantages'}}</b> : {{disadvantages}}</li>
|
||||
|
||||
{{!-- Honor/Glory/Status --}}
|
||||
<li><b>{{localize 'l5r5e.social.honor'}}</b> : <span class="{{#ifCond actorData.social.honor '>' 64}}goodvalue{{/ifCond}}{{#ifCond actorData.social.honor '<' 30}}badvalue{{/ifCond}}">{{actorData.social.honor}}</span></li>
|
||||
<li><b>{{localize 'l5r5e.social.glory'}}</b> : <span class="{{#ifCond actorData.social.glory '>' 64}}goodvalue{{/ifCond}}{{#ifCond actorData.social.glory '<' 20}}badvalue{{/ifCond}}">{{actorData.social.glory}}</span></li>
|
||||
<li><b>{{localize 'l5r5e.social.status'}}</b> : {{actorData.social.status}}</li>
|
||||
</ul>
|
||||
<p>{{{actorData.description}}}</p>
|
||||
</section>
|
||||
@@ -9,8 +9,8 @@
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
<select name="data.advancement_type" id="advancement_type">
|
||||
{{#select data.data.advancement_type}}
|
||||
{{#each data.subTypesList as |type|}}
|
||||
<option value="{{type}}">{{type}}</option>
|
||||
{{#each data.subTypesList as |label type|}}
|
||||
<option value="{{type}}">{{localize label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<fieldset class="armors-content">
|
||||
<legend class="section-header">
|
||||
{{localize 'l5r5e.armors.title'}}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="armor" data-item-equipped="true" class="armor-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond (ifCond item.type '==' 'armor') '&&' (ifCond item.data.data.equipped '==' true)}}
|
||||
{{> 'systems/l5r5e/templates/items/armor/armor-entry.html' armor=item id=id editable=../options.editable }}
|
||||
{{> 'systems/l5r5e/templates/items/armor/armor-entry.html' armor=item id=id editable=../data.editable_not_soft_locked }}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{item._id}}">{{item.name}} <sub>x{{item.data.quantity}}</sub></li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{item._id}}" data-type="equipped" class="item-equip equip-readied-control" title="{{localize 'l5r5e.armors.equipped'}}"><i class="fas {{#if item.data.equipped}}fa-tshirt{{else}}fa-weight-hanging{{/if}}"></i></li>
|
||||
{{^if soft_locked}}
|
||||
<li data-item-id="{{item._id}}" class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{item._id}}" class="item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</ul>
|
||||
<ul class="item-properties">
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{{#each data.splitItemsList as |cat type|}}
|
||||
<h3 class="toggle-on-click" data-toggle="inventory-item-list-{{type}}">
|
||||
{{localize (localize 'l5r5e.{type}s.title' type=type)}} ({{cat.length}})
|
||||
{{#if ../options.editable}}
|
||||
{{#if ../data.editable_not_soft_locked}}
|
||||
<a data-item-type="{{type}}" class="item-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</h3>
|
||||
<ul class="item-list inventory-item-list-{{type}}">
|
||||
{{#each cat as |item id|}}
|
||||
{{> 'systems/l5r5e/templates/items/item/item-entry.html' item=item id=id editable=../../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/item/item-entry.html' item=item id=id editable=../../options.editable soft_locked=../../data.data.soft_locked}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/each}}
|
||||
@@ -1,14 +1,14 @@
|
||||
<fieldset class="weapons-content">
|
||||
<legend class="section-header">
|
||||
{{localize 'l5r5e.weapons.title'}}
|
||||
{{#if options.editable}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="weapon" data-item-equipped="true" class="weapon-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond (ifCond item.type '==' 'weapon') '&&' (ifCond item.data.data.equipped '==' true)}}
|
||||
{{> 'systems/l5r5e/templates/items/weapon/weapon-entry.html' weapon=item id=id editable=../options.editable}}
|
||||
{{> 'systems/l5r5e/templates/items/weapon/weapon-entry.html' weapon=item id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user