Files
l5rx-chiaroscuro/system/templates/actors/npc/narrative.html
Vlyan cda02bd8c7 Working on 0.8.x
- NPC with all ring on strengths/weaknesses (CSS TODO).
- Removed Custom tech "Links" as they are in fact "Bonds" and need more work.
- Added Bonds, SignatureScroll, ItemPatterns and working on titles
2021-05-09 14:43:46 +02:00

78 lines
3.4 KiB
HTML

<fieldset class="narrative-content">
<legend class="text-block-header">
{{localize 'l5r5e.social.npc.advantages'}}
{{#if options.editable}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["distinction","passion"]' 'includes' item.data.data.peculiarity_type}}
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../options.editable}}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
<fieldset class="narrative-content">
<legend class="text-block-header">
{{localize 'l5r5e.social.npc.disadvantages'}}
{{#if options.editable}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["adversity","anxiety"]' 'includes' item.data.data.peculiarity_type}}
{{> 'systems/l5r5e/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../options.editable}}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
{{!-- item-pattern --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.advancements.item_pattern' }}
{{#if options.editable}}
<a data-item-type="item_pattern" class="item-pattern-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |pattern id|}}
{{#ifCond pattern.data.type '==' 'item_pattern'}}
{{> 'systems/l5r5e/templates/items/item-pattern/item-pattern-entry.html' pattern=pattern id=id editable=../options.editable}}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
{{!-- signature-scroll --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.advancements.signature_scroll' }}
{{#if options.editable}}
<a data-item-type="signature_scroll" class="signature-scroll-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |scroll id|}}
{{#ifCond scroll.data.type '==' 'signature_scroll'}}
{{> 'systems/l5r5e/templates/items/signature-scroll/signature-scroll-entry.html' scroll=scroll id=id editable=../options.editable}}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
{{!-- bonds --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.social.bonds' }}
{{#if options.editable}}
<a data-item-type="bond" class="bond-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |bond id|}}
{{#ifCond bond.data.type '==' 'bond'}}
{{> 'systems/l5r5e/templates/items/bond/bond-entry.html' bond=bond id=id editable=../options.editable}}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>