COrrections, WIP
This commit is contained in:
@@ -1,81 +0,0 @@
|
||||
<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-uuid pointer" src="{{data.img}}" {{#if data.editable_not_soft_locked}}data-edit="img"{{/if}} data-actor-uuid="{{actor.uuid}}" draggable="true" title="{{data.name}}"/>
|
||||
<div class="header-fields identity-wrapper">
|
||||
<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>
|
||||
<label class="attribute-label casualties">
|
||||
<input name="system.battle_readiness.casualties_strength.value" type="number" value="{{data.system.battle_readiness.casualties_strength.value}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="increment-control casualties">
|
||||
<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>
|
||||
<label class="attribute-label strength">
|
||||
<input name="system.battle_readiness.casualties_strength.max" type="number" value="{{data.system.battle_readiness.casualties_strength.max}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<strong>{{localize 'l5r5e.army.battle_readiness.strength'}}</strong>
|
||||
</li>
|
||||
<li>
|
||||
<label class="attribute-label panic">
|
||||
<input name="system.battle_readiness.panic_discipline.value" type="number" value="{{data.system.battle_readiness.panic_discipline.value}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="increment-control panic">
|
||||
<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>
|
||||
<label class="attribute-label discipline">
|
||||
<input name="system.battle_readiness.panic_discipline.max" type="number" value="{{data.system.battle_readiness.panic_discipline.max}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</label>
|
||||
<strong>{{localize 'l5r5e.army.battle_readiness.discipline'}}</strong>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="army">{{localize 'TYPES.Actor.army'}}</a>
|
||||
<a class="item" data-tab="cohort">{{localize 'l5r5e.army.cohort.tab'}}</a>
|
||||
<a class="item" data-tab="fortification">{{localize 'l5r5e.army.fortification.tab'}}</a>
|
||||
<a class="item" data-tab="others">{{localize 'l5r5e.sheets.notes'}}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Army Tab --}}
|
||||
<article class="tab army" data-group="primary" data-tab="army">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/army/army.html'}}
|
||||
</article>
|
||||
|
||||
{{!-- Cohort Tab --}}
|
||||
<article class="tab cohort" data-group="primary" data-tab="cohort">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/army/cohort.html'}}
|
||||
</article>
|
||||
|
||||
{{!-- Fortification Tab --}}
|
||||
<article class="tab fortification" data-group="primary" data-tab="fortification">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/army/fortification.html'}}
|
||||
</article>
|
||||
|
||||
{{!-- Others Tab --}}
|
||||
<article class="tab others" data-group="primary" data-tab="others">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/army/others.html'}}
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,66 +0,0 @@
|
||||
<div class="header-fields warlord">
|
||||
<fieldset>
|
||||
<legend>{{#if data.editable_not_soft_locked}}{{^if data.system.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.system.warlord_actor_id}}
|
||||
<label>
|
||||
<a data-actor-id="{{data.system.warlord_actor_id}}" class="open-sheet-from-uuid">{{data.system.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="system.warlord" type="text" value="{{data.system.warlord}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
{{/if}}
|
||||
</p>
|
||||
<p>
|
||||
<strong>{{localize 'l5r5e.army.allies_backers'}}</strong>
|
||||
<textarea type="text" name="system.allies_backers" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.allies_backers}}</textarea>
|
||||
</p>
|
||||
<p>
|
||||
<strong>{{localize 'l5r5e.army.purpose_mustering'}}</strong>
|
||||
<textarea type="text" name="system.purpose_mustering" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.purpose_mustering}}</textarea>
|
||||
</p>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="header-fields commander">
|
||||
<fieldset>
|
||||
<legend>{{#if data.editable_not_soft_locked}}{{^if data.system.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.system.commander_actor_id}}
|
||||
<label>
|
||||
<a data-actor-id="{{data.system.commander_actor_id}}" class="open-sheet-from-uuid">{{data.system.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="system.commander" type="text" value="{{data.system.commander}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="standing">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.social.honor'}}</strong>
|
||||
<input name="system.commander_standing.honor" type="number" value="{{data.system.commander_standing.honor}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.social.glory'}}</strong>
|
||||
<input name="system.commander_standing.glory" type="number" value="{{data.system.commander_standing.glory}}" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.social.status'}}</strong>
|
||||
<input name="system.commander_standing.status" type="number" value="{{data.system.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="system.commander_abilities" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.commander_abilities}}</textarea>
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset class="army-abilities">
|
||||
<legend>{{localize 'l5r5e.army.army_abilities'}}</legend>
|
||||
{{editor data.enrichedHtml.army_abilities target="system.army_abilities" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
</div>
|
||||
@@ -1,13 +0,0 @@
|
||||
<fieldset class="cohort-content">
|
||||
<legend class="section-header">
|
||||
{{localize 'l5r5e.army.cohort.title'}}
|
||||
{{#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/l5rx-chiaroscuro/templates/items/army-cohort/army-cohort-entry.html' cohort=item editable=../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -1,13 +0,0 @@
|
||||
<fieldset class="fortification-content">
|
||||
<legend class="section-header">
|
||||
{{localize 'l5r5e.army.fortification.title'}}
|
||||
{{#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/l5rx-chiaroscuro/templates/items/army-fortification/army-fortification-entry.html' fortification=item editable=../data.editable_not_soft_locked}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -1,23 +0,0 @@
|
||||
{{!-- Supplies and Logistics --}}
|
||||
<fieldset class="supplies_logistics">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.army.supplies_logistics'}}</legend>
|
||||
{{editor data.enrichedHtml.supplies_logistics target="system.supplies_logistics" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
|
||||
{{!-- Past Battles --}}
|
||||
<fieldset class="past_battles">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.army.past_battles'}}</legend>
|
||||
{{editor data.enrichedHtml.past_battles target="system.past_battles" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
|
||||
{{!-- Description (public) --}}
|
||||
<fieldset class="description">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description'}}</legend>
|
||||
{{editor data.enrichedHtml.description target="system.description" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
|
||||
{{!-- Notes (private) --}}
|
||||
<fieldset class="note">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.notes'}}</legend>
|
||||
{{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
@@ -19,9 +19,9 @@
|
||||
</div>
|
||||
<div class="header-fields mid-wrapper">
|
||||
<div class="central-col">{{> 'systems/l5rx-chiaroscuro/templates/actors/character/rings.html'}}</div>
|
||||
</div>
|
||||
<div class="header-fields chiaroscuro-aspects-wrapper">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/aspects.html'}}
|
||||
<div class="chiaroscuro-aspects-wrapper">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/aspects.html'}}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{!-- Sheet Body --}}
|
||||
@@ -34,10 +34,10 @@
|
||||
<a class="item" data-tab="skills">{{localize 'l5r5e.skills.title'}}</a>
|
||||
<a class="item" data-tab="narrative">{{localize 'l5r5e.sheets.narrative'}}</a>
|
||||
<a class="item" data-tab="invocations">{{localize 'chiaroscuro.tabs.invocations'}}</a>
|
||||
<a class="item" data-tab="conflict">{{localize 'l5r5e.conflict.title'}}</a>
|
||||
<a class="item" data-tab="inventory">{{localize 'l5r5e.sheets.inventory'}}</a>
|
||||
<a class="item" data-tab="experience">{{localize 'l5r5e.sheets.experience'}}</a>
|
||||
<a class="item" data-tab="identity">{{localize 'chiaroscuro.tabs.identity'}}</a>
|
||||
<a class="item" data-tab="notes">{{localize 'l5r5e.sheets.notes'}}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Skills Tab --}}
|
||||
@@ -55,11 +55,6 @@
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/narrative.html'}}
|
||||
</article>
|
||||
|
||||
{{!-- Conflict Tab --}}
|
||||
<article class="tab conflict" data-group="primary" data-tab="conflict">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/conflict.html'}}
|
||||
</article>
|
||||
|
||||
{{!-- Inventory Tab --}}
|
||||
<article class="tab inventory" data-group="primary" data-tab="inventory">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/inventory.html'}}
|
||||
@@ -79,5 +74,10 @@
|
||||
<article class="tab identity" data-group="primary" data-tab="identity">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/identity-text.html'}}
|
||||
</article>
|
||||
|
||||
{{!-- Notes Tab --}}
|
||||
<article class="tab notes" data-group="primary" data-tab="notes">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/notes.html'}}
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
@@ -11,11 +11,13 @@
|
||||
<button class="initiative dice-picker" data-initiative="true" data-skill="command">{{localize 'l5r5e.conflict.initiative.mass_battle'}}</button>
|
||||
</fieldset>
|
||||
<fieldset class="stances-content flexrow">
|
||||
<legend class="section-header">{{localize 'l5r5e.conflict.stance'}}</legend>
|
||||
<legend class="section-header">{{localize 'chiaroscuro.character.default_ring'}}</legend>
|
||||
<ul class="item-list">
|
||||
{{#each data.system.rings as |ringValue ringId|}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance.html' stance=../data.system.stance ringId=ringId}}
|
||||
{{/each}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance.html' stance=data.system.stance ringId="air"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance.html' stance=data.system.stance ringId="water"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance.html' stance=data.system.stance ringId="fire"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance.html' stance=data.system.stance ringId="earth"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance.html' stance=data.system.stance ringId="void"}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
|
||||
@@ -1,22 +1,3 @@
|
||||
<fieldset class="xp">
|
||||
<legend>{{localize 'l5r5e.sheets.experience'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.advancements.total'}}
|
||||
<input class="centered-input select-on-focus" type="number" name="system.xp_total" value="{{data.system.xp_total}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<span class="increment-control xp">
|
||||
<i class="xp-control pointer-choice fa fa-plus-square" data-type="xp" data-value="1"></i>
|
||||
<i class="xp-control pointer-choice fa fa-minus-square" data-type="xp" data-value="-1"></i>
|
||||
</span>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<input class="centered-input select-on-focus" type="number" name="system.xp_spent" value="{{data.system.xp_spent}}" data-dtype="Number" min="0" placeholder="0" disabled/>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.advancements.saved'}}
|
||||
<input class="centered-input select-on-focus" type="number" name="system.xp_saved" value="{{data.system.xp_saved}}" data-dtype="Number" min="0" placeholder="0" disabled/>
|
||||
</label>
|
||||
</fieldset>
|
||||
{{!-- School progession --}}
|
||||
<fieldset class="advancement advancements-body">
|
||||
<legend class="tools">
|
||||
|
||||
@@ -30,19 +30,3 @@
|
||||
<legend>{{localize 'l5r5e.sheets.equipment'}}</legend>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/items.html'}}
|
||||
</fieldset>
|
||||
{{!-- item patterns list --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{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.type '==' 'item_pattern'}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -1,17 +1,22 @@
|
||||
<div class="invocations-wrapper">
|
||||
{{#each data.splitInvocationsList as |list type|}}
|
||||
<fieldset class="section-header flexrow">
|
||||
<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>
|
||||
{{/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}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
{{/each}}
|
||||
<div class="invocations-roll-header">
|
||||
<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|}}
|
||||
<fieldset class="section-header flexrow invocation-column">
|
||||
<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>
|
||||
{{/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}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,38 +1,20 @@
|
||||
<div class="narrative-content">
|
||||
{{!-- Ninjo/Giri --}}
|
||||
{{!-- Ninjo --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.social.title'}}</legend>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.social.ninjo'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.ninjo'}}
|
||||
<textarea type="text" name="system.social.ninjo" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.ninjo}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{#if data.system.is_samurai}}
|
||||
{{localize 'l5r5e.social.giri'}}
|
||||
{{else}}
|
||||
{{localize 'chiaroscuro.character.past_problems'}}
|
||||
{{/if}}
|
||||
{{#if data.system.is_samurai}}
|
||||
<textarea type="text" name="system.social.giri" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.giri}}</textarea>
|
||||
{{else}}
|
||||
<textarea type="text" name="system.social.past_problems" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.past_problems}}</textarea>
|
||||
{{/if}}
|
||||
</label>
|
||||
</fieldset>
|
||||
{{!-- Bushido Tenets --}}
|
||||
{{!-- Passé problématique --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{localize 'l5r5e.social.bushido_tenets.title'}}</legend>
|
||||
<legend class="text-block-header">{{localize 'chiaroscuro.character.past_problems'}}</legend>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.bushido_tenets.paramount'}}
|
||||
<textarea type="text" name="system.social.bushido_tenets.paramount" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.bushido_tenets.paramount}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">
|
||||
{{localize 'l5r5e.social.bushido_tenets.less_significant'}}
|
||||
<textarea type="text" name="system.social.bushido_tenets.less_significant" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.bushido_tenets.less_significant}}</textarea>
|
||||
<textarea type="text" name="system.social.past_problems" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.past_problems}}</textarea>
|
||||
</label>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="narrative-list">
|
||||
<div class="narrative-list narrative-list-full">
|
||||
{{!-- Advantages --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
@@ -59,38 +41,20 @@
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond '["adversity","anxiety"]' 'includes' item.system.peculiarity_type}}
|
||||
{{#ifCond '["adversity","anxiety"]' 'includes' item.system.peculiarity_type}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
{{!-- Bonds --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.bonds' }}
|
||||
{{#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.type '==' 'bond'}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/bond/bond-entry.html' bond=bond id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="narrative-fluff">
|
||||
{{!-- Description (public) --}}
|
||||
<fieldset class="narrative-description">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.description' }}</legend>
|
||||
{{editor data.enrichedHtml.description target="system.description" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
{{!-- Notes (private) --}}
|
||||
<fieldset class="narrative-note">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.sheets.notes' }}</legend>
|
||||
{{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
</div>
|
||||
<fieldset class="stances-content flexrow">
|
||||
<legend class="text-block-header">{{localize 'chiaroscuro.character.default_ring'}}</legend>
|
||||
<ul class="item-list">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="air"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="water"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="fire"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="earth"}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="void"}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
3
system/templates/actors/character/notes.html
Normal file
3
system/templates/actors/character/notes.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="notes-wrapper">
|
||||
{{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable engine="prosemirror" collaborate=false}}
|
||||
</div>
|
||||
6
system/templates/actors/character/stance-simple.html
Normal file
6
system/templates/actors/character/stance-simple.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<li class="stance-content">
|
||||
<label class="stance-title {{ringId}}">
|
||||
{{localizeRing ringId}}
|
||||
<input id="stance_{{ringId}}_narrative" type="radio" name="system.stance" value="{{ringId}}" {{radioChecked ringId stance}}/>
|
||||
</label>
|
||||
</li>
|
||||
@@ -2,19 +2,3 @@
|
||||
<legend>{{localize 'l5r5e.sheets.equipment'}}</legend>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/items.html'}}
|
||||
</fieldset>
|
||||
{{!-- item patterns list --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{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.type '==' 'item_pattern'}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
@@ -57,22 +57,6 @@
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
{{!-- Bonds --}}
|
||||
<fieldset>
|
||||
<legend class="text-block-header">
|
||||
{{localize 'l5r5e.social.bonds' }}
|
||||
{{#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.type '==' 'bond'}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/bond/bond-entry.html' bond=bond id=id editable=../data.editable_not_soft_locked}}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="narrative-fluff">
|
||||
{{!-- Description (public) --}}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<div class="l5r5e chat-roll chiaroscuro-chat-roll">
|
||||
{{!-- Header --}}
|
||||
{{!-- Ring accent bar --}}
|
||||
<div class="chi-ring-bar {{ring.id}}"></div>
|
||||
|
||||
{{!-- Header: portrait + actor + ring badge --}}
|
||||
<div class="chi-chat-header">
|
||||
<img class="profile-img" src="{{profileImg}}" alt="{{actor.name}}" />
|
||||
<div class="chi-chat-actor">
|
||||
@@ -7,22 +10,59 @@
|
||||
{{#if quickInfo}}<div class="chi-chat-quick-info">{{quickInfo}}</div>{{/if}}
|
||||
</div>
|
||||
<div class="chi-chat-badges">
|
||||
<span class="ring-icon {{ring.id}}" title="{{ring.label}}"><i class="i_{{ring.id}}"></i></span>
|
||||
{{#if useAspectPoint}}<span class="chi-aspect-badge {{aspectType}}" title="{{localize 'chiaroscuro.dice.aspect_point'}}">
|
||||
<span class="chi-ring-badge {{ring.id}}" title="{{ring.label}}">
|
||||
<i class="i_{{ring.id}}"></i>
|
||||
<span class="chi-ring-name">{{ring.label}}</span>
|
||||
<span class="chi-ring-val">{{ring.value}}</span>
|
||||
</span>
|
||||
{{#if useAspectPoint}}<span class="chi-aspect-badge {{aspectType}}">
|
||||
{{#ifCond aspectType '==' 'solar'}}☀{{else}}☽{{/ifCond}}
|
||||
<span class="chi-badge-label">{{localize (concat 'chiaroscuro.aspects.' aspectType)}}</span>
|
||||
</span>{{/if}}
|
||||
{{#if useAssistance}}<span class="chi-assistance-badge">
|
||||
⚑ <span class="chi-badge-label">{{localize 'chiaroscuro.dice.assistance'}}</span>
|
||||
</span>{{/if}}
|
||||
{{#if useAssistance}}<span class="chi-assistance-badge" title="{{localize 'chiaroscuro.dice.assistance'}}">⚑</span>{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Roll description line --}}
|
||||
<div class="chi-chat-desc">
|
||||
{{#if skill.name}}<span class="chi-chat-skill">{{skill.name}}</span>{{/if}}
|
||||
<span class="chi-chat-vs">→</span>
|
||||
<span class="chi-chat-diff">{{localize (concat 'chiaroscuro.difficulties.' difficulty.id)}}</span>
|
||||
{{!-- Context: skill (rank) → difficulty --}}
|
||||
<div class="chi-chat-context">
|
||||
{{#if skill.name}}
|
||||
<span class="chi-ctx-skill">{{skill.name}}</span>
|
||||
{{#if skill.rank}}<span class="chi-ctx-rank chi-rank-{{skill.rank}}">{{localize (concat 'chiaroscuro.skill_ranks.' skill.rank)}}</span>{{/if}}
|
||||
<span class="chi-ctx-arrow">→</span>
|
||||
{{/if}}
|
||||
<span class="chi-ctx-diff-name">{{localize (concat 'chiaroscuro.difficulties.' difficulty.id)}}</span>
|
||||
</div>
|
||||
|
||||
{{!-- Dice results --}}
|
||||
{{!-- Formula: ring val [× multiplier] = nbDice d6 --}}
|
||||
<div class="chi-chat-formula">
|
||||
<span class="chi-fml-base {{ring.id}}">{{ring.value}}d6</span>
|
||||
{{#if useAspectPoint}}
|
||||
<span class="chi-fml-mult {{aspectType}}">
|
||||
{{#if useAssistance}}× 3{{else}}× 2{{/if}}
|
||||
<em>{{#ifCond aspectType '==' 'solar'}}☀{{else}}☽{{/ifCond}}{{#if useAssistance}} ⚑{{/if}}</em>
|
||||
</span>
|
||||
{{else}}{{#if useAssistance}}
|
||||
<span class="chi-fml-mult">× 2 <em>⚑</em></span>
|
||||
{{/if}}{{/if}}
|
||||
{{#if skill.bonus}}<span class="chi-fml-bonus">+{{skill.bonus}}</span>{{/if}}
|
||||
{{#if modifier}}<span class="chi-fml-mod {{#ifCond modifier '>' 0}}chi-fml-pos{{else}}chi-fml-neg{{/ifCond}}">{{#ifCond modifier '>' 0}}+{{/ifCond}}{{modifier}}</span>{{/if}}
|
||||
<span class="chi-fml-eq">= {{nbDice}}d6</span>
|
||||
</div>
|
||||
|
||||
{{!-- Dice pool (raw, only shown if parangon adjusted) --}}
|
||||
{{#if wasAdjusted}}
|
||||
<div class="chi-dice-section-label">{{localize 'chiaroscuro.dice.raw_dice'}}</div>
|
||||
<div class="chi-chat-dice-pool chi-dice-raw">
|
||||
{{#each rawResults}}
|
||||
<span class="chi-die chi-die-sm {{#ifCond this '<' 3}}die-low{{else}}{{#ifCond this '>' 4}}die-high{{/ifCond}}{{/ifCond}}">{{this}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="chi-dice-section-label">{{localize 'chiaroscuro.dice.adjusted_dice'}}</div>
|
||||
{{/if}}
|
||||
|
||||
{{!-- Dice pool (adjusted / main) --}}
|
||||
<div class="chi-chat-dice-pool">
|
||||
{{#each adjustedResults}}
|
||||
<span class="chi-die {{#ifCond this '<' 3}}die-low{{else}}{{#ifCond this '>' 4}}die-high{{/ifCond}}{{/ifCond}}">
|
||||
@@ -32,21 +72,33 @@
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
{{!-- Breakdown --}}
|
||||
{{!-- Breakdown: sum [+bonus] [±mod] = total / diff --}}
|
||||
<div class="chi-chat-breakdown">
|
||||
<span>{{localize 'chiaroscuro.dice.dice_result'}} : {{rawSum}}</span>
|
||||
{{#if skill.bonus}}<span> + {{skill.bonus}} ({{localize 'chiaroscuro.dice.bonus'}})</span>{{/if}}
|
||||
{{#if modifier}}<span> {{#ifCond modifier '>' 0}}+{{/ifCond}}{{modifier}} ({{localize 'chiaroscuro.dice.modifier_label'}})</span>{{/if}}
|
||||
<strong> = {{total}}</strong>
|
||||
<span class="chi-bd-part chi-bd-sum" title="{{localize 'chiaroscuro.dice.dice_result'}}">{{rawSum}}</span>
|
||||
{{#if skill.bonus}}
|
||||
<span class="chi-bd-part chi-bd-pos">+{{skill.bonus}}</span>
|
||||
{{/if}}
|
||||
{{#if modifier}}
|
||||
<span class="chi-bd-part {{#ifCond modifier '>' 0}}chi-bd-pos{{else}}chi-bd-neg{{/ifCond}}">{{#ifCond modifier '>' 0}}+{{/ifCond}}{{modifier}}</span>
|
||||
{{/if}}
|
||||
<span class="chi-bd-eq">=</span>
|
||||
<span class="chi-bd-total">{{total}}</span>
|
||||
<span class="chi-bd-vs">/</span>
|
||||
<span class="chi-bd-diff">{{difficulty.value}}</span>
|
||||
</div>
|
||||
|
||||
{{!-- Result --}}
|
||||
{{!-- Result banner --}}
|
||||
<div class="chi-chat-result {{#if success}}chi-success{{else}}chi-failure{{/if}}">
|
||||
{{#if success}}
|
||||
<i class="fas fa-check"></i> {{localize 'chiaroscuro.dice.success'}}
|
||||
{{#if bonus}}<span class="chi-bonus-successes">(+{{bonus}})</span>{{/if}}
|
||||
{{else}}
|
||||
<i class="fas fa-times"></i> {{localize 'chiaroscuro.dice.failure'}}
|
||||
{{/if}}
|
||||
<div class="chi-result-icon">
|
||||
{{#if success}}<i class="fas fa-check-circle"></i>{{else}}<i class="fas fa-times-circle"></i>{{/if}}
|
||||
</div>
|
||||
<div class="chi-result-body">
|
||||
<span class="chi-result-text">{{#if success}}{{localize 'chiaroscuro.dice.success'}}{{else}}{{localize 'chiaroscuro.dice.failure'}}{{/if}}</span>
|
||||
{{#if success}}{{#if bonus}}
|
||||
<span class="chi-result-delta chi-result-bonus">+{{bonus}} {{localize 'chiaroscuro.dice.bonus_successes'}}</span>
|
||||
{{/if}}{{else}}{{#if missBy}}
|
||||
<span class="chi-result-delta chi-result-miss">−{{missBy}} {{localize 'chiaroscuro.dice.miss_by'}}</span>
|
||||
{{/if}}{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
<nav class="encounters flexrow l5r5e" id="l5r5e_gm_combat_tracker_bar">
|
||||
<ul class="encounter">
|
||||
{{#each encounterTypeList}}
|
||||
<li class="encounter encounter-control" data-id="{{this}}">
|
||||
<i class="fa fas encounter-icon-{{this}}{{#ifCond this '==' ../encounterType}} active{{/ifCond}}" title="{{localize (localize 'l5r5e.conflict.initiative.{id}' id=this)}}"></i>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<ul class="prepared">
|
||||
{{#each prepared as |prepared charType|}}
|
||||
<li class="encounter prepared-control" data-id="{{charType}}">
|
||||
<i class="fa fas prepared-icon-{{prepared}} prepared-{{charType}}" title="{{localize (localize 'l5r5e.conflict.initiative.prepared_{value}' value=prepared)}} ({{localize (localize 'l5r5e.character_types.{type}' type=charType)}})"></i>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</nav>
|
||||
@@ -1,141 +0,0 @@
|
||||
<form class="l5r5e gm-monitor" autocomplete="off">
|
||||
{{#ifCond data.view "==" "characters"}}
|
||||
{{!-- Characters & Npcs --}}
|
||||
<table>
|
||||
<thead>
|
||||
<th class="img"></th>
|
||||
<th class="name">{{localize 'l5r5e.sheets.name'}}</th>
|
||||
<th class="stance"><i class="i_earth"></i></th>
|
||||
<th class="prepared"><i class="fas prepared-icon-true"></i></th>
|
||||
<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.sheets.rank'}}</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>
|
||||
<th class="void"><i class="i_void"></i></th>
|
||||
<th class=""></th>
|
||||
<th class=""></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each data.actors as |actor|}}
|
||||
<tr>
|
||||
<td><img data-actor-uuid="{{actor.uuid}}" draggable="true" class="profile actor-profile dragndrop-actor-uuid pointer" title="{{actor.name}}" src="{{actor.img}}"></td>
|
||||
<td>
|
||||
<a data-uuid="{{actor.uuid}}" class="open-sheet-from-uuid">{{actor.name}}</a>
|
||||
{{#if actor.system.attitude}}<p>({{actor.system.attitude}})</p>{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<a data-actor-uuid="{{actor.uuid}}" data-type="stance" class="actor-modify-control">
|
||||
<i data-type="text" data-text="<h2>{{localize 'l5r5e.conflict.stance'}} ({{localizeRing actor.system.stance}} - {{lookup actor.system.rings actor.system.stance}})</h2>{{localizeStanceTip actor.system.stance}}" class="i_{{actor.system.stance}} actor-infos-control"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a data-actor-uuid="{{actor.uuid}}" 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-uuid="{{actor.uuid}}" 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-uuid="{{actor.uuid}}" class="fas fa-user-shield actor-infos-control"></i>{{/if}}</td>
|
||||
<td>
|
||||
<p>
|
||||
{{#if actor.system.identity.school_rank}}
|
||||
{{actor.system.identity.school_rank}}
|
||||
{{else}}
|
||||
<i class="i_bushi" title="{{localize 'l5r5e.social.npc.combat'}}"></i> {{actor.system.conflict_rank.martial}} <i class="i_courtier" title="{{localize 'l5r5e.social.npc.intrigue'}}"></i> {{actor.system.conflict_rank.social}}
|
||||
{{/if}}
|
||||
</p>
|
||||
<p>
|
||||
{{#if actor.system.rings_affinities}}
|
||||
{{#each actor.system.rings_affinities as |ringValue ringId|}}
|
||||
{{#if ringValue}}
|
||||
<i class="i_{{ringId}}" title="{{localizeRing ringId}}"></i> {{ringValue}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-type="fatigue" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.system.fatigue.value '>' actor.system.fatigue.max}}badvalue{{/ifCond}}">{{actor.system.fatigue.value}}</span>
|
||||
/ {{actor.system.fatigue.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-type="strife" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.system.strife.value '>' actor.system.strife.max}}badvalue{{/ifCond}}">{{actor.system.strife.value}}</span>
|
||||
/ {{actor.system.strife.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{actor.system.focus}}
|
||||
/ {{#if actor.system.is_afflicted_or_compromised}}<span class="badvalue">1</span>{{else}}{{actor.system.vigilance}}{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-type="void_points" class="actor-modify-control">
|
||||
{{actor.system.void_points.value}}
|
||||
/ {{actor.system.void_points.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td><i data-actor-uuid="{{actor.uuid}}" data-type="global" class="fas fa-question-circle actor-infos-control"></i></td>
|
||||
<td><span data-actor-uuid="{{actor.uuid}}" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
{{else}}
|
||||
{{!-- Armies --}}
|
||||
<table>
|
||||
<thead>
|
||||
<th class="img"></th>
|
||||
<th class="name">{{localize 'l5r5e.sheets.name'}}</th>
|
||||
<th class="warlord">{{localize 'l5r5e.army.warlord'}}</th>
|
||||
<th class="casualties"><i class="fas fa-user-injured" title="{{localize 'l5r5e.army.battle_readiness.casualties'}}"></i> / <i class="fas fa-fist-raised" title="{{localize 'l5r5e.army.battle_readiness.strength'}}"></i></th>
|
||||
<th class="panic"><i class="fas fa-ghost" title="{{localize 'l5r5e.army.battle_readiness.panic'}}"></i> / <i class="fas fa-user-friends" title="{{localize 'l5r5e.army.battle_readiness.discipline'}}"></i></th>
|
||||
<th class="commander">{{localize 'l5r5e.army.commander'}} {{localize 'l5r5e.gm.monitor.honor_glory_status'}}</th>
|
||||
<th class=""></th>
|
||||
<th class=""></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each data.actors as |actor|}}
|
||||
<tr>
|
||||
<td><img data-actor-uuid="{{actor.uuid}}" draggable="true" class="profile actor-profile dragndrop-actor-uuid pointer" title="{{actor.name}}" src="{{actor.img}}"></td>
|
||||
<td><a data-uuid="{{actor.uuid}}" class="open-sheet-from-uuid">{{actor.name}}</a></td>
|
||||
<td>
|
||||
{{#if actor.system.warlord_actor_id}}
|
||||
<a data-actor-id="{{actor.system.warlord_actor_id}}" class="open-sheet-from-uuid">{{actor.system.warlord}}</a>
|
||||
{{else}}
|
||||
{{actor.system.warlord}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-type="casualties" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.system.battle_readiness.casualties_strength.value '>' actor.system.battle_readiness.casualties_strength.max}}badvalue{{/ifCond}}">{{actor.system.battle_readiness.casualties_strength.value}}</span>
|
||||
/ {{actor.system.battle_readiness.casualties_strength.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-type="panic" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.system.battle_readiness.panic_discipline.value '>' actor.system.battle_readiness.panic_discipline.max}}badvalue{{/ifCond}}">{{actor.system.battle_readiness.panic_discipline.value}}</span>
|
||||
/ {{actor.system.battle_readiness.panic_discipline.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{#if actor.system.commander_actor_id}}
|
||||
<a data-actor-id="{{actor.system.commander_actor_id}}" class="open-sheet-from-uuid">{{actor.system.commander}}</a>
|
||||
{{else}}
|
||||
{{actor.system.commander}}
|
||||
{{/if}}
|
||||
<br>
|
||||
<span class="{{#ifCond actor.system.commander_standing.honor '>' 64}}goodvalue{{/ifCond}}{{#ifCond actor.system.commander_standing.honor '<' 30}}badvalue{{/ifCond}}">{{actor.system.commander_standing.honor}}</span>
|
||||
/ <span class="{{#ifCond actor.system.commander_standing.glory '>' 64}}goodvalue{{/ifCond}}{{#ifCond actor.system.commander_standing.glory '<' 20}}badvalue{{/ifCond}}">{{actor.system.commander_standing.glory}}</span>
|
||||
/ {{actor.system.commander_standing.status}}
|
||||
</td>
|
||||
<td><i data-actor-uuid="{{actor.uuid}}" data-type="global" class="fas fa-question-circle actor-infos-control"></i></td>
|
||||
<td><span data-actor-uuid="{{actor.uuid}}" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
{{/ifCond}}
|
||||
</form>
|
||||
@@ -1,20 +0,0 @@
|
||||
<form class="l5r5e gm-toolbox" autocomplete="off">
|
||||
<ul class="gm-tools-container">
|
||||
<li class="gm_monitor" data-action="open_gm_monitor" title="{{localize 'l5r5e.gm.monitor.title'}}">
|
||||
<i class="fas fa-table"></i>
|
||||
</li>
|
||||
<li class="difficulty_hidden" data-action="toggle_hide_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty_hidden'}}">
|
||||
<i class="fa fa-eye{{#if difficultyHidden}}-slash{{/if}}"></i>
|
||||
<strong class="difficulty" data-action="change_difficulty" title="{{localize 'l5r5e.gm.toolbox.difficulty'}}">{{difficulty}}</strong>
|
||||
</li>
|
||||
<li class="gm_actor_updates reset_void" data-action="reset_void" title="{{localize 'l5r5e.gm.toolbox.reset_void'}}">
|
||||
<i class="fas fa-podcast"></i>
|
||||
</li>
|
||||
<li class="gm_actor_updates sleep" data-action="sleep" title="{{localize 'l5r5e.gm.toolbox.sleep'}}">
|
||||
<i class="fa fa-bed"></i>
|
||||
</li>
|
||||
<li class="gm_actor_updates scene_end" data-action="scene_end" title="{{localize 'l5r5e.gm.toolbox.scene_end'}}">
|
||||
<i class="fas fa-star-half-alt"></i>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
@@ -1,55 +0,0 @@
|
||||
<section class="tab standard-form scrollable {{tabs.army.cssClass}}"
|
||||
data-tab="army" data-group="{{tabs.army.group}}">
|
||||
<table>
|
||||
<thead>
|
||||
<th class="img"></th>
|
||||
<th class="name">{{localize 'l5r5e.sheets.name'}}</th>
|
||||
<th class="warlord">{{localize 'l5r5e.army.warlord'}}</th>
|
||||
<th class="casualties"><i class="fas fa-user-injured" title="{{localize 'l5r5e.army.battle_readiness.casualties'}}"></i> / <i class="fas fa-fist-raised" title="{{localize 'l5r5e.army.battle_readiness.strength'}}"></i></th>
|
||||
<th class="panic"><i class="fas fa-ghost" title="{{localize 'l5r5e.army.battle_readiness.panic'}}"></i> / <i class="fas fa-user-friends" title="{{localize 'l5r5e.army.battle_readiness.discipline'}}"></i></th>
|
||||
<th class="commander">{{localize 'l5r5e.army.commander'}} {{localize 'l5r5e.gm.monitor.honor_glory_status'}}</th>
|
||||
<th class=""></th>
|
||||
<th class=""></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each armies as |army|}}
|
||||
<tr>
|
||||
<td><img data-actor-uuid="{{army.uuid}}" draggable="true" class="profile actor-profile dragndrop-actor-uuid pointer" title="{{army.name}}" src="{{army.img}}"></td>
|
||||
<td><a data-uuid="{{army.uuid}}" class="open-sheet-from-uuid">{{army.name}}</a></td>
|
||||
<td>
|
||||
{{#if army.system.warlord_actor_id}}
|
||||
<a data-actor-id="{{army.system.warlord_actor_id}}" class="open-sheet-from-uuid">{{army.system.warlord}}</a>
|
||||
{{else}}
|
||||
{{army.system.warlord}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{army.uuid}}" data-action="modify_casualties" class="actor-modify-control">
|
||||
<span class="{{#ifCond army.system.battle_readiness.casualties_strength.value '>' army.system.battle_readiness.casualties_strength.max}}badvalue{{/ifCond}}">{{army.system.battle_readiness.casualties_strength.value}}</span>
|
||||
/ {{army.system.battle_readiness.casualties_strength.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{army.uuid}}" data-action="modify_panic" class="actor-modify-control">
|
||||
<span class="{{#ifCond army.system.battle_readiness.panic_discipline.value '>' army.system.battle_readiness.panic_discipline.max}}badvalue{{/ifCond}}">{{army.system.battle_readiness.panic_discipline.value}}</span>
|
||||
/ {{army.system.battle_readiness.panic_discipline.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{#if army.system.commander_actor_id}}
|
||||
<a data-actor-id="{{army.system.commander_actor_id}}" class="open-sheet-from-uuid">{{army.system.commander}}</a>
|
||||
{{else}}
|
||||
{{army.system.commander}}
|
||||
{{/if}}
|
||||
<br>
|
||||
<span class="{{#ifCond army.system.commander_standing.honor '>' 64}}goodvalue{{/ifCond}}{{#ifCond army.system.commander_standing.honor '<' 30}}badvalue{{/ifCond}}">{{army.system.commander_standing.honor}}</span>
|
||||
/ <span class="{{#ifCond army.system.commander_standing.glory '>' 64}}goodvalue{{/ifCond}}{{#ifCond army.system.commander_standing.glory '<' 20}}badvalue{{/ifCond}}">{{army.system.commander_standing.glory}}</span>
|
||||
/ {{army.system.commander_standing.status}}
|
||||
</td>
|
||||
<td><i data-actor-uuid="{{army.uuid}}" data-type="global" class="fas fa-question-circle actor-infos-control"></i></td>
|
||||
<td><span data-actor-uuid="{{army.uuid}}" data-action="remove_actor" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@@ -1,85 +0,0 @@
|
||||
<section class="tab standard-form scrollable {{tabs.character.cssClass}}"
|
||||
data-tab="character" data-group="{{tabs.character.group}}">
|
||||
<table>
|
||||
<thead>
|
||||
<th class="img"></th>
|
||||
<th class="name">{{localize 'l5r5e.sheets.name'}}</th>
|
||||
<th class="stance"><i class="i_earth"></i></th>
|
||||
<th class="prepared"><i class="fas prepared-icon-true"></i></th>
|
||||
<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.sheets.rank'}}</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>
|
||||
<th class="void"><i class="i_void"></i></th>
|
||||
<th class=""></th>
|
||||
<th class=""></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each characters as |actor|}}
|
||||
<tr>
|
||||
<td><img data-actor-uuid="{{actor.uuid}}" draggable="true" class="profile actor-profile dragndrop-actor-uuid pointer" title="{{actor.name}}" src="{{actor.img}}"></td>
|
||||
<td>
|
||||
<a data-uuid="{{actor.uuid}}" class="open-sheet-from-uuid">{{actor.name}}</a>
|
||||
{{#if actor.system.attitude}}<p>({{actor.system.attitude}})</p>{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<a data-actor-uuid="{{actor.uuid}}" class="actor-modify-control" data-action="change_stance">
|
||||
<i data-type="text" data-text="<h2>{{localize 'l5r5e.conflict.stance'}} ({{localizeRing actor.system.stance}} - {{lookup actor.system.rings actor.system.stance}})</h2>{{localizeStanceTip actor.system.stance}}" class="i_{{actor.system.stance}} actor-infos-control"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a data-actor-uuid="{{actor.uuid}}" class="actor-modify-control" data-action="toggle_prepared">
|
||||
<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-uuid="{{actor.uuid}}" 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-uuid="{{actor.uuid}}" class="fas fa-user-shield actor-infos-control"></i>{{/if}}</td>
|
||||
<td>
|
||||
<p>
|
||||
{{#if actor.system.identity.school_rank}}
|
||||
{{actor.system.identity.school_rank}}
|
||||
{{else}}
|
||||
<i class="i_bushi" title="{{localize 'l5r5e.social.npc.combat'}}"></i> {{actor.system.conflict_rank.martial}} <i class="i_courtier" title="{{localize 'l5r5e.social.npc.intrigue'}}"></i> {{actor.system.conflict_rank.social}}
|
||||
{{/if}}
|
||||
</p>
|
||||
<p>
|
||||
{{#if actor.system.rings_affinities}}
|
||||
{{#each actor.system.rings_affinities as |ringValue ringId|}}
|
||||
{{#if ringValue}}
|
||||
<i class="i_{{ringId}}" title="{{localizeRing ringId}}"></i> {{ringValue}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-action="modify_fatigue" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.system.fatigue.value '>' actor.system.fatigue.max}}badvalue{{/ifCond}}">{{actor.system.fatigue.value}}</span>
|
||||
/ {{actor.system.fatigue.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-action="modify_strife" class="actor-modify-control">
|
||||
<span class="{{#ifCond actor.system.strife.value '>' actor.system.strife.max}}badvalue{{/ifCond}}">{{actor.system.strife.value}}</span>
|
||||
/ {{actor.system.strife.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{actor.system.focus}}
|
||||
/ {{#if actor.system.is_afflicted_or_compromised}}<span class="badvalue">1</span>{{else}}{{actor.system.vigilance}}{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<a title="{{localize 'l5r5e.gm.monitor.mouse_control'}}" data-actor-uuid="{{actor.uuid}}" data-action="modify_voidPoint" class="actor-modify-control">
|
||||
{{actor.system.void_points.value}}
|
||||
/ {{actor.system.void_points.max}}
|
||||
</a>
|
||||
</td>
|
||||
<td><i data-actor-uuid="{{actor.uuid}}" data-type="global" class="fas fa-question-circle actor-infos-control"></i></td>
|
||||
<td><span data-actor-uuid="{{actor.uuid}}" class="actor-remove-control pointer" data-action="remove_actor" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@@ -1,9 +0,0 @@
|
||||
{{!-- Equipped Armors --}}
|
||||
<h2>{{localize 'l5r5e.armors.title'}}</h2>
|
||||
<section>
|
||||
<ul>
|
||||
{{#each armors as |armor|}}
|
||||
<li>{{{armor}}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</section>
|
||||
@@ -1,45 +0,0 @@
|
||||
<section>
|
||||
<h2>{{localize 'TYPES.Actor.army'}}</h2>
|
||||
<ul>
|
||||
{{!-- warlord --}}
|
||||
<li><b>{{localize 'l5r5e.army.allies_backers'}}</b> : {{actorData.system.allies_backers}}</li>
|
||||
<li><b>{{localize 'l5r5e.army.purpose_mustering'}}</b> : {{actorData.system.purpose_mustering}}</li>
|
||||
|
||||
{{!-- commander --}}
|
||||
<li><b>{{localize 'l5r5e.army.commander_abilities'}}</b> : {{actorData.system.commander_abilities}}</li>
|
||||
<li><b>{{localize 'l5r5e.army.army_abilities'}}</b> : {{{actorData.enrichedHtml.army_abilities}}}</li>
|
||||
</ul>
|
||||
{{!-- description --}}
|
||||
<p>{{{actorData.enrichedHtml.description}}}</p>
|
||||
|
||||
{{!-- Cohorts --}}
|
||||
{{#if actorData.splitItemsList.army_cohort}}
|
||||
<h2>{{localize 'l5r5e.army.cohort.tab'}}</h2>
|
||||
<ul>
|
||||
{{#each actorData.splitItemsList.army_cohort as |cohort|}}
|
||||
<li>
|
||||
<b>{{cohort.name}} {{#if cohort.system.leader}}({{cohort.system.leader}}){{/if}}</b>
|
||||
<br>
|
||||
<i class="fas fa-user-injured" title="{{localize 'l5r5e.army.battle_readiness.casualties'}}"> {{cohort.system.battle_readiness.casualties_strength.value}}</i>
|
||||
<i class="fas fa-fist-raised" title="{{localize 'l5r5e.army.battle_readiness.strength'}}"> {{cohort.system.battle_readiness.casualties_strength.max}}</i>
|
||||
<i class="fas fa-ghost" title="{{localize 'l5r5e.army.battle_readiness.panic'}}"> {{cohort.system.battle_readiness.panic_discipline.value}}</i>
|
||||
<i class="fas fa-user-friends" title="{{localize 'l5r5e.army.battle_readiness.discipline'}}"> {{cohort.system.battle_readiness.panic_discipline.max}}</i>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
||||
{{!-- Fortifications --}}
|
||||
{{#if actorData.splitItemsList.army_fortification}}
|
||||
<h2>{{localize 'l5r5e.army.fortification.tab'}}</h2>
|
||||
<ul>
|
||||
{{#each actorData.splitItemsList.army_fortification as |fortification|}}
|
||||
<li>
|
||||
<b>{{fortification.name}}</b>
|
||||
<i class="fas fa-skull" title="{{localize 'l5r5e.army.fortification.difficulty'}}"> {{fortification.system.difficulty}}</i>
|
||||
<i class="fas fa-dungeon" title="{{localize 'l5r5e.army.fortification.attrition_reduction'}}"> {{fortification.system.attrition_reduction}}</i>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
</section>
|
||||
@@ -1,29 +0,0 @@
|
||||
<section>
|
||||
<ul>
|
||||
{{!-- Ninjo/Giri --}}
|
||||
<li><b>{{localize 'l5r5e.social.ninjo'}}</b> : {{actorData.system.social.ninjo}}</li>
|
||||
<li><b>{{localize 'l5r5e.social.giri'}}</b> : {{actorData.system.social.giri}}</li>
|
||||
|
||||
{{!-- Bushido Tenet --}}
|
||||
<li><b>{{localize 'l5r5e.social.bushido_tenets.paramount'}}</b> : {{actorData.system.social.bushido_tenets.paramount}}</li>
|
||||
<li><b>{{localize 'l5r5e.social.bushido_tenets.less_significant'}}</b> : {{actorData.system.social.bushido_tenets.less_significant}}</li>
|
||||
|
||||
{{!-- 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.system.social.honor '>' 64}}goodvalue{{/ifCond}}{{#ifCond actorData.system.social.honor '<' 30}}badvalue{{/ifCond}}">{{actorData.system.social.honor}}</span></li>
|
||||
<li><b>{{localize 'l5r5e.social.glory'}}</b> : <span class="{{#ifCond actorData.system.social.glory '>' 64}}goodvalue{{/ifCond}}{{#ifCond actorData.system.social.glory '<' 20}}badvalue{{/ifCond}}">{{actorData.system.social.glory}}</span></li>
|
||||
<li><b>{{localize 'l5r5e.social.status'}}</b> : {{actorData.system.social.status}}</li>
|
||||
</ul>
|
||||
{{#ifCond actor_type "==" "character"}}
|
||||
{{!-- 20Q --}}
|
||||
<ul>
|
||||
<li><b>{{localize (localize 'l5r5e.twenty_questions.part5.q14{suffix}' suffix=suffix)}}</b> : {{actorData.system.twenty_questions.step14.first_sight}}</li>
|
||||
<li><b>{{localize (localize 'l5r5e.twenty_questions.part5.q15{suffix}' suffix=suffix)}}</b> : {{actorData.system.twenty_questions.step15.stress}}</li>
|
||||
<li><b>{{localize (localize 'l5r5e.twenty_questions.part7.q20{suffix}' suffix=suffix)}}</b> : {{actorData.system.twenty_questions.step20.death}}</li>
|
||||
</ul>
|
||||
{{/ifCond}}
|
||||
<p>{{{actorData.enrichedHtml.description}}}</p>
|
||||
</section>
|
||||
@@ -1,21 +0,0 @@
|
||||
{{#if readied}}
|
||||
<h2>{{localize 'l5r5e.weapons.readied'}}</h2>
|
||||
<section>
|
||||
<ul>
|
||||
{{#each readied as |weapon|}}
|
||||
<li>{{{weapon}}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
{{#if sheathed}}
|
||||
<h2>{{localize 'l5r5e.weapons.sheathed'}}</h2>
|
||||
<section>
|
||||
<ul>
|
||||
{{#each sheathed as |weapon|}}
|
||||
<li>{{{weapon}}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</section>
|
||||
{{/if}}
|
||||
@@ -27,23 +27,23 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
{{/ifCond}}
|
||||
<label class="cursus attribute-value checkbox">
|
||||
<input type="checkbox" name="system.in_curriculum" {{checked data.system.in_curriculum}} />
|
||||
{{localize 'l5r5e.advancements.curriculum'}}
|
||||
</label>
|
||||
|
||||
{{#ifCond data.system.advancement_type '==' 'mot_invocation'}}
|
||||
<select name="system.invocation_type" id="advancement_invocation_type">
|
||||
{{selectOptions data.invocationTypesList selected=data.system.invocation_type valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
{{/ifCond}}
|
||||
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<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 'l5r5e.sheets.rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.rank" value="{{data.system.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.bought_at_rank" value="{{data.system.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
<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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
@@ -3,12 +3,10 @@
|
||||
<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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
{{!-- Attributes --}}
|
||||
<article class="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.arcane_type'}}
|
||||
<input type="text" name="system.arcane_type" value="{{data.system.arcane_type}}" />
|
||||
@@ -25,11 +23,13 @@
|
||||
{{localize 'chiaroscuro.arcane.progression'}}
|
||||
<input type="text" name="system.progression" value="{{data.system.progression}}" />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.xp_cost'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_cost" value="{{data.system.xp_cost}}" data-dtype="Number" min="0" placeholder="1"/>
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
{{!-- Description --}}
|
||||
<article class="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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
@@ -18,22 +18,12 @@
|
||||
{{selectOptions data.armorCategories selected=data.system.armor_category valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
</label>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-value.html' }}
|
||||
<fieldset class="attribute type">
|
||||
<legend class="text-header">{{localize 'l5r5e.armors.type'}}</legend>
|
||||
<label>
|
||||
{{localize 'l5r5e.armors.physical'}}
|
||||
<input class="select-on-focus" type="number" name="system.armor.physical" value="{{data.system.armor.physical}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.armors.supernatural'}}
|
||||
<input class="select-on-focus" type="number" name="system.armor.supernatural" value="{{data.system.armor.supernatural}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
<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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
<article class="properties" data-group="primary" data-tab="properties">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/property/properties.html' properties=data.propertiesList}}
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<li class="item cohort flexcol actor">
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{cohort.img}}" title="{{cohort.name}}" width="32px" height="32px" {{#if cohort.system.leader_actor_id}}draggable="true" class="dragndrop-actor-uuid pointer" data-actor-id="{{cohort.system.leader_actor_id}}"{{/if}}/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{cohort._id}}">{{cohort.name}}</li>
|
||||
<li class="icon-stat-container">
|
||||
<i class="fas fa-user-injured" title="{{localize 'l5r5e.army.battle_readiness.casualties'}}"> {{cohort.system.battle_readiness.casualties_strength.value}}</i>
|
||||
<i class="fas fa-fist-raised" title="{{localize 'l5r5e.army.battle_readiness.strength'}}"> {{cohort.system.battle_readiness.casualties_strength.max}}</i>
|
||||
<i class="fas fa-ghost" title="{{localize 'l5r5e.army.battle_readiness.panic'}}"> {{cohort.system.battle_readiness.panic_discipline.value}}</i>
|
||||
<i class="fas fa-user-friends" title="{{localize 'l5r5e.army.battle_readiness.discipline'}}"> {{cohort.system.battle_readiness.panic_discipline.max}}</i>
|
||||
</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{cohort._id}}" class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{cohort._id}}" class="item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
<ul class="item-properties">
|
||||
{{#if cohort.system.leader}}<li>{{localize 'l5r5e.army.cohort.leader'}} : {{#if cohort.system.leader_actor_id}}<a data-actor-id="{{cohort.system.leader_actor_id}}" class="open-sheet-from-uuid">{{cohort.system.leader}}</a>{{else}}{{cohort.system.leader}}{{/if}}</li>{{/if}}
|
||||
{{#if cohort.system.equipment}}<li>{{localize 'l5r5e.sheets.equipment'}} : {{cohort.system.equipment}}</li>{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -1,62 +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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- properties Tab --}}
|
||||
<article class="attributes">
|
||||
{{!-- battle readiness --}}
|
||||
<label class="attribute army-cohort-types">
|
||||
{{localize 'l5r5e.army.battle_readiness.casualties'}}
|
||||
<input class="select-on-focus" type="number" name="system.battle_readiness.casualties_strength.value" value="{{data.system.battle_readiness.casualties_strength.value}}" data-dtype="Number"/>
|
||||
</label>
|
||||
<label class="attribute army-cohort-types">
|
||||
{{localize 'l5r5e.army.battle_readiness.strength'}}
|
||||
<input class="select-on-focus" type="number" name="system.battle_readiness.casualties_strength.max" value="{{data.system.battle_readiness.casualties_strength.max}}" data-dtype="Number"/>
|
||||
</label>
|
||||
<label class="attribute army-cohort-types">
|
||||
{{localize 'l5r5e.army.battle_readiness.panic'}}
|
||||
<input class="select-on-focus" type="number" name="system.battle_readiness.panic_discipline.value" value="{{data.system.battle_readiness.panic_discipline.value}}" data-dtype="Number"/>
|
||||
</label>
|
||||
<label class="attribute army-cohort-types">
|
||||
{{localize 'l5r5e.army.battle_readiness.discipline'}}
|
||||
<input class="select-on-focus" type="number" name="system.battle_readiness.panic_discipline.max" value="{{data.system.battle_readiness.panic_discipline.max}}" data-dtype="Number"/>
|
||||
</label>
|
||||
|
||||
<label class="attribute army-cohort-types flx50">
|
||||
{{^if data.system.leader_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.cohort.leader'}}
|
||||
{{#if data.system.leader_actor_id}}
|
||||
<div>
|
||||
<span class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
|
||||
<a data-actor-id="{{data.system.leader_actor_id}}" class="open-sheet-from-uuid">{{data.system.leader}}</a>
|
||||
</div>
|
||||
{{else}}
|
||||
<input class="select-on-focus" type="text" name="system.leader" value="{{data.system.leader}}" data-dtype="String"/>
|
||||
{{/if}}
|
||||
</label>
|
||||
<label class="attribute army-cohort-types flx50">
|
||||
{{localize 'l5r5e.sheets.equipment'}}
|
||||
<input class="select-on-focus" type="text" name="system.equipment" value="{{data.system.equipment}}" data-dtype="String"/>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="infos">{{localize 'l5r5e.sheets.description'}}</a>
|
||||
<a class="item" data-tab="abilities">{{localize 'l5r5e.army.cohort.abilities'}}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- abilities --}}
|
||||
<article class="tab abilities" data-group="primary" data-tab="abilities">
|
||||
<fieldset class="attribute army-cohort-types flx100">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.army.cohort.abilities'}}</legend>
|
||||
{{editor data.enrichedHtml.abilities target="system.abilities" button=true owner=owner editable=editable engine="prosemirror" collaborate=false}}
|
||||
</fieldset>
|
||||
</article>
|
||||
|
||||
{{!-- Description --}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,20 +0,0 @@
|
||||
<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 'l5r5e.army.cohort.leader'}}</strong> : {{data.system.leader}}</li>
|
||||
<li><strong>{{localize 'l5r5e.sheets.equipment'}}</strong> : {{data.system.equipment}}</li>
|
||||
{{!-- battle readiness --}}
|
||||
<li><strong>{{localize 'l5r5e.army.battle_readiness.casualties'}}</strong> : {{data.system.battle_readiness.casualties_strength.value}}</li>
|
||||
<li><strong>{{localize 'l5r5e.army.battle_readiness.strength'}}</strong> : {{data.system.battle_readiness.casualties_strength.max}}</li>
|
||||
<li><strong>{{localize 'l5r5e.army.battle_readiness.panic'}}</strong> : {{data.system.battle_readiness.panic_discipline.value}}</li>
|
||||
<li><strong>{{localize 'l5r5e.army.battle_readiness.discipline'}}</strong> : {{data.system.battle_readiness.panic_discipline.max}}</li>
|
||||
</ul>
|
||||
{{!-- abilities --}}
|
||||
<p><strong>{{localize 'l5r5e.army.cohort.abilities'}}</strong> : {{{data.enrichedHtml.abilities}}}</p>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,14 +0,0 @@
|
||||
<li class="item fortification flexcol">
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{fortification.img}}" title="{{fortification.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{fortification._id}}">{{fortification.name}}</li>
|
||||
<li class="icon-stat-container">
|
||||
<i class="fas fa-skull" title="{{localize 'l5r5e.army.fortification.difficulty'}}"> {{fortification.system.difficulty}}</i>
|
||||
<i class="fas fa-dungeon" title="{{localize 'l5r5e.army.fortification.attrition_reduction'}}"> {{fortification.system.attrition_reduction}}</i>
|
||||
</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{fortification._id}}" class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{fortification._id}}" class="item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -1,22 +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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- properties Tab --}}
|
||||
<article class="attributes" data-group="primary" data-tab="description">
|
||||
<label class="attribute army-fortification-types">
|
||||
{{localize 'l5r5e.army.fortification.difficulty'}}
|
||||
<input class="select-on-focus" type="number" name="system.difficulty" value="{{data.system.difficulty}}" data-dtype="Number"/>
|
||||
</label>
|
||||
|
||||
<label class="attribute army-fortification-types">
|
||||
{{localize 'l5r5e.army.fortification.attrition_reduction'}}
|
||||
<input class="select-on-focus" type="number" name="system.attrition_reduction" value="{{data.system.attrition_reduction}}" data-dtype="Number"/>
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,13 +0,0 @@
|
||||
<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 'l5r5e.army.fortification.difficulty'}}</strong> : {{data.system.difficulty}}</li>
|
||||
<li><strong>{{localize 'l5r5e.army.fortification.attrition_reduction'}}</strong> : {{data.system.attrition_reduction}}</li>
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,15 +0,0 @@
|
||||
<li class="item bond flexcol" data-item-id="{{bond.id}}">
|
||||
<ul class="item-header bond-controls">
|
||||
<li class="item-img"><img src="{{bond.img}}" title="{{bond.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{bond.id}}">{{bond.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{bond.id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{bond.id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{#if bond.system.bond_type}}
|
||||
<ul class="item-properties">
|
||||
<li>{{bond.system.bond_type}} {{bond.system.rank}}</li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
</li>
|
||||
@@ -1,33 +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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute bonds-types">
|
||||
{{localize 'l5r5e.sheets.types'}}
|
||||
<input class="select-on-focus" type="text" name="system.bond_type" value="{{data.system.bond_type}}" data-dtype="String"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_cost" value="{{data.system.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<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 'l5r5e.sheets.rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.rank" value="{{data.system.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.bought_at_rank" value="{{data.system.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,31 +0,0 @@
|
||||
<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 'l5r5e.sheets.types'}}</strong> : {{data.system.bond_type}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.cost'}}</strong> : {{data.system.xp_cost}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.spent'}}</strong> : {{data.system.xp_used}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.rank'}}</strong> : {{data.system.rank}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}
|
||||
</li>
|
||||
</ul>
|
||||
{{!--properties--}}
|
||||
<p>
|
||||
<strong>{{localize 'l5r5e.sheets.properties'}}</strong> :
|
||||
{{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
</p>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,10 +0,0 @@
|
||||
<li class="item item-pattern flexcol" data-item-id="{{pattern.id}}">
|
||||
<ul class="item-header pattern-controls">
|
||||
<li class="item-img"><img src="{{pattern.img}}" title="{{pattern.name}}" width="24px" height="24px"/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{pattern.id}}">{{pattern.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{pattern.id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{pattern.id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -1,48 +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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes item-list" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.rarity_modifier'}}
|
||||
<input class="select-on-focus" type="number" name="system.rarity_modifier" value="{{data.system.rarity_modifier}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_cost" value="{{data.system.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<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 'l5r5e.sheets.rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.rank" value="{{data.system.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.bought_at_rank" value="{{data.system.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute item">
|
||||
{{localize 'l5r5e.sheets.linked_property'}}
|
||||
{{#if data.linkedProperty}}
|
||||
<ul class="item-properties">
|
||||
<li>
|
||||
{{{data.linkedProperty.name}}}
|
||||
{{#if options.editable}}
|
||||
<span data-item-id="{{data.linkedProperty.id}}" class="item-control linked-property-delete" title="{{localize 'Delete'}}"> <i class="fas fa-trash"></i></span>
|
||||
{{/if}}
|
||||
</li>
|
||||
</ul>
|
||||
{{else}}
|
||||
-
|
||||
{{/if}}
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,18 +0,0 @@
|
||||
<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 'l5r5e.advancements.rarity_modifier'}}</strong> : {{data.system.rarity_modifier}}</li>
|
||||
<li><strong>{{localize 'l5r5e.advancements.cost'}}</strong> : {{data.system.xp_cost}}</li>
|
||||
<li><strong>{{localize 'l5r5e.advancements.spent'}}</strong> : {{data.system.xp_used}}</li>
|
||||
<li><strong>{{localize 'l5r5e.sheets.rank'}}</strong> : {{data.system.rank}}</li>
|
||||
<li><strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}</li>
|
||||
</ul>
|
||||
{{!--Linked property--}}
|
||||
<strong>{{localize 'l5r5e.sheets.linked_property'}}</strong> : {{{data.linkedProperty.name}}}
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<li class="item flexcol" data-item-id="{{item._id}}">
|
||||
<ul class="item-header item-control">
|
||||
<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}} <sub>x{{item.system.quantity}}</sub></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{item._id}}">{{item.name}} <span class="item-quantity">×{{item.system.quantity}}</span></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.system.equipped}}fa-tshirt{{else}}fa-weight-hanging{{/if}}"></i></li>
|
||||
{{^if soft_locked}}
|
||||
|
||||
@@ -5,17 +5,29 @@
|
||||
</header>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- properties Tab --}}
|
||||
<article class="attributes" data-group="primary" data-tab="checkbox">
|
||||
<label class="equipped checkbox">
|
||||
<input type="checkbox" name="system.equipped" {{checked data.system.equipped}} />
|
||||
{{ localize 'l5r5e.armors.equipped' }}
|
||||
</label>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-value.html' }}
|
||||
<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="0"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
<i class="fas fa-coins"></i>
|
||||
<input class="select-on-focus" type="text" name="system.zeni" value="{{data.system.zeni}}" data-dtype="String" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
<article class="properties" data-group="primary" data-tab="properties">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/property/properties.html' properties=data.propertiesList }}
|
||||
<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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes --}}
|
||||
<article class="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.technique.invocation_type'}}
|
||||
<select name="system.invocation_type" id="mot_invocation_type">
|
||||
{{selectOptions data.invocationTypesList selected=data.system.invocation_type valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{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>
|
||||
</article>
|
||||
{{!-- Description --}}
|
||||
<article class="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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
@@ -3,12 +3,8 @@
|
||||
<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">
|
||||
<article class="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.mystere.mystere_type'}}
|
||||
<select name="system.mystere_type">
|
||||
@@ -24,6 +20,11 @@
|
||||
<input type="text" name="system.prerequisite_condition" value="{{data.system.prerequisite_condition}}" />
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
<article class="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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
@@ -13,27 +13,20 @@
|
||||
<select class="attribute" name="system.peculiarity_type">
|
||||
{{selectOptions data.subTypesList selected=data.system.peculiarity_type valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
<label class="cursus attribute-value checkbox">
|
||||
<input type="checkbox" name="system.in_curriculum" {{checked data.system.in_curriculum}} />
|
||||
{{localize 'l5r5e.advancements.curriculum'}}
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<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 'l5r5e.sheets.rank' }}
|
||||
<input class="select-on-focus" type="number" name="system.rank" value="{{data.system.rank}}" data-dtype="Number" min="0" placeholder="0" />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.bought_at_rank" value="{{data.system.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0" />
|
||||
</label>
|
||||
<label class="attribute full">
|
||||
{{localize 'l5r5e.sheets.types' }}
|
||||
<input type="text" name="system.types" value="{{data.system.types}}" />
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
<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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,8 +0,0 @@
|
||||
<fieldset class="properties">
|
||||
<legend class="section-header">{{#if propertyTitle}}{{localize propertyTitle}}{{else}}{{localize 'l5r5e.sheets.properties'}}{{/if}}</legend>
|
||||
<ul class="item-list">
|
||||
{{#each properties as |property id|}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/property/property-entry.html' property=property id=id editable=../options.editable}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
@@ -1,9 +0,0 @@
|
||||
<li class="item property flexcol" data-property-id="{{property.id}}">
|
||||
<ul class="item-header property-control">
|
||||
<li class="item-img"><img src="{{property.img}}" title="{{property.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name {{#if removed}}removed{{else}}l5r5e-tooltip{{/if}}" data-property-id="{{property.id}}">{{property.name}}</li>
|
||||
{{#if editable}}
|
||||
<li class="property-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -1,13 +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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<article class="properties" data-group="primary" data-tab="properties">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/property/properties.html' properties=data.propertiesList propertyTitle='l5r5e.sheets.removed_properties'}}
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,16 +0,0 @@
|
||||
<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>
|
||||
{{!--cancelled properties--}}
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.removed_properties'}}</strong> :
|
||||
{{#each data.system.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,10 +0,0 @@
|
||||
<li class="item signature-scroll flexcol" data-item-id="{{scroll.id}}">
|
||||
<ul class="item-header signature-scroll-controls">
|
||||
<li class="item-img"><img src="{{scroll.img}}" title="{{scroll.name}}" width="24px" height="24px"/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{scroll.id}}">{{scroll.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{scroll.id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{scroll.id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -1,29 +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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_cost" value="{{data.system.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<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 'l5r5e.sheets.rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.rank" value="{{data.system.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.bought_at_rank" value="{{data.system.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,23 +0,0 @@
|
||||
<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 'l5r5e.advancements.cost'}}</strong> : {{data.system.xp_cost}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.spent'}}</strong> : {{data.system.xp_used}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.rank'}}</strong> : {{data.system.rank}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,12 +0,0 @@
|
||||
<li class="item technique flexcol" data-item-id="{{technique._id}}" {{#if technique.system.parent_id.item_id}}data-item-parent-id="{{technique.system.parent_id.item_id}}"{{/if}}>
|
||||
<ul class="item-header technique-controls">
|
||||
<li class="item-img"><img src="{{technique.img}}" title="{{technique.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name l5r5e-tooltip {{#if technique.system.skill}}dice-picker-tech{{/if}}" data-item-id="{{technique._id}}" {{#if technique.system.parent_id.item_id}}data-item-parent-id="{{technique.system.parent_id.item_id}}"{{/if}}>{{technique.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{technique._id}}" {{#if technique.system.parent_id.item_id}}data-item-parent-id="{{technique.system.parent_id.item_id}}"{{/if}} class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
{{^if technique.system.parent_id.item_id}}
|
||||
<li data-item-id="{{technique._id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -1,62 +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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
<select name="system.ring">
|
||||
{{selectOptions data.ringsList selected=data.system.ring valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
<select name="system.technique_type">
|
||||
{{selectOptions data.techniquesList selected=data.system.technique_type valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
<label class="cursus attribute-value checkbox">
|
||||
<input type="checkbox" name="system.in_curriculum" {{checked data.system.in_curriculum}} />
|
||||
{{localize 'l5r5e.advancements.curriculum'}}
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_cost" value="{{data.system.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<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 'l5r5e.sheets.rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.rank" value="{{data.system.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.bought_at_rank" value="{{data.system.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.skills.title'}}
|
||||
<input class="select-on-focus" type="text" name="system.skill" value="{{data.system.skill}}" data-dtype="String"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.dice.dicepicker.difficulty_title'}}
|
||||
<input class="select-on-focus" type="text" name="system.difficulty" value="{{data.system.difficulty}}" data-dtype="String"/>
|
||||
</label>
|
||||
{{#if data.isMotInvocation}}
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.technique.invocation_type'}}
|
||||
<select name="system.invocation_type">
|
||||
{{selectOptions data.invocationTypes selected=data.system.invocation_type valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.technique.mode_invocation'}}
|
||||
<select name="system.mode_invocation_str">
|
||||
{{selectOptions data.modeInvocationValues selected=data.system.mode_invocation_str valueAttr='id' labelAttr='label'}}
|
||||
</select>
|
||||
</label>
|
||||
{{/if}}
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,38 +0,0 @@
|
||||
<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 'l5r5e.rings.label'}}</strong> : {{localizeRing data.system.ring}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.types'}}</strong> : {{localizeTechnique data.system.technique_type}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.skills.title'}}</strong> : {{data.system.skill}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.dice.dicepicker.difficulty_title'}}</strong> : {{data.system.difficulty}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.curriculum'}}</strong> : {{localizeYesNo data.system.in_curriculum}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.cost'}}</strong> : {{data.system.xp_cost}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.spent'}}</strong> : {{data.system.xp_used}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.rank'}}</strong> : {{data.system.rank}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
<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>
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Attributes --}}
|
||||
<article class="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'chiaroscuro.arcane.application'}}
|
||||
<input type="text" name="system.application" value="{{data.system.application}}" placeholder="compétence1, catégorie2" />
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{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>
|
||||
</article>
|
||||
{{!-- Description --}}
|
||||
<article class="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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,10 +0,0 @@
|
||||
<li class="item title flexcol" data-item-id="{{title._id}}">
|
||||
<ul class="item-header title-controls">
|
||||
<li class="item-img"><img src="{{title.img}}" title="{{title.name}}" width="24px" height="24px"/></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{title._id}}">{{title.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{title._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{title._id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
@@ -1,69 +0,0 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<input type="hidden" name="system.xp_used" value="{{data.system.xp_used}}" data-dtype="Number">
|
||||
<input type="hidden" name="system.xp_used_total" value="{{data.system.xp_used_total}}" data-dtype="Number">
|
||||
<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>
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes">
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="system.xp_cost" value="{{data.system.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.rank" value="{{data.system.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{localize 'l5r5e.sheets.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="system.bought_at_rank" value="{{data.system.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Sheet Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="infos">{{ localize "l5r5e.sheets.description" }}</a>
|
||||
<a class="item" data-tab="experience">{{ localize "l5r5e.advancements.title" }}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Descr + Page ref --}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
|
||||
{{!-- Embbed advancements --}}
|
||||
<article class="tab experience" data-group="primary" data-tab="experience">
|
||||
{{!-- Others progession (does not count in school xp) --}}
|
||||
<fieldset class="xp-spent xp-spent-body">
|
||||
<legend class="tools">{{localize 'l5r5e.advancements.title'}} {{#if options.editable}}<a data-item-type="advancement-others" class="advancement-others-control item-add" 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="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 editable}}
|
||||
<th class="actions"></th>
|
||||
{{/if}}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="flex">
|
||||
{{#each data.embedItemsList as |advancement|}}
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/advancement-others.html' advancement=advancement show_curriculum_toggle=true editable=../options.editable parent_id=../data._id}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th class="" colspan="5">{{localize 'l5r5e.advancements.total_xp_curriculum'}} : {{data.system.xp_used}} / {{data.system.xp_cost}}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="" colspan="5">{{localize 'l5r5e.advancements.total_xp_spent'}} : {{data.system.xp_used_total}}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</fieldset>
|
||||
</article>
|
||||
</section>
|
||||
</form>
|
||||
@@ -1,35 +0,0 @@
|
||||
<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 'l5r5e.advancements.cost'}}</strong> : {{data.system.xp_cost}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.rank'}}</strong> : {{data.system.rank}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.bought_at_rank'}}</strong> : {{data.system.bought_at_rank}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.total_xp_curriculum'}}</strong> : {{data.system.xp_used}} / {{data.system.xp_cost}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.total_xp_spent'}}</strong> : {{data.system.xp_used_total}}
|
||||
</li>
|
||||
</ul>
|
||||
{{!--advancements--}}
|
||||
{{#if data.embedItemsList}}
|
||||
<p>
|
||||
<strong>{{localize 'l5r5e.advancements.title'}}</strong>
|
||||
<ul>
|
||||
{{#each data.embedItemsList as |advancement|}}<li>{{advancement.name}} ({{advancement.system.xp_used}})</li>{{/each}}
|
||||
</ul>
|
||||
</p>
|
||||
{{/if}}
|
||||
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -15,7 +15,6 @@
|
||||
<input type="checkbox" name="system.readied" {{checked data.system.readied}} />
|
||||
{{localize 'l5r5e.weapons.readied'}}
|
||||
</label>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-value.html'}}
|
||||
<label class="category">
|
||||
{{localize 'l5r5e.weapons.category'}}
|
||||
<select name="system.category">
|
||||
@@ -47,21 +46,12 @@
|
||||
<input class="select-on-focus" type="number" name="system.deadliness" value="{{data.system.deadliness}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset class="stats">
|
||||
<legend class="text-block-header">{{localize 'l5r5e.weapons.grips'}}</legend>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.1hand'}}
|
||||
<input class="grip" type="text" name="system.grip_1" value="{{data.system.grip_1}}" />
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.2hand'}}
|
||||
<input class="grip" type="text" name="system.grip_2" value="{{data.system.grip_2}}" />
|
||||
</label>
|
||||
</article>
|
||||
<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}}
|
||||
</fieldset>
|
||||
</article>
|
||||
<article class="properties" data-group="primary" data-tab="properties">
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/property/properties.html' properties=data.propertiesList}}
|
||||
</article>
|
||||
{{> 'systems/l5rx-chiaroscuro/templates/items/item/item-infos.html'}}
|
||||
</section>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user