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

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