Merge branch 'develop' into #48-draggable-items
This commit is contained in:
commit
b5d1cc6b86
379 files changed
+91
-5390
No files matched your search
@@ -67,6 +67,12 @@
|
||||
<td>{{localize "midgard5.movementRange"}}</td>
|
||||
<td><input name="data.movement" type="text" value="{{data.movement}}" data-dtype="Number" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{localize "midgard5.actor-lp-short"}} {{localize "midgard5.maximum"}}</td>
|
||||
<td><input name="data.lp.max" type="text" value="{{data.lp.max}}" data-dtype="Number" /></td>
|
||||
<td>{{localize "midgard5.actor-ap-short"}} {{localize "midgard5.maximum"}}</td>
|
||||
<td><input name="data.ap.max" type="text" value="{{data.ap.max}}" data-dtype="Number" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{localize "midgard5.brawl"}}</td>
|
||||
<td class="fixed-value">{{data.calc.stats.brawl.value}}</td>
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flexcolumn-3">
|
||||
<div class="flexcolumn-2">
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/skills/melee/shield-block-gray-orange.webp" class="flexpart-icon">{{localize "midgard5.defense"}}</div>
|
||||
<table>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<div class="flexpart" style="height: 250px;">
|
||||
<div class="flexpart-header"><img src="icons/environment/wilderness/mine-interior-dungeon-door.webp" class="flexpart-icon" />{{localize "midgard5.description"}}</div>
|
||||
<br />
|
||||
<div class="biography">{{editor content=data.info.description target="data.info.description" button=true owner=owner editable=editable}}</div>
|
||||
<div class="biography">{{editor data.info.description target="data.info.description" button=true owner=owner editable=editable}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<div class="flexpart" style="height: 250px;">
|
||||
<div class="flexpart-header"><img src="icons/environment/people/group.webp" class="flexpart-icon" />{{localize "midgard5.background"}}</div>
|
||||
<br />
|
||||
<div class="biography">{{editor content=data.info.background target="data.info.background" button=true owner=owner editable=editable}}</div>
|
||||
<div class="biography">{{editor data.info.background target="data.info.background" button=true owner=owner editable=editable}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h3>{{localize "midgard5.wealthAndWeight"}}</h3>
|
||||
<div class="flexbox">
|
||||
<div class="flexcolumn-2">
|
||||
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/commodities/currency/coins-assorted-mix-copper-silver-gold.webp" class="flexpart-icon">{{localize "midgard5.currency"}}</div>
|
||||
<table>
|
||||
@@ -32,7 +32,6 @@
|
||||
</div>
|
||||
|
||||
<div class="flexcolumn-2">
|
||||
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/containers/bags/pack-leather-strapped-tan.webp" class="flexpart-icon">Lasten in Kilogramm</div>
|
||||
<table>
|
||||
@@ -56,56 +55,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flexbox">
|
||||
<div class="flexcolumn-2">
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/containers/chest/chest-simple-box-brown.webp" class="flexpart-icon">{{localize "TYPES.Item.container"}}</div>
|
||||
<table>
|
||||
<thead class="theader">
|
||||
<tr>
|
||||
<th class="title">{{localize "TYPES.Item.container"}}</th>
|
||||
<th class="title center">{{localize "midgard5.item-value"}}</th>
|
||||
<th class="title center">{{localize "midgard5.item-weight"}}</th>
|
||||
<th class="title center"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||
<td><a class="title add-container"><i class="fa-regular fa-plus"></i></a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="items-list">
|
||||
<tr height = 10px></tr>
|
||||
{{#each data.calc.gear.containers as |item itemId|}}
|
||||
<tr data-item-id="{{itemId}}" class="item">
|
||||
<td class="padding">
|
||||
<span class="edit-item">{{item.label}}</span>
|
||||
</td>
|
||||
<td style="text-align: start">
|
||||
{{#unless (or (eq item.value 0) (eq item.currency ""))}}
|
||||
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||
{{/unless}}
|
||||
</td>
|
||||
<td style="text-align: start">
|
||||
{{#unless (or (eq item.weight "") (eq item.equipped?))}}
|
||||
<span class="spell-process">{{item.weight}} kg</span>
|
||||
{{/unless}}
|
||||
</td>
|
||||
<td class="change-equipped">
|
||||
{{#if item.equipped}}
|
||||
<i class="fa-solid fa-circle-check"></i>
|
||||
{{else}}
|
||||
<i class="fa-regular fa-circle"></i>
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
||||
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -259,9 +209,56 @@
|
||||
<h3>
|
||||
{{localize "midgard5.allItems"}}
|
||||
<input id="data.info.showAllItems" class="checkbox" type="checkbox" name="data.info.showAllItems" {{checked data.info.showAllItems}} style="float: right;">
|
||||
<label for="data.info.showAllItems" style="font-size: normal; font-weight: normal; font-style: italic; float: right;">{{localize "midgard5.showAll"}} </label>
|
||||
<label for="data.info.showAllItems" style="font-size: small; font-weight: normal; font-style: italic; float: right;">{{localize "midgard5.showAll"}} </label>
|
||||
</h3>
|
||||
<div class="flexbox">
|
||||
<div class="flexcolumn-2">
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/containers/chest/chest-simple-box-brown.webp" class="flexpart-icon">{{localize "TYPES.Item.container"}}</div>
|
||||
<table>
|
||||
<thead class="theader">
|
||||
<tr>
|
||||
<th class="title">{{localize "TYPES.Item.container"}}</th>
|
||||
<th class="title center">{{localize "midgard5.item-value"}}</th>
|
||||
<th class="title center">{{localize "midgard5.item-weight"}}</th>
|
||||
<th class="title center"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||
<td><a class="title add-container"><i class="fa-regular fa-plus"></i></a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr height = 10px></tr>
|
||||
{{#each data.calc.gear.containers as |item itemId|}}
|
||||
<tr data-item="{{itemId}}">
|
||||
<td class="padding">
|
||||
<span class="edit-item">{{item.label}}</span>
|
||||
</td>
|
||||
<td style="text-align: start">
|
||||
{{#unless (or (eq item.value 0) (eq item.currency ""))}}
|
||||
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||
{{/unless}}
|
||||
</td>
|
||||
<td style="text-align: start">
|
||||
{{#unless (or (eq item.weight "") (eq item.equipped?))}}
|
||||
<span class="spell-process">{{item.weight}} kg</span>
|
||||
{{/unless}}
|
||||
</td>
|
||||
<td class="change-equipped">
|
||||
{{#if item.equipped}}
|
||||
<i class="fa-solid fa-circle-check"></i>
|
||||
{{else}}
|
||||
<i class="fa-regular fa-circle"></i>
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
||||
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flexcolumn-2">
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/tools/hand/scale-balances-merchant-brown.webp" class="flexpart-icon">{{localize "midgard5.gear"}}</div>
|
||||
@@ -319,7 +316,8 @@
|
||||
|
||||
<div class="flexcolumn-2">
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/weapons/swords/sword-guard-engraved-worn.webp" class="flexpart-icon">{{localize "midgard5.weapons"}}</div>
|
||||
<div class="flexpart-header">
|
||||
<img src="icons/weapons/swords/sword-guard-engraved-worn.webp" class="flexpart-icon">{{localize "midgard5.weapons"}}</div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -333,6 +331,7 @@
|
||||
</thead>
|
||||
<tbody class="items-list">
|
||||
{{#each data.calc.gear.weapons as |item itemId|}}
|
||||
{{#if (or ../data.info.showAllItems (eq item.containerId ""))}}
|
||||
<tr data-item-id="{{itemId}}" class="item">
|
||||
<td class="padding edit-item">{{item.label}}</td>
|
||||
<td style="text-align: start">
|
||||
@@ -354,6 +353,7 @@
|
||||
</td>
|
||||
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||
</tr>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -375,6 +375,7 @@
|
||||
</thead>
|
||||
<tbody class="items-list">
|
||||
{{#each data.calc.gear.defensiveWeapons as |item itemId|}}
|
||||
{{#if (or ../data.info.showAllItems (eq item.containerId ""))}}
|
||||
<tr data-item-id="{{itemId}}" class="item">
|
||||
<td class="padding edit-item">{{item.label}}</td>
|
||||
<td style="text-align: start">
|
||||
@@ -396,6 +397,7 @@
|
||||
</td>
|
||||
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||
</tr>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -417,6 +419,7 @@
|
||||
</thead>
|
||||
<tbody class="items-list">
|
||||
{{#each data.calc.gear.armor as |item itemId|}}
|
||||
{{#if (or ../data.info.showAllItems (eq item.containerId ""))}}
|
||||
<tr data-item-id="{{itemId}}" class="item">
|
||||
<td class="padding edit-item">{{item.label}}</td>
|
||||
<td style="text-align: start">
|
||||
@@ -438,6 +441,7 @@
|
||||
</td>
|
||||
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||
</tr>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<div class="lp-bar-item-empty update-lp" data-value="{{this}}"></div>
|
||||
{{/if}}
|
||||
{{/times}}
|
||||
<input name="data.lp.max" type="text" value="{{data.lp.max}}" data-dtype="Number" />
|
||||
<div class="max-value">{{data.lp.max}}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -105,7 +105,7 @@
|
||||
<div class="ap-bar-item-empty update-ap" data-value="{{this}}"></div>
|
||||
{{/if}}
|
||||
{{/times}}
|
||||
<input name="data.ap.max" type="text" value="{{data.ap.max}}" data-dtype="Number" />
|
||||
<div class="max-value">{{data.ap.max}}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in new issue
Block a user