ENhance and fix
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<li>{{#ifCond data.system.template '==' 'pow'}}{{localize 'l5r5e.sheets.upbringing'}}{{else}}{{localize 'l5r5e.sheets.family'}}{{/ifCond}} : {{data.system.identity.family}}</li>
|
||||
<li>{{localize 'l5r5e.sheets.rank'}} : {{data.system.identity.school_rank}}</li>
|
||||
<li>{{localize 'l5r5e.sheets.school'}} : {{data.system.identity.school}}</li>
|
||||
<li>{{localize 'l5r5e.roles'}} : {{data.system.identity.roles}}</li>
|
||||
<li>{{localize 'l5r5e.roles.title'}} : {{data.system.identity.roles}}</li>
|
||||
|
||||
{{!-- Social --}}
|
||||
<li>{{localize 'l5r5e.social.honor'}} : {{data.system.social.honor}}</li>
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
<tr data-group="advancements" data-tab="advancement_rank_{{rank}}" class="flexrow row advancement tab">
|
||||
<td class="name l5r5e-tooltip" data-item-id="{{advancement._id}}" name="advancement.name"><img src="{{advancement.img}}" title="{{advancement.name}}"> {{advancement.name}}</td>
|
||||
<td class="curriculum" name="curriculum">{{#if advancement.system.in_curriculum}}<i class="fas fa-graduation-cap"></i> {{/if}}</td>
|
||||
<td class="xp" name="advancement.xp">{{advancement.system.xp_used}}</td>
|
||||
<td class="rank" name="advancement.rank">{{advancement.system.rank}}</td>
|
||||
{{#if editable}}
|
||||
<td class="actions">
|
||||
<ul>
|
||||
<li data-item-id="{{advancement._id}}" class="item-control item-curriculum" title="{{localize 'l5r5e.advancements.curriculum'}}"><i class="fas fa-graduation-cap"></i></li>
|
||||
<li data-item-id="{{advancement._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{advancement._id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
</ul>
|
||||
|
||||
@@ -16,15 +16,4 @@
|
||||
<div class="gauge-bar" style="width: {{data.aspectsData.gaugePercent}}%; background-color: {{data.aspectsData.gaugeColor}};"></div>
|
||||
</div>
|
||||
</div>
|
||||
{{#if data.etatItems.length}}
|
||||
<div class="etat-summary">
|
||||
<span class="etat-summary-label">{{localize 'chiaroscuro.etat.title'}}</span>
|
||||
{{#each data.etatItems as |etat|}}
|
||||
<span class="etat-badge l5r5e-tooltip" title="{{etat.system.effect}}">
|
||||
<img src="{{etat.img}}" width="16" height="16" />
|
||||
{{etat.name}}
|
||||
</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{#if data.system.identity.school_curriculum_journal.id}}
|
||||
<a class="school-journal-link"><i class="fas fa-file-alt"></i></a> {{data.system.identity.school_curriculum_journal.name}}
|
||||
{{else}}
|
||||
<i class="fas fa-question-circle" title="{{localize 'l5r5e.advancements.school_curriculum_journal'}}"></i> {{localize 'l5r5e.sheets.school'}}
|
||||
<i class="fas fa-question-circle" title="{{localize 'l5r5e.advancements.school_curriculum_journal'}}"></i> {{localize 'l5r5e.advancements.advancement'}}
|
||||
{{/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>
|
||||
@@ -22,9 +22,7 @@
|
||||
<thead class="flex">
|
||||
<tr class="flexrow row">
|
||||
<th class="name">{{localize 'l5r5e.sheets.name'}}</th>
|
||||
<th class="curriculum"><i class="fas fa-graduation-cap"></i></th>
|
||||
<th class="xp">{{localize 'l5r5e.advancements.spent'}}</th>
|
||||
<th class="rank">{{localize 'l5r5e.sheets.rank'}}</th>
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<th class="actions"></th>
|
||||
{{/if}}
|
||||
@@ -36,10 +34,6 @@
|
||||
{{> 'systems/l5rx-chiaroscuro/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>
|
||||
{{#if ../data.editable_not_soft_locked}}
|
||||
{{#ifCond ../data.system.identity.school_rank '<' 6}}
|
||||
{{#ifCond (ifCond ../data.system.identity.school_rank '==' rankObject.rank) '&&' (ifCond rankObject.spent.curriculum '>=' rankObject.goal)}}
|
||||
@@ -58,36 +52,3 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
{{!-- Others progression (does not count in school xp) --}}
|
||||
<fieldset class="xp-spent xp-spent-body">
|
||||
<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.sheets.name'}}</th>
|
||||
<th class="xp">{{localize 'l5r5e.advancements.spent'}}</th>
|
||||
<th class="rank">{{localize 'l5r5e.sheets.rank'}}</th>
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<th class="actions"></th>
|
||||
{{/if}}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="flex">
|
||||
{{#each data.advancementsOthers as |advancement advancementId|}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/advancement-others.html' advancement=advancement show_curriculum_toggle=false editable=../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
<tfoot class="flex">
|
||||
<tr class="tfoot flexrow">
|
||||
<th>
|
||||
{{localize 'l5r5e.advancements.total_xp_spent'}} : {{data.advancementsOthersTotalXp}}
|
||||
</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</fieldset>
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="invocations-wrapper">
|
||||
<div class="invocations-roll-header">
|
||||
<button class="dice-picker invocation-roll-btn" data-skill="invocation">{{localize 'l5r5e.skills.social.invocation'}}</button>
|
||||
<button type="button" class="dice-picker invocation-roll-btn" data-skill="invocation">{{localize 'l5r5e.skills.social.invocation'}}</button>
|
||||
</div>
|
||||
<div class="invocations-columns">
|
||||
{{#each data.splitInvocationsList as |list type|}}
|
||||
@@ -8,12 +8,21 @@
|
||||
<legend class="technique-controls">
|
||||
<span>{{localize (concat 'chiaroscuro.technique.invocation_types.' type)}}</span>
|
||||
{{#if ../data.editable_not_soft_locked}}
|
||||
<a data-item-type="technique" class="technique-control item-add" data-tech-type="mot_invocation" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
<a data-item-type="mot_invocation" class="technique-control item-add" data-invocation-type="{{type}}" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each list as |item|}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/technique/technique-entry.html' technique=item editable=../../data.editable_not_soft_locked}}
|
||||
<li class="item technique flexcol" data-item-id="{{item._id}}">
|
||||
<ul class="item-header technique-controls">
|
||||
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{item._id}}">{{item.name}}</li>
|
||||
{{#if ../../data.editable_not_soft_locked}}
|
||||
<li data-item-id="{{item._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{item._id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
@@ -1,41 +1,51 @@
|
||||
<ul class="rings">
|
||||
<li id="air">
|
||||
<label class="air {{#ifCond 'air' '==' data.system.stance}}stance-active{{/ifCond}}">
|
||||
<i class="i_air dice-picker rollable" data-ring="air"></i>
|
||||
<div class="ring-circle">
|
||||
<i class="i_air dice-picker rollable" data-ring="air"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.air" value="{{data.system.rings.air}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</div>
|
||||
<strong class="ring-set-default {{#ifCond 'air' '==' data.system.default_ring}}default-ring{{/ifCond}}" data-ring="air" title="{{localize 'chiaroscuro.character.default_ring'}}">{{localizeRing 'air'}}</strong>
|
||||
<span class="ring-type solaire">☀ Solaire</span>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.air" value="{{data.system.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 {{#ifCond 'water' '==' data.system.stance}}stance-active{{/ifCond}}">
|
||||
<i class="i_water dice-picker rollable" data-ring="water"></i>
|
||||
<div class="ring-circle">
|
||||
<i class="i_water dice-picker rollable" data-ring="water"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.water" value="{{data.system.rings.water}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</div>
|
||||
<strong class="ring-set-default {{#ifCond 'water' '==' data.system.default_ring}}default-ring{{/ifCond}}" data-ring="water" title="{{localize 'chiaroscuro.character.default_ring'}}">{{localizeRing 'water'}}</strong>
|
||||
<span class="ring-type lunaire">☽ Lunaire</span>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.water" value="{{data.system.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 {{#ifCond 'fire' '==' data.system.stance}}stance-active{{/ifCond}}">
|
||||
<i class="i_fire dice-picker rollable" data-ring="fire"></i>
|
||||
<div class="ring-circle">
|
||||
<i class="i_fire dice-picker rollable" data-ring="fire"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.fire" value="{{data.system.rings.fire}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</div>
|
||||
<strong class="ring-set-default {{#ifCond 'fire' '==' data.system.default_ring}}default-ring{{/ifCond}}" data-ring="fire" title="{{localize 'chiaroscuro.character.default_ring'}}">{{localizeRing 'fire'}}</strong>
|
||||
<span class="ring-type solaire">☀ Solaire</span>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.fire" value="{{data.system.rings.fire}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
<li id="earth">
|
||||
<label class="earth {{#ifCond 'earth' '==' data.system.stance}}stance-active{{/ifCond}}">
|
||||
<i class="i_earth dice-picker rollable" data-ring="earth"></i>
|
||||
<div class="ring-circle">
|
||||
<i class="i_earth dice-picker rollable" data-ring="earth"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.earth" value="{{data.system.rings.earth}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</div>
|
||||
<strong class="ring-set-default {{#ifCond 'earth' '==' data.system.default_ring}}default-ring{{/ifCond}}" data-ring="earth" title="{{localize 'chiaroscuro.character.default_ring'}}">{{localizeRing 'earth'}}</strong>
|
||||
<span class="ring-type lunaire">☽ Lunaire</span>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.earth" value="{{data.system.rings.earth}}" 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 {{#ifCond 'void' '==' data.system.stance}}stance-active{{/ifCond}}">
|
||||
<i class="i_void dice-picker rollable" data-ring="void"></i>
|
||||
<div class="ring-circle">
|
||||
<i class="i_void dice-picker rollable" data-ring="void"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.void" value="{{data.system.rings.void}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</div>
|
||||
<strong class="ring-set-default {{#ifCond 'void' '==' data.system.default_ring}}default-ring{{/ifCond}}" data-ring="void" title="{{localize 'chiaroscuro.character.default_ring'}}">{{localizeRing 'void'}}</strong>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.rings.void" value="{{data.system.rings.void}}" data-dtype="Number" min="1" max="9" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -1,4 +1,27 @@
|
||||
<div class="techniques-wrapper">
|
||||
{{!-- Technique d'École items list --}}
|
||||
<fieldset class="section-header flexrow">
|
||||
<legend class="text-block-header">
|
||||
{{localize 'chiaroscuro.technique_ecole.title'}}
|
||||
{{#if data.editable_not_soft_locked}}
|
||||
<a data-item-type="technique_ecole" class="technique-ecole-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each data.techniqueEcoleItems as |item|}}
|
||||
<li class="item technique flexcol" data-item-id="{{item._id}}">
|
||||
<ul class="item-header technique-controls">
|
||||
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{item._id}}">{{item.name}}</li>
|
||||
{{#if ../data.editable_not_soft_locked}}
|
||||
<li data-item-id="{{item._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{item._id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
{{!-- Arcane items list --}}
|
||||
<fieldset class="section-header flexrow">
|
||||
<legend class="text-block-header">
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
{{!-- Ring accent bar --}}
|
||||
<div class="chi-ring-bar {{ring.id}}"></div>
|
||||
|
||||
{{!-- Header: portrait + actor + ring badge --}}
|
||||
{{!-- Header: portrait + ring badge --}}
|
||||
<div class="chi-chat-header">
|
||||
<img class="profile-img" src="{{profileImg}}" alt="{{actor.name}}" />
|
||||
<div class="chi-chat-actor">
|
||||
<strong>{{actor.name}}</strong>
|
||||
{{#if quickInfo}}<div class="chi-chat-quick-info">{{quickInfo}}</div>{{/if}}
|
||||
</div>
|
||||
<div class="chi-chat-badges">
|
||||
<span class="chi-ring-badge {{ring.id}}" title="{{ring.label}}">
|
||||
<i class="i_{{ring.id}}"></i>
|
||||
@@ -101,4 +97,12 @@
|
||||
{{/if}}{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Item link (arcane, weapon, etc.) --}}
|
||||
{{#if l5r5e.item.uuid}}
|
||||
<div class="l5r5e item-infos">
|
||||
<div class="profile"><img class="profile-img" src="{{l5r5e.item.img}}" alt="{{l5r5e.item.name}}" /></div>
|
||||
<div class="name">@UUID[{{l5r5e.item.uuid}}]</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
@@ -4,10 +4,17 @@
|
||||
<img class="profile-img" src="{{#if actor.img}}{{actor.img}}{{else}}icons/svg/mystery-man.svg{{/if}}" alt="{{actor.name}}" />
|
||||
<div class="chi-dice-actor-info">
|
||||
<strong>{{actor.name}}</strong>
|
||||
{{#if quickInfo}}<div class="chi-dice-quick-info">{{quickInfo}}</div>{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Quick Info --}}
|
||||
{{#if quickInfo}}
|
||||
<fieldset class="chi-dice-section">
|
||||
<legend>{{localize 'chiaroscuro.character.quick_info'}}</legend>
|
||||
<div class="chi-dice-quick-info">{{quickInfo}}</div>
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
|
||||
{{!-- Ring selector --}}
|
||||
<fieldset class="chi-dice-section">
|
||||
<legend>{{localize 'l5r5e.rings.title'}}</legend>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<div id="l5r5e_gm_combat_tracker_bar" class="l5r5e-combat-bar">
|
||||
<div class="encounter-types">
|
||||
{{#each encounterTypeList as |type|}}
|
||||
<a class="encounter-control {{#ifCond type '==' ../encounterType}}active{{/ifCond}}" data-id="{{type}}" title="{{localize (concat 'l5r5e.conflict.initiative.' type)}}">
|
||||
{{localize (concat 'l5r5e.conflict.initiative.' type)}}
|
||||
</a>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="prepared-controls">
|
||||
<a class="prepared-control prepared-{{prepared.character}}" data-id="character" title="{{localize (concat 'l5r5e.conflict.initiative.prepared_' prepared.character)}}">
|
||||
<i class="fas {{#ifCond prepared.character '==' 'true'}}fa-shield-alt{{else}}{{#ifCond prepared.character '==' 'actor'}}fa-user{{else}}fa-skull{{/ifCond}}{{/ifCond}}"></i>
|
||||
{{localize 'l5r5e.character_types.character'}}
|
||||
</a>
|
||||
<a class="prepared-control prepared-{{prepared.adversary}}" data-id="adversary" title="{{localize (concat 'l5r5e.conflict.initiative.prepared_' prepared.adversary)}}">
|
||||
<i class="fas {{#ifCond prepared.adversary '==' 'true'}}fa-shield-alt{{else}}{{#ifCond prepared.adversary '==' 'actor'}}fa-user{{else}}fa-skull{{/ifCond}}{{/ifCond}}"></i>
|
||||
{{localize 'l5r5e.character_types.adversary'}}
|
||||
</a>
|
||||
<a class="prepared-control prepared-{{prepared.minion}}" data-id="minion" title="{{localize (concat 'l5r5e.conflict.initiative.prepared_' prepared.minion)}}">
|
||||
<i class="fas {{#ifCond prepared.minion '==' 'true'}}fa-shield-alt{{else}}{{#ifCond prepared.minion '==' 'actor'}}fa-user{{else}}fa-skull{{/ifCond}}{{/ifCond}}"></i>
|
||||
{{localize 'l5r5e.character_types.minion'}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -11,6 +11,10 @@
|
||||
{{localize 'chiaroscuro.arcane.arcane_type'}}
|
||||
<input type="text" name="system.arcane_type" value="{{data.system.arcane_type}}" />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.xp_used'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_used" value="{{data.system.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.application'}}
|
||||
<input type="text" name="system.applicationDisplay" value="{{data.system.applicationDisplay}}" placeholder="compétence1, compétence2" />
|
||||
@@ -25,7 +29,7 @@
|
||||
</label>
|
||||
</article>
|
||||
{{!-- Description --}}
|
||||
<article class="infos">
|
||||
<article class="tab infos active" data-group="primary" data-tab="infos">
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
|
||||
{{editor data.enrichedHtml.description target="system.description" button=true owner=owner editable=editable engine="prosemirror" collaborate=false}}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor._id}}" data-item-id="{{data._id}}">
|
||||
<header class="card-header">
|
||||
<h2 class="item-name"><img src="{{data.img}}" title="{{data.name}}" /> {{data.name}}</h2>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
<ul>
|
||||
{{#if data.system.arcane_type}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.arcane_type'}}</strong> : {{data.system.arcane_type}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.applicationDisplay}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.application'}}</strong> : {{data.system.applicationDisplay}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.bonus}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.bonus'}}</strong> : {{data.system.bonus}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.progression}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.progression'}}</strong> : {{data.system.progression}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.xp_used}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.xp_used'}}</strong> : {{data.system.xp_used}}
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -5,13 +5,34 @@
|
||||
</header>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- attributes --}}
|
||||
<article class="attributes" data-group="primary" data-tab="description">
|
||||
<label class="equipped checkbox">
|
||||
<input type="checkbox" name="system.equipped" {{checked data.system.equipped}} />
|
||||
{{ localize 'l5r5e.armors.equipped' }}
|
||||
{{!-- Row 1 : quantité / rareté / coût / équipé --}}
|
||||
<label class="value">
|
||||
{{localize 'l5r5e.sheets.quantity'}}
|
||||
<input class="select-on-focus" type="number" name="system.quantity" value="{{data.system.quantity}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
<label class="value">
|
||||
{{localize 'l5r5e.sheets.rarity'}}
|
||||
<input class="select-on-focus" type="text" name="system.rarity" value="{{data.system.rarity}}" data-dtype="String" placeholder="—"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
{{localize 'l5r5e.money.zeni'}}
|
||||
<input class="select-on-focus" type="text" name="system.zeni" value="{{data.system.zeni}}" data-dtype="String" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute-value checkbox">
|
||||
<input type="checkbox" name="system.equipped" {{checked data.system.equipped}} />
|
||||
{{localize 'l5r5e.armors.equipped'}}
|
||||
</label>
|
||||
{{!-- Row 2 : défenses + catégorie --}}
|
||||
<label class="stat">
|
||||
<span>{{localize 'l5r5e.armors.physical'}}</span>
|
||||
<input class="select-on-focus" type="number" name="system.armor.physical" value="{{data.system.armor.physical}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<label class="stat">
|
||||
<span>{{localize 'l5r5e.armors.supernatural'}}</span>
|
||||
<input class="select-on-focus" type="number" name="system.armor.supernatural" value="{{data.system.armor.supernatural}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<label class="category">
|
||||
{{localize 'l5r5e.armors.type'}}
|
||||
<select name="system.armor_category">
|
||||
<option value="">—</option>
|
||||
@@ -19,6 +40,7 @@
|
||||
</select>
|
||||
</label>
|
||||
</article>
|
||||
{{!-- Description pleine largeur --}}
|
||||
<article class="tab infos active" data-group="primary" data-tab="infos">
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{data.img}}" data-edit="img" title="{{data.name}}"/>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name"/></h1>
|
||||
</header>
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item active" data-group="primary" data-tab="attributes">{{localize 'l5r5e.sheets.attributes'}}</a>
|
||||
<a class="item" data-group="primary" data-tab="description">{{localize 'l5r5e.sheets.infos'}}</a>
|
||||
</nav>
|
||||
<section class="sheet-body">
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.etat.application'}}
|
||||
<input type="text" name="system.application" value="{{data.system.application}}" />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.etat.mod'}}
|
||||
<input class="select-on-focus" type="number" name="system.mod" value="{{data.system.mod}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.etat.effect'}}
|
||||
<input type="text" name="system.effect" value="{{data.system.effect}}" />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.etat.elimination'}}
|
||||
<input type="text" name="system.elimination" value="{{data.system.elimination}}" />
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -19,7 +19,7 @@
|
||||
<input class="select-on-focus" type="text" name="system.rarity" value="{{data.system.rarity}}" data-dtype="String" placeholder="0"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
<i class="fas fa-coins"></i>
|
||||
{{localize 'l5r5e.money.zeni'}}
|
||||
<input class="select-on-focus" type="text" name="system.zeni" value="{{data.system.zeni}}" data-dtype="String" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
@@ -1,13 +1,17 @@
|
||||
{{#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}})
|
||||
{{localize (concat 'l5r5e.' type 's.title')}} ({{cat.length}})
|
||||
{{#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}} {{#ifCond ../data.storeInfos 'includes' (concat 'inventory-item-list-' type)}}toggle-hidden{{/ifCond}}">
|
||||
{{#each cat as |item id|}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-entry.html' item=item id=id editable=../../options.editable soft_locked=../../data.system.soft_locked}}
|
||||
{{#ifCond item.type '==' 'weapon'}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/weapon/weapon-entry.html' weapon=item id=id editable=../../data.editable_not_soft_locked}}
|
||||
{{else}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-entry.html' item=item id=id editable=../../options.editable soft_locked=../../data.system.soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/each}}
|
||||
@@ -0,0 +1,22 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor._id}}" data-item-id="{{data._id}}">
|
||||
<header class="card-header">
|
||||
<h2 class="item-name"><img src="{{data.img}}" title="{{data.name}}" /> {{data.name}}</h2>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.technique.invocation_type'}}</strong> : {{localize (concat 'chiaroscuro.technique.invocation_types.' data.system.invocation_type)}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.technique.mode_invocation'}}</strong> : {{data.system.mode_invocation}}
|
||||
</li>
|
||||
{{#if data.system.xp_used}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.xp_used'}}</strong> : {{data.system.xp_used}}
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -17,9 +17,13 @@
|
||||
{{localize 'chiaroscuro.technique.mode_invocation'}}
|
||||
<input class="select-on-focus" type="number" id="mot_invocation_mode" name="system.mode_invocation" value="{{data.system.mode_invocation}}" data-dtype="Number" placeholder="0" readonly />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.xp_used'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_used" value="{{data.system.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
{{!-- Description --}}
|
||||
<article class="infos">
|
||||
<article class="tab infos active" data-group="primary" data-tab="infos">
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
|
||||
{{editor data.enrichedHtml.description target="system.description" button=true owner=owner editable=editable engine="prosemirror" collaborate=false}}
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
{{selectOptions data.mystereTypes selected=data.system.mystere_type valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.xp_used'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_used" value="{{data.system.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.mystere.prerequisite_skill'}}
|
||||
<input type="text" name="system.prerequisite_skill" value="{{data.system.prerequisite_skill}}" />
|
||||
@@ -20,7 +24,7 @@
|
||||
<input type="text" name="system.prerequisite_condition" value="{{data.system.prerequisite_condition}}" />
|
||||
</label>
|
||||
</article>
|
||||
<article class="infos">
|
||||
<article class="tab infos active" data-group="primary" data-tab="infos">
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
|
||||
{{editor data.enrichedHtml.description target="system.description" button=true owner=owner editable=editable engine="prosemirror" collaborate=false}}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor._id}}" data-item-id="{{data._id}}">
|
||||
<header class="card-header">
|
||||
<h2 class="item-name"><img src="{{data.img}}" title="{{data.name}}" /> {{data.name}}</h2>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
<ul>
|
||||
{{#if data.system.mystere_type}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.mystere.mystere_type'}}</strong> : {{data.system.mystere_type}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.prerequisite_skill}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.mystere.prerequisite_skill'}}</strong> : {{data.system.prerequisite_skill}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.prerequisite_condition}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.mystere.prerequisite_condition'}}</strong> : {{data.system.prerequisite_condition}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.xp_used}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.xp_used'}}</strong> : {{data.system.xp_used}}
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -0,0 +1,26 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor._id}}" data-item-id="{{data._id}}">
|
||||
<header class="card-header">
|
||||
<h2 class="item-name"><img src="{{data.img}}" title="{{data.name}}" /> {{data.name}}</h2>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
<ul>
|
||||
{{#if data.system.application}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.application'}}</strong> : {{data.system.application}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.bonus}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.bonus'}}</strong> : {{data.system.bonus}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if data.system.xp_used}}
|
||||
<li>
|
||||
<strong>{{localize 'chiaroscuro.arcane.xp_used'}}</strong> : {{data.system.xp_used}}
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -15,9 +15,13 @@
|
||||
{{localize 'chiaroscuro.arcane.bonus'}}
|
||||
<input class="select-on-focus" type="number" name="system.bonus" value="{{data.system.bonus}}" data-dtype="Number" min="0" placeholder="3" readonly />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.xp_used'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_used" value="{{data.system.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
{{!-- Description --}}
|
||||
<article class="infos">
|
||||
<article class="tab infos active" data-group="primary" data-tab="infos">
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
|
||||
{{editor data.enrichedHtml.description target="system.description" button=true owner=owner editable=editable engine="prosemirror" collaborate=false}}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<li class="item weapon flexcol">
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{weapon.img}}" title="{{weapon.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name dice-picker l5r5e-tooltip" data-item-id="{{weapon.id}}" data-weapon-id="{{weapon.id}}">{{weapon.name}}</li>
|
||||
<li class="item-name dice-picker l5r5e-tooltip" data-item-id="{{weapon._id}}" data-weapon-id="{{weapon._id}}">{{weapon.name}}</li>
|
||||
<li class="icon-stat-container">
|
||||
<i class="fas fa-arrows-alt-h" title="{{localize 'l5r5e.weapons.range'}}"> {{weapon.system.range}}</i>
|
||||
<i class="fas fa-tint" title="{{localize 'l5r5e.weapons.damage'}}"> {{weapon.system.damage}}</i>
|
||||
<i class="fas fa-skull" title="{{localize 'l5r5e.weapons.deadliness'}}"> {{weapon.system.deadliness}}</i>
|
||||
</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{weapon.id}}" class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{weapon.id}}" class="item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
<li data-item-id="{{weapon._id}}" class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{weapon._id}}" class="item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
<ul class="item-properties">
|
||||
<li class="equip-readied-control" data-item-id="{{weapon.id}}" data-type="readied">
|
||||
<li class="equip-readied-control" data-item-id="{{weapon._id}}" data-type="readied">
|
||||
<i class="i_readied fa{{^if weapon.system.readied}}r{{/if}} fa-check-circle" title="{{#if weapon.system.readied}}{{localize 'l5r5e.weapons.readied'}}{{else}}{{localize 'l5r5e.weapons.sheathed'}}{{/if}}"></i>
|
||||
</li>
|
||||
{{#each weapon.system.properties as |property|}}
|
||||
|
||||
@@ -5,48 +5,57 @@
|
||||
</header>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- attributes--}}
|
||||
{{!-- Attributes --}}
|
||||
<article class="attributes" data-group="primary" data-tab="description">
|
||||
{{!-- Row 1 : quantité / rareté / coût / équipé --}}
|
||||
<label class="value">
|
||||
{{localize 'l5r5e.sheets.quantity'}}
|
||||
<input class="select-on-focus" type="number" name="system.quantity" value="{{data.system.quantity}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
{{localize 'l5r5e.sheets.rarity'}}
|
||||
<input class="select-on-focus" type="text" name="system.rarity" value="{{data.system.rarity}}" data-dtype="String" placeholder="—"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
{{localize 'l5r5e.money.zeni'}}
|
||||
<input class="select-on-focus" type="text" name="system.zeni" value="{{data.system.zeni}}" data-dtype="String" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute-value checkbox">
|
||||
<input type="checkbox" name="system.equipped" {{checked data.system.equipped}} />
|
||||
{{localize 'l5r5e.weapons.sheathed'}}
|
||||
</label>
|
||||
<label class="attribute-value checkbox">
|
||||
<input type="checkbox" name="system.readied" {{checked data.system.readied}} />
|
||||
{{localize 'l5r5e.weapons.readied'}}
|
||||
<label class="value">
|
||||
<span>{{localize 'chiaroscuro.weapon.bonus'}}</span>
|
||||
<input class="select-on-focus" type="number" name="system.bonus" value="{{data.system.bonus}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
{{!-- Row 3 : catégorie + compétence --}}
|
||||
<label class="category">
|
||||
{{localize 'l5r5e.weapons.category'}}
|
||||
<select name="system.category">
|
||||
{{selectOptions data.weaponCategories selected=data.system.category valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.weapon.bonus'}}
|
||||
<input class="select-on-focus" type="number" name="system.bonus" value="{{data.system.bonus}}" data-dtype="Number" placeholder="0"/>
|
||||
</label>
|
||||
<label class="skillType">
|
||||
{{localize 'l5r5e.skills.label'}}
|
||||
<select class="attribute-dtype" name="system.skill">
|
||||
{{selectOptions data.skills selected=data.system.skill valueAttr='id' labelAttr='label' localize=true}}
|
||||
</select>
|
||||
</label>
|
||||
<fieldset class="stats">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.weapons.stats'}}</legend>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.range'}}
|
||||
<input class="select-on-focus" type="text" name="system.range" value="{{data.system.range}}" data-dtype="String" placeholder="0"/>
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.damage'}}
|
||||
<input class="select-on-focus" type="number" name="system.damage" value="{{data.system.damage}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.deadliness'}}
|
||||
<input class="select-on-focus" type="number" name="system.deadliness" value="{{data.system.deadliness}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</fieldset>
|
||||
{{!-- Row 4 : apprêté + prises --}}
|
||||
<label class="attribute-value checkbox">
|
||||
<input type="checkbox" name="system.readied" {{checked data.system.readied}} />
|
||||
{{localize 'l5r5e.weapons.readied'}}
|
||||
</label>
|
||||
<label class="grip">
|
||||
{{localize 'l5r5e.weapons.1hand'}}
|
||||
<input class="select-on-focus" type="text" name="system.grip_1" value="{{data.system.grip_1}}" data-dtype="String" placeholder="—"/>
|
||||
</label>
|
||||
<label class="grip">
|
||||
{{localize 'l5r5e.weapons.2hand'}}
|
||||
<input class="select-on-focus" type="text" name="system.grip_2" value="{{data.system.grip_2}}" data-dtype="String" placeholder="—"/>
|
||||
</label>
|
||||
</article>
|
||||
{{!-- Description pleine largeur --}}
|
||||
<article class="tab infos active" data-group="primary" data-tab="infos">
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{localize 'l5r5e.logo.drivethrurpg.link'}}" target="_blank" title="{{localize 'l5r5e.logo.drivethrurpg.info"'}}">
|
||||
<a href="{{localize 'l5r5e.logo.drivethrurpg.link'}}" target="_blank" title="{{localize 'l5r5e.logo.drivethrurpg.info'}}">
|
||||
{{localize 'l5r5e.logo.drivethrurpg.title'}}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user