Include Weapons and effects

Changes:
 + include weapon pack and effect pack
 + handle effects as own entity
 + effects can influence your attributes and skills
 + add Aktive Effekte page for effects on your character
This commit is contained in:
2023-11-24 20:11:36 +01:00
parent 4b2daef20a
commit 68cb8fcf6d
308 changed files with 1794 additions and 101 deletions
+16
View File
@@ -0,0 +1,16 @@
<table>
<thead>
<tr>
<th>{{localize "ITEM.TypeEffect"}}</th>
<th></th>
</tr>
</thead>
<tbody>
{{#each data.calc.gear.effects as |item itemId|}}
<tr data-item="{{itemId}}">
<td class="padding edit-item">{{item.label}}</td>
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
</tr>
{{/each}}
</tbody>
</table>
+5
View File
@@ -10,6 +10,7 @@
<a class="item" data-tab="skills">{{ localize "midgard5.skills" }}</a>
<a class="item" data-tab="gear">{{ localize "midgard5.gear" }}</a>
<a class="item" data-tab="spells">{{ localize "midgard5.spells" }}</a>
<a class="item" data-tab="effects">{{ localize "midgard5.effects" }}</a>
</nav>
<section class="sheet-content">
@@ -30,5 +31,9 @@
{{> "systems/midgard5/templates/sheets/character/spells.hbs"}}
</div>
<div class="tab base_values flexcol" data-group="primary" data-tab="effects">
{{> "systems/midgard5/templates/sheets/character/effects.hbs"}}
</div>
</section>
</form>