COrrections, WIP

This commit is contained in:
2026-04-24 22:04:09 +02:00
parent d75b6cb945
commit e200b5f7b0
126 changed files with 768 additions and 5805 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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">

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View 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>

View 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>

View File

@@ -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>

View File

@@ -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) --}}