Replaced moving description in items by a big popup on hover.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<tr class="flexrow row advancement">
|
||||
<td class="name" name="advancement.name"><img src="{{advancement.img}}" title="{{advancement.name}}"> {{advancement.name}}{{#if advancement.data.bond_type}} ({{advancement.data.bond_type}}){{/if}}</td>
|
||||
<td class="name l5r5e-tooltip" data-item-id="{{advancement._id}}" name="advancement.name"><img src="{{advancement.img}}" title="{{advancement.name}}"> {{advancement.name}}{{#if advancement.data.bond_type}} ({{advancement.data.bond_type}}){{/if}}</td>
|
||||
{{#if show_curriculum_toggle}}<td class="curriculum" name="curriculum">{{#if advancement.data.in_curriculum}}<i class="fas fa-graduation-cap"></i> {{/if}}</td>{{/if}}
|
||||
<td class="xp" name="advancement.xp">{{#if advancement.data.xp_used_total}}{{advancement.data.xp_used_total}}{{else}}{{advancement.data.xp_used}}{{/if}}</td>
|
||||
<td class="rank" name="advancement.rank">{{advancement.data.rank}}</td>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<tr data-group="advancements" data-tab="advancement_rank_{{rank}}" class="flexrow row advancement tab">
|
||||
<td class="name" name="advancement.name"><img src="{{advancement.img}}" title="{{advancement.name}}"> {{advancement.name}}</td>
|
||||
<td class="name l5r5e-tooltip" data-item-id="{{advancement._id}}" name="advancement.name"><img src="{{advancement.img}}" title="{{advancement.name}}"> {{advancement.name}}</td>
|
||||
<td class="curriculum" name="curriculum">{{#if advancement.data.in_curriculum}}<i class="fas fa-graduation-cap"></i> {{/if}}</td>
|
||||
<td class="xp" name="advancement.xp">{{advancement.data.xp_used}}</td>
|
||||
<td class="rank" name="advancement.rank">{{advancement.data.rank}}</td>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
<li class="item advancement flexcol toggle-on-click" data-toggle="item-description-{{advancement._id}}" data-item-id="{{advancement._id}}">
|
||||
<li class="item advancement flexcol" data-item-id="{{advancement._id}}">
|
||||
<ul class="item-header advancement-controls">
|
||||
<li class="item-img"><img src="{{advancement.img}}" title="{{advancement.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{advancement.name}}</li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{advancement._id}}">{{advancement.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{advancement._id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{advancement._id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{#if advancement.data.data.description}}
|
||||
<div class="item-description item-description-{{advancement._id}}">{{{advancement.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
@@ -15,7 +15,7 @@
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
{{#ifCond data.data.advancement_type '==' 'ring' }}
|
||||
{{#ifCond data.data.advancement_type '==' 'ring'}}
|
||||
<select name="data.ring" id="advancement_ring">
|
||||
{{#select data.data.ring}}
|
||||
{{#each data.ringsList as |obj|}}
|
||||
@@ -25,7 +25,7 @@
|
||||
</select>
|
||||
{{/ifCond}}
|
||||
|
||||
{{#ifCond data.data.advancement_type '==' 'skill' }}
|
||||
{{#ifCond data.data.advancement_type '==' 'skill'}}
|
||||
<select name="data.skill" id="advancement_skill">
|
||||
<option value="">{{localize 'l5r5e.twenty_questions.choose_one_skill'}}</option>
|
||||
{{#select data.data.skill}}
|
||||
@@ -41,18 +41,18 @@
|
||||
{{/ifCond}}
|
||||
<label class="cursus attribute-value checkbox">
|
||||
<input type="checkbox" name="data.in_curriculum" {{checked data.data.in_curriculum}} />
|
||||
{{ localize 'l5r5e.advancements.curriculum' }}
|
||||
{{localize 'l5r5e.advancements.curriculum'}}
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_used" value="{{data.data.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.rank' }}
|
||||
{{localize 'l5r5e.rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.rank" value="{{data.data.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.bought_at_rank' }}
|
||||
{{localize 'l5r5e.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
27
system/templates/items/advancement/advancement-text.html
Normal file
27
system/templates/items/advancement/advancement-text.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{#ifCond data.data.advancement_type '==' 'ring' }}
|
||||
{{localize 'l5r5e.rings.title'}} : {{localizeRing data.data.ring}}
|
||||
{{else}}
|
||||
{{localize 'l5r5e.skill'}} : {{localizeSkillId data.data.skill}}
|
||||
{{/ifCond}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.curriculum'}} : {{#if data.data.in_curriculum}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rank'}} : {{data.data.rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.bought_at_rank'}} : {{data.data.bought_at_rank}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,10 +1,10 @@
|
||||
<li class="item armor flexcol toggle-on-click" data-toggle="item-description-{{armor.id}}" data-item-id="{{armor.id}}">
|
||||
<li class="item armor flexcol" data-item-id="{{armor.id}}">
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{armor.img}}" title="{{armor.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{armor.name}}</li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{armor.id}}">{{armor.name}}</li>
|
||||
<li class="icon-stat-container">
|
||||
<i class="fas fa-tint" title="{{localize 'l5r5e.armors.type'}} {{localize 'l5r5e.armors.physical'}}"> {{armor.data.data.armor.physical}}</i>
|
||||
<i class="fas fa-bolt" title="{{ localize 'l5r5e.armors.type'}} {{localize 'l5r5e.armors.supernatural'}}"> {{armor.data.data.armor.supernatural}}</i>
|
||||
<i class="fas fa-bolt" title="{{localize 'l5r5e.armors.type'}} {{localize 'l5r5e.armors.supernatural'}}"> {{armor.data.data.armor.supernatural}}</i>
|
||||
</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{armor.id}}" class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
@@ -13,10 +13,7 @@
|
||||
</ul>
|
||||
<ul class="item-properties">
|
||||
{{#each armor.data.data.properties as |property id|}}
|
||||
<li>{{{ property.name }}}</li>
|
||||
<li class="l5r5e-tooltip" data-property-id="{{property.id}}">{{{property.name}}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{#if armor.data.data.description}}
|
||||
<div class="item-description item-description-{{armor.id}}">{{{ armor.data.data.description }}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
37
system/templates/items/armor/armor-text.html
Normal file
37
system/templates/items/armor/armor-text.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.weapons.sheathed'}} : {{#if data.data.equipped}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.readied'}} : {{#if data.data.readied}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
|
||||
{{!--item-value--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.quantity'}} : {{data.data.quantity}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weight'}} :{{data.data.weight}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rarity'}} : {{data.data.rarity}}
|
||||
<br>
|
||||
{{localize 'l5r5e.value'}} : {{data.data.zeni}}
|
||||
|
||||
<br>
|
||||
{{localize 'l5r5e.armors.physical'}} : {{data.data.armor.physical}}
|
||||
<br>
|
||||
{{localize 'l5r5e.armors.supernatural'}} : {{data.data.armor.supernatural}}
|
||||
|
||||
{{!--properties--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.properties'}} :
|
||||
{{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<li class="item bond flexcol toggle-on-click" data-toggle="item-description-{{bond.id}}" data-item-id="{{bond.id}}">
|
||||
<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">{{bond.name}}</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>
|
||||
@@ -12,7 +12,4 @@
|
||||
<li>{{bond.data.data.bond_type}} {{bond.data.data.rank}}</li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{#if bond.data.data.description}}
|
||||
<div class="item-description item-description-{{bond.id}}">{{{bond.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
@@ -8,23 +8,23 @@
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute bonds-types">
|
||||
{{ localize 'l5r5e.types' }}
|
||||
{{localize 'l5r5e.types'}}
|
||||
<input class="select-on-focus" type="text" name="data.bond_type" value="{{data.data.bond_type}}" data-dtype="String"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.cost' }}
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_cost" value="{{data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_used" value="{{data.data.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.rank' }}
|
||||
{{localize 'l5r5e.rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.rank" value="{{data.data.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.bought_at_rank' }}
|
||||
{{localize 'l5r5e.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
28
system/templates/items/bond/bond-text.html
Normal file
28
system/templates/items/bond/bond-text.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.types'}} : {{data.data.bond_type}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rank'}} : {{data.data.rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.bought_at_rank'}} : {{data.data.bought_at_rank}}
|
||||
|
||||
{{!--properties--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.properties'}} :
|
||||
{{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,13 +1,10 @@
|
||||
<li class="item item-pattern flexcol toggle-on-click" data-toggle="item-description-{{pattern.id}}" data-item-id="{{pattern.id}}">
|
||||
<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">{{pattern.name}}</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>
|
||||
{{#if pattern.data.data.description}}
|
||||
<div class="item-description item-description-{{pattern.id}}">{{{pattern.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
@@ -8,31 +8,31 @@
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes item-list" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.rarity_modifier' }}
|
||||
{{localize 'l5r5e.advancements.rarity_modifier'}}
|
||||
<input class="select-on-focus" type="number" name="data.rarity_modifier" value="{{data.data.rarity_modifier}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.cost' }}
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_cost" value="{{data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_used" value="{{data.data.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.rank' }}
|
||||
{{localize 'l5r5e.rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.rank" value="{{data.data.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.bought_at_rank' }}
|
||||
{{localize 'l5r5e.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute item">
|
||||
{{ localize 'l5r5e.linked_property' }}
|
||||
{{localize 'l5r5e.linked_property'}}
|
||||
{{#if data.linkedProperty}}
|
||||
<ul class="item-properties">
|
||||
<li>
|
||||
{{{ data.linkedProperty.name }}}
|
||||
{{{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}}
|
||||
|
||||
29
system/templates/items/item-pattern/item-pattern-text.html
Normal file
29
system/templates/items/item-pattern/item-pattern-text.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.advancements.rarity_modifier'}} : {{data.data.rarity_modifier}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rank'}} : {{data.data.rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.bought_at_rank'}} : {{data.data.bought_at_rank}}
|
||||
|
||||
{{!--Linked property--}}
|
||||
{{!--
|
||||
<br>
|
||||
{{localize 'l5r5e.linked_property'}} : {{{data.data.linkedProperty.name}}} linked_property_id
|
||||
--}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<li class="item flexcol toggle-on-click" data-toggle="item-description-{{item._id}}" data-item-id="{{item._id}}">
|
||||
<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">{{ item.name }} <sub>x{{item.data.quantity}}</sub></li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{item._id}}">{{item.name}} <sub>x{{item.data.quantity}}</sub></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.data.equipped}}fa-tshirt{{else}}fa-weight-hanging{{/if}}"></i></li>
|
||||
<li data-item-id="{{item._id}}" class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
@@ -9,11 +9,8 @@
|
||||
{{/if}}
|
||||
</ul>
|
||||
<ul class="item-properties">
|
||||
{{#each item.data.properties as |property id|}}
|
||||
<li>{{{property.name}}}</li>
|
||||
{{#each item.data.properties as |property idx|}}
|
||||
<li class="l5r5e-tooltip" data-property-id="{{property.id}}">{{{property.name}}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{#if item.data.description}}
|
||||
<div class="item-description item-description-{{item._id}}">{{{item.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
32
system/templates/items/item/item-text.html
Normal file
32
system/templates/items/item/item-text.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.weapons.sheathed'}} : {{#if data.data.equipped}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.readied'}} : {{#if data.data.readied}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
|
||||
{{!--item-value--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.quantity'}} : {{data.data.quantity}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weight'}} :{{data.data.weight}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rarity'}} : {{data.data.rarity}}
|
||||
<br>
|
||||
{{localize 'l5r5e.value'}} : {{data.data.zeni}}
|
||||
|
||||
{{!--properties--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.properties'}} :
|
||||
{{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,13 +1,13 @@
|
||||
<label class="value">
|
||||
{{ localize 'l5r5e.quantity' }}
|
||||
{{localize 'l5r5e.quantity'}}
|
||||
<input class="select-on-focus" type="number" name="data.quantity" value="{{data.data.quantity}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
{{ localize 'l5r5e.weight' }}
|
||||
{{localize 'l5r5e.weight'}}
|
||||
<input class="select-on-focus" type="number" name="data.weight" value="{{data.data.weight}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
{{ localize 'l5r5e.rarity' }}
|
||||
{{localize 'l5r5e.rarity'}}
|
||||
<input class="select-on-focus" type="number" name="data.rarity" value="{{data.data.rarity}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="value">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<li class="item peculiarity flexcol toggle-on-click" data-toggle="item-description-{{peculiarity.id}}" data-item-id="{{peculiarity.id}}">
|
||||
<li class="item peculiarity flexcol" data-item-id="{{peculiarity.id}}">
|
||||
<ul class="item-header peculiarity-controls">
|
||||
<li class="item-img"><img src="{{peculiarity.img}}" title="{{peculiarity.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{peculiarity.name}}</li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{peculiarity.id}}">{{peculiarity.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{peculiarity.id}}" class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li data-item-id="{{peculiarity.id}}" class="item-control item-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
|
||||
@@ -12,7 +12,4 @@
|
||||
<li>{{peculiarity.data.data.types}}</li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{#if peculiarity.data.data.description}}
|
||||
<div class="item-description item-description-{{peculiarity.id}}">{{{peculiarity.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
27
system/templates/items/peculiarity/peculiarity-text.html
Normal file
27
system/templates/items/peculiarity/peculiarity-text.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.rings.title'}} : {{localizeRing data.data.ring}}
|
||||
<br>
|
||||
{{localize 'l5r5e.types'}} : {{localize (localize 'l5r5e.peculiarities.types.{type}' type=data.data.peculiarity_type)}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.curriculum'}} : {{#if data.data.in_curriculum}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rank'}} : {{data.data.rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.bought_at_rank'}} : {{data.data.bought_at_rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.types'}} : {{data.data.types}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,12 +1,9 @@
|
||||
<li class="item property flexcol toggle-on-click" data-toggle="item-description-{{property.id}}" data-property-id="{{property.id}}">
|
||||
<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">{{property.name}}</li>
|
||||
<li class="item-name l5r5e-tooltip" 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>
|
||||
{{#if property.data.data.description}}
|
||||
<div class="item-description item-description-{{property.id}}">{{{property.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
12
system/templates/items/property/property-text.html
Normal file
12
system/templates/items/property/property-text.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{!--item-infos--}}
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,13 +1,10 @@
|
||||
<li class="item signature-scroll flexcol toggle-on-click" data-toggle="item-description-{{scroll.id}}" data-item-id="{{scroll.id}}">
|
||||
<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">{{scroll.name}}</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>
|
||||
{{#if scroll.data.data.description}}
|
||||
<div class="item-description item-description-{{scroll.id}}">{{{scroll.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
@@ -8,19 +8,19 @@
|
||||
{{!-- Attributes Tab --}}
|
||||
<article class="attributes" data-group="primary" data-tab="attributes">
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.cost' }}
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_cost" value="{{data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_used" value="{{data.data.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.rank' }}
|
||||
{{localize 'l5r5e.rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.rank" value="{{data.data.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.bought_at_rank' }}
|
||||
{{localize 'l5r5e.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rank'}} : {{data.data.rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.bought_at_rank'}} : {{data.data.bought_at_rank}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<li class="item technique flexcol toggle-on-click" data-toggle="item-description-{{technique._id}}" data-item-id="{{technique._id}}">
|
||||
<li class="item technique flexcol" data-item-id="{{technique._id}}">
|
||||
<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">{{technique.name}}</li>
|
||||
<li class="item-name l5r5e-tooltip" data-item-id="{{technique._id}}" {{#if technique.data.parent_id.item_id}}data-item-parent-id="{{technique.data.parent_id.item_id}}"{{/if}}>{{technique.name}}</li>
|
||||
{{#if editable}}
|
||||
<li data-item-id="{{technique._id}}" {{#if technique.data.parent_id.item_id}}data-item-parent-id="{{technique.data.parent_id.item_id}}"{{/if}} class="item-control item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
{{^if technique.data.parent_id.item_id}}
|
||||
@@ -9,7 +9,4 @@
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{#if technique.data.description}}
|
||||
<div class="item-description item-description-{{technique._id}}">{{{technique.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
@@ -23,22 +23,22 @@
|
||||
</select>
|
||||
<label class="cursus attribute-value checkbox">
|
||||
<input type="checkbox" name="data.in_curriculum" {{checked data.data.in_curriculum}} />
|
||||
{{ localize 'l5r5e.advancements.curriculum' }}
|
||||
{{localize 'l5r5e.advancements.curriculum'}}
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.cost' }}
|
||||
{{localize 'l5r5e.advancements.cost'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_cost" value="{{data.data.xp_cost}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.advancements.spent' }}
|
||||
{{localize 'l5r5e.advancements.spent'}}
|
||||
<input class="select-on-focus" type="number" name="data.xp_used" value="{{data.data.xp_used}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.rank' }}
|
||||
{{localize 'l5r5e.rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.rank" value="{{data.data.rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label class="attribute">
|
||||
{{ localize 'l5r5e.bought_at_rank' }}
|
||||
{{localize 'l5r5e.bought_at_rank'}}
|
||||
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
</article>
|
||||
|
||||
27
system/templates/items/technique/technique-text.html
Normal file
27
system/templates/items/technique/technique-text.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.rings.title'}} : {{localizeRing data.data.ring}}
|
||||
<br>
|
||||
{{localize 'l5r5e.types'}} : {{localizeTechnique data.data.technique_type}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.curriculum'}} : {{#if data.data.in_curriculum}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.spent'}} : {{data.data.xp_used}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rank'}} : {{data.data.rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.bought_at_rank'}} : {{data.data.bought_at_rank}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,13 +1,10 @@
|
||||
<li class="item title flexcol toggle-on-click" data-toggle="item-description-{{title._id}}" data-item-id="{{title._id}}">
|
||||
<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"><i class="i_{{title.data.ring}}" title="{{localizeRing title.data.ring}}"></i> {{title.name}}</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>
|
||||
{{#if title.data.description}}
|
||||
<div class="item-description item-description-{{title._id}}">{{{title.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
30
system/templates/items/title/title-text.html
Normal file
30
system/templates/items/title/title-text.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.advancements.cost'}} : {{data.data.xp_cost}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rank'}} : {{data.data.rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.bought_at_rank'}} : {{data.data.bought_at_rank}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.total_xp_curriculum'}} : {{data.data.xp_used}} / {{data.data.xp_cost}}
|
||||
<br>
|
||||
{{localize 'l5r5e.advancements.total_xp_spent'}} : {{data.data.xp_used_total}}
|
||||
|
||||
{{!--
|
||||
<br>
|
||||
{{#each data.embedItemsList as |advancement|}}
|
||||
{{json advancement}}
|
||||
{{/each}}
|
||||
--}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<li class="item weapon flexcol toggle-on-click" data-toggle="item-description-{{weapon.id}}">
|
||||
<li class="item weapon flexcol">
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{weapon.img}}" title="{{weapon.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name dice-picker" data-weapon-id="{{weapon.id}}">{{weapon.name}}</li>
|
||||
<li class="item-name dice-picker l5r5e-tooltip" data-item-id="{{weapon.id}}" data-weapon-id="{{weapon.id}}">{{weapon.name}}</li>
|
||||
<li class="icon-stat-container">
|
||||
<i class="fas fa-arrows-alt-h" title="{{localize 'l5r5e.weapons.range'}}"> {{weapon.data.data.range}}</i>
|
||||
<i class="fas fa-tint" title="{{localize 'l5r5e.weapons.damage'}}"> {{weapon.data.data.damage}}</i>
|
||||
@@ -16,11 +16,8 @@
|
||||
<li class="equip-readied-control" data-item-id="{{weapon.id}}" data-type="readied">
|
||||
<i class="i_readied fa{{^if weapon.data.data.readied}}r{{/if}} fa-check-circle" title="{{#if weapon.data.data.readied}}{{localize 'l5r5e.weapons.readied'}}{{else}}{{localize 'l5r5e.weapons.sheathed'}}{{/if}}"></i>
|
||||
</li>
|
||||
{{#each weapon.data.data.properties as |property id|}}
|
||||
<li>{{{property.name}}}</li>
|
||||
{{#each weapon.data.data.properties as |property|}}
|
||||
<li class="l5r5e-tooltip" data-property-id="{{property.id}}">{{{property.name}}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{#if weapon.data.data.description}}
|
||||
<div class="item-description item-description-{{weapon.id}}">{{{weapon.data.data.description}}}</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
@@ -1,29 +1,29 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{document.img}}" data-edit="img" title="{{document.name}}"/>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{document.name}}" placeholder="Name"/></h1>
|
||||
<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" data-group="primary" data-tab="description">
|
||||
<label class="attribute-value checkbox">
|
||||
<input type="checkbox" name="data.equipped" {{checked document.data.data.equipped}} />
|
||||
<input type="checkbox" name="data.equipped" {{checked data.data.equipped}} />
|
||||
{{localize 'l5r5e.weapons.sheathed'}}
|
||||
</label>
|
||||
<label class="attribute-value checkbox">
|
||||
<input type="checkbox" name="data.readied" {{checked document.data.data.readied}} />
|
||||
<input type="checkbox" name="data.readied" {{checked data.data.readied}} />
|
||||
{{localize 'l5r5e.weapons.readied'}}
|
||||
</label>
|
||||
{{> 'systems/l5r5e/templates/items/item/item-value.html' }}
|
||||
{{> 'systems/l5r5e/templates/items/item/item-value.html'}}
|
||||
<label class="category">
|
||||
{{localize 'l5r5e.weapons.category'}}
|
||||
<input type="text" name="data.category" value="{{document.data.data.category}}" />
|
||||
<input type="text" name="data.category" value="{{data.data.category}}" />
|
||||
</label>
|
||||
<label class="skillType">
|
||||
{{localize 'l5r5e.skill'}}
|
||||
<select class="attribute-dtype" name="data.skill">
|
||||
{{#select document.data.data.skill}}
|
||||
{{#select data.data.skill}}
|
||||
{{#each data.skills as |id cat|}}
|
||||
<option value="{{id}}">{{localizeSkillId id}}</option>
|
||||
{{/each}}
|
||||
@@ -34,26 +34,26 @@
|
||||
<legend class="text-block-header">{{localize 'l5r5e.weapons.stats'}}</legend>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.range'}}
|
||||
<input class="select-on-focus" type="text" name="data.range" value="{{document.data.data.range}}" data-dtype="String" placeholder="0"/>
|
||||
<input class="select-on-focus" type="text" name="data.range" value="{{data.data.range}}" data-dtype="String" placeholder="0"/>
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.damage'}}
|
||||
<input class="select-on-focus" type="number" name="data.damage" value="{{document.data.data.damage}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="select-on-focus" type="number" name="data.damage" value="{{data.data.damage}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.deadliness'}}
|
||||
<input class="select-on-focus" type="number" name="data.deadliness" value="{{document.data.data.deadliness}}" data-dtype="Number" min="0" placeholder="0"/>
|
||||
<input class="select-on-focus" type="number" name="data.deadliness" value="{{data.data.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="data.grip_1" value="{{document.data.data.grip_1}}" />
|
||||
<input class="grip" type="text" name="data.grip_1" value="{{data.data.grip_1}}" />
|
||||
</label>
|
||||
<label>
|
||||
{{localize 'l5r5e.weapons.2hand'}}
|
||||
<input class="grip" type="text" name="data.grip_2" value="{{document.data.data.grip_2}}" />
|
||||
<input class="grip" type="text" name="data.grip_2" value="{{data.data.grip_2}}" />
|
||||
</label>
|
||||
</fieldset>
|
||||
</article>
|
||||
|
||||
47
system/templates/items/weapon/weapon-text.html
Normal file
47
system/templates/items/weapon/weapon-text.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<div class="{{cssClass}}" data-actor-id="{{actor.data._id}}" data-item-id="{{data.data._id}}">
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{data.img}}" title="{{data.name}}" width="36" height="36"/>
|
||||
<h3 class="item-name">{{data.name}}</h3>
|
||||
</header>
|
||||
<section class="sheet-body">
|
||||
{{localize 'l5r5e.weapons.sheathed'}} : {{#if data.data.equipped}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.readied'}} : {{#if data.data.readied}}{{localize 'Yes'}}{{else}}{{localize 'No'}}{{/if}}
|
||||
|
||||
{{!--item-value--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.quantity'}} : {{data.data.quantity}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weight'}} :{{data.data.weight}}
|
||||
<br>
|
||||
{{localize 'l5r5e.rarity'}} : {{data.data.rarity}}
|
||||
<br>
|
||||
{{localize 'l5r5e.value'}} : {{data.data.zeni}}
|
||||
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.category'}} : {{data.data.category}}
|
||||
<br>
|
||||
{{localize 'l5r5e.skill'}} : {{localizeSkillId data.data.skill}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.range'}} : {{data.data.range}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.damage'}} : {{data.data.damage}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.deadliness'}} : {{data.data.deadliness}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.1hand'}} : {{data.data.grip_1}}
|
||||
<br>
|
||||
{{localize 'l5r5e.weapons.2hand'}} : {{data.data.grip_2}}
|
||||
|
||||
{{!--properties--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.properties'}} :
|
||||
{{#each data.data.properties as |property idx|}}{{#ifCond idx '>' 0}}, {{/ifCond}}{{property.name}}{{/each}}
|
||||
|
||||
{{!--item-infos--}}
|
||||
<br>
|
||||
{{localize 'l5r5e.description'}} : {{{data.data.description}}}
|
||||
<br>
|
||||
{{localize 'l5r5e.book_reference'}} : {{data.data.book_reference}}
|
||||
</section>
|
||||
</div>
|
||||
Reference in New Issue
Block a user