NSC Bogen & würfe
This commit is contained in:
1 parent
4ab69c0905
commit
c8516aa356
18 files changed
+2328
-665
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<section class="standard-form" style="margin-bottom: 1rem">
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.Attribute.resistenzen"}}
|
||||
{{localize "Midgard6.NSC.kompetenz.kompetenz"}}</legend>
|
||||
{{#each resistenzen}}
|
||||
<div class="d-flex align-items-center justify-content-between">
|
||||
<div class="flexrow" style="padding-left: 8px">
|
||||
<div class="segmented-button-row">
|
||||
<!-- Option 1 -->
|
||||
<p class="text highlight">{{localizeConcat "Midgard6.Resistenzen." @key}}</p>
|
||||
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="{{@key}}-segment" value="-1" />
|
||||
<span class="segmented-button__content">
|
||||
<p>{{localize "Midgard6.NSC.kompetenz.miserabel"}}</p>
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<!-- Option 2 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="{{@key}}-segment" value="0" />
|
||||
<span class="segmented-button__content">
|
||||
<p>{{localize "Midgard6.NSC.kompetenz.mittelmäßig"}}</p>
|
||||
</span>
|
||||
</label>
|
||||
|
||||
<!-- Option 3 -->
|
||||
<label class="segmented-button">
|
||||
<input type="radio" name="{{@key}}-segment" value="1" />
|
||||
<span class="segmented-button__content">
|
||||
<p>{{localize "Midgard6.NSC.kompetenz.kompetent"}}</p>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
</section>
|
||||
@@ -0,0 +1,24 @@
|
||||
{{! Beschreibung Allgemein Tab }}
|
||||
<section
|
||||
class="standard-form tab scrollable {{tab.cssClass}}"
|
||||
data-tab="{{tab.id}}"
|
||||
data-group="{{tab.group}}"
|
||||
>
|
||||
<fieldset style="height:100%">
|
||||
<legend>{{localize "Midgard6.Sheets.Tabs.biographie"}}</legend>
|
||||
{{#if editable}}
|
||||
<prose-mirror
|
||||
style="height:100%"
|
||||
name="system.biographie.beschreibung"
|
||||
data-document-u-u-i-d="{{actor.uuid}}"
|
||||
value="{{system.biographie.beschreibung}}"
|
||||
collaborate="true"
|
||||
toggled="true"
|
||||
>
|
||||
{{{enrichedBeschreibung}}}
|
||||
</prose-mirror>
|
||||
{{else}}
|
||||
{{{enrichedBeschreibung}}}
|
||||
{{/if}}
|
||||
</fieldset>
|
||||
</section>
|
||||
@@ -0,0 +1,275 @@
|
||||
<section
|
||||
class="standard-form tab scrollable {{tab.cssClass}}"
|
||||
data-tab="{{tab.id}}"
|
||||
data-group="{{tab.group}}"
|
||||
>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.NSC.kompetenz.würfe"}}</legend>
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div></div>
|
||||
<div
|
||||
class="d-flex align-items-center justify-content-center flex-column"
|
||||
style="position: relative;"
|
||||
>
|
||||
<label style="white-space: nowrap; position: absolute; bottom: 100%; font-weight: bold; color: var(--M6-text-brown)">{{localize
|
||||
"Midgard6.NSC.kompetenz.kompetent"
|
||||
}}</label>
|
||||
<a class="d-flex align-items-center" data-action="rollKompetenz" data-kompetenz="{{localize "Midgard6.NSC.kompetenz.kompetent"}}" data-kompetenz-value="{{kompetenzWürfe.kompetent}}">
|
||||
<i class="fa-solid fa-dice-d20" style="margin-right: 0"></i>
|
||||
<p>+ {{kompetenzWürfe.kompetent}}</p>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="d-flex align-items-center justify-content-center flex-column"
|
||||
style="position: relative;"
|
||||
>
|
||||
<label style="position: absolute; bottom: 100%; font-weight: bold; color: var(--M6-text-brown)">{{localize
|
||||
"Midgard6.NSC.kompetenz.mittelmäßig"
|
||||
}}</label>
|
||||
<a class="d-flex align-items-center" data-action="rollKompetenz" data-kompetenz="{{localize "Midgard6.NSC.kompetenz.mittelmäßig"}}" data-kompetenz-value="{{kompetenzWürfe.mittelmäßig}}">
|
||||
<i class="fa-solid fa-dice-d20" style="margin-right: 0"></i>
|
||||
<p>+ {{kompetenzWürfe.mittelmäßig}}</p>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
class="d-flex align-items-center justify-content-center flex-column"
|
||||
style="position: relative;"
|
||||
>
|
||||
<label style="position: absolute; bottom: 100%; font-weight: bold; color: var(--M6-text-brown)">{{localize
|
||||
"Midgard6.NSC.kompetenz.miserabel"
|
||||
}}</label>
|
||||
<a class="d-flex align-items-center" data-action="rollKompetenz" data-kompetenz="{{localize "Midgard6.NSC.kompetenz.miserabel"}}" data-kompetenz-value="d3">
|
||||
<i class="fa-solid fa-dice-d20" style="margin-right: 0"></i>
|
||||
<p>+ d3</p>
|
||||
</a>
|
||||
</div>
|
||||
<div></div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-7">
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.Sheets.Tabs.eigenschaften"}}
|
||||
{{#if @root.editable}}
|
||||
{{#unless system.locked}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize "Midgard6.NSC.kompetenz.hinzufügen"}}"
|
||||
data-action="addKompetenz"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
</legend>
|
||||
{{#each fertigkeiten as |fertigkeit|}}
|
||||
<div class="row align-items-center">
|
||||
<div class="col-6 row align-items-center" style="width: 100%; margin-left: 0">
|
||||
<a
|
||||
class="col-8"
|
||||
data-action="rollSkill"
|
||||
data-name="{{fertigkeit}}"
|
||||
>
|
||||
<p>{{fertigkeit}}</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-5">
|
||||
<fieldset class="">
|
||||
<legend>{{localize "Midgard6.Attribute.resistenzen"}}
|
||||
{{#if @root.editable}}
|
||||
{{#unless system.locked}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize "Midgard6.NSC.kompetenz.hinzufügen"}}"
|
||||
data-action="editResistenz"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
</legend>
|
||||
<div class="row">
|
||||
{{#each system.resistenzen as |resistenz|}}
|
||||
|
||||
<div class="col-4">
|
||||
<p class="resistenzenHeader">{{localizeConcat "Midgard6.Resistenzen." @key}}</p>
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
<a
|
||||
class=""
|
||||
data-action="rollResistenz"
|
||||
data-name="{{@key}}"
|
||||
>
|
||||
<i class="fa-solid fa-dice-d20" style=""></i>
|
||||
</a>
|
||||
<input
|
||||
class="resistenzenAttribut"
|
||||
type="text"
|
||||
value="{{resistenz.value}}"
|
||||
disabled
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="d-flex">
|
||||
<fieldset class="col highlight">
|
||||
<legend>{{localize "Midgard6.Attribute.lp"}}</legend>
|
||||
<div class="d-flex align-items-end">
|
||||
<div>
|
||||
<p class="resistenzenHeader">{{localize "Midgard6.aktuell"}}</p>
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="armor-box">
|
||||
<i class="fa-solid fa-shield"></i>
|
||||
<span class="armor-value">{{system.rüstwert.mod}}</span>
|
||||
</div>
|
||||
<input
|
||||
class="attribut"
|
||||
type="number"
|
||||
name="system.resources.leben.value"
|
||||
value="{{system.resources.leben.value}}"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<p class="center">/</p>
|
||||
<div>
|
||||
<p class="resistenzenHeader">{{localize "Midgard6.maximal.short"}}</p>
|
||||
<input
|
||||
class="attribut"
|
||||
type="number"
|
||||
name="system.resources.leben.max"
|
||||
value="{{system.resources.leben.max}}"
|
||||
{{#if @root.system.locked}}disabled{{/if}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="col highlight">
|
||||
<legend>{{localize "Midgard6.Attribute.ap"}}</legend>
|
||||
<div class="d-flex align-items-end">
|
||||
<div>
|
||||
<p class="resistenzenHeader">{{localize "Midgard6.aktuell"}}</p>
|
||||
|
||||
<input
|
||||
class="attribut"
|
||||
type="number"
|
||||
name="system.resources.ausdauer.value"
|
||||
value="{{system.resources.ausdauer.value}}"
|
||||
/>
|
||||
</div>
|
||||
<p class="center">/</p>
|
||||
<div>
|
||||
<p class="resistenzenHeader">{{localize "Midgard6.maximal.short"}}</p>
|
||||
<input
|
||||
class="attribut"
|
||||
type="number"
|
||||
name="system.resources.ausdauer.max"
|
||||
value="{{system.resources.ausdauer.max}}"
|
||||
{{#if @root.system.locked}}disabled{{/if}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
{{!-- <div>
|
||||
<fieldset class="highlight">
|
||||
<legend>{{localize "Midgard6.Item.type.weapon.plural" }}</legend>
|
||||
<div class="container">
|
||||
{{#each equippedWeapons as |weapon|}}
|
||||
<div class="item row align-items-center">
|
||||
<div class="col-10">
|
||||
<div class="d-flex justify-content-start align-items-center">
|
||||
<img class="" style="margin-right: 4px" src="{{weapon.img}}" alt="{{weapon.name}}" width="24" height="24" />
|
||||
<p>{{weapon.name}}: </p>
|
||||
<p>
|
||||
<i class="fas fa-dice-d20" style="font-size:12px; margin:0 2px 0 4px"></i>
|
||||
+ {{weapon.skillValue}} {{#if weapon.bonusValue}}+ {{weapon.bonusValue}}{{/if}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2 document-controls">
|
||||
<a
|
||||
class="item-control"
|
||||
title="{{localize 'Midgard6.Angriff'}} {{weapon.name}}"
|
||||
data-action="rollWeapon"
|
||||
data-item-id="{{weapon.id}}"
|
||||
data-skillPath="{{weapon.path}}"
|
||||
{{#unless @root.editable}}disabled{{/unless}}
|
||||
>
|
||||
<i class="fas fa-dice-d20"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div>
|
||||
<fieldset class="highlight">
|
||||
<legend>{{localize "Midgard6.Item.type.armor.plural" }}</legend>
|
||||
<div class="container">
|
||||
{{#each armor.armors as |armor|}}
|
||||
<div class="item row align-items-center">
|
||||
<div class="col-10">
|
||||
<div class="d-flex justify-content-start align-items-center">
|
||||
<img class="" style="margin-right: 4px" src="{{armor.img}}" alt="{{armor.name}}" width="24" height="24" />
|
||||
<p>{{armor.name}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="armor-box" style="position: relative; margin-left: 0px; top: 12px">
|
||||
<i class="fa-solid fa-shield"></i>
|
||||
<span class="armor-value" style="position: relative; right:-8px; top: -22px">{{armor.rüstwert}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#if armor.einschränkungen}}
|
||||
<p class="resistenzenHeader">{{localize "Midgard6.Item.einschränkung"}}</p>
|
||||
<p>{{splitArray armor.einschränkungen}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div>
|
||||
<fieldset class="highlight">
|
||||
<legend>{{localize "Midgard6.Item.type.zauber.plural" }}</legend>
|
||||
<div class="container">
|
||||
{{#each equippedSpells as |weapon|}}
|
||||
<div class="item row align-items-center">
|
||||
<div class="col-10">
|
||||
<div class="d-flex justify-content-start align-items-center">
|
||||
<img class="" style="margin-right: 4px" src="{{weapon.img}}" alt="{{weapon.name}}" width="24" height="24" />
|
||||
<p>{{weapon.name}}: </p>
|
||||
<p>
|
||||
<i class="fas fa-dice-d20" style="font-size:12px; margin:0 2px 0 4px"></i>
|
||||
+ {{weapon.skillValue}} {{#if weapon.bonusValue}}+ {{weapon.bonusValue}}{{/if}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2 document-controls">
|
||||
<a
|
||||
class="item-control"
|
||||
title="{{localize 'Midgard6.Angriff'}} {{weapon.name}}"
|
||||
data-action="rollSpell"
|
||||
data-item-id="{{weapon.id}}"
|
||||
data-skillPath="{{weapon.path}}"
|
||||
{{#unless @root.editable}}disabled{{/unless}}
|
||||
>
|
||||
<i class="fas fa-dice-d20"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
</div> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,51 @@
|
||||
<header class="sheet-header">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<input {{#if @root.system.locked}}disabled{{/if}} class="text" type="text" placeholder="{{localize "Midgard6.name"}}" name="name" value="{{actor.name}}" />
|
||||
<input {{#if @root.system.locked}}disabled{{/if}} class="text" type="text" placeholder="{{localize "Midgard6.Biographie.spezies"}}" name="system.biographie.spezies" value="{{system.biographie.spezies}}" />
|
||||
<input {{#if @root.system.locked}}disabled{{/if}} class="text" type="text" placeholder="{{localize "Midgard6.Biographie.kultur"}}" name="system.biographie.kultur" value="{{system.biographie.kultur}}" />
|
||||
</div>
|
||||
<img
|
||||
class="profile-img"
|
||||
style="z-index:1"
|
||||
src="{{actor.img}}"
|
||||
alt="{{actor.name}}"
|
||||
{{#if editable}}
|
||||
data-action="editImage"
|
||||
data-edit="img"
|
||||
{{/if}}
|
||||
data-tooltip="{{actor.name}}"
|
||||
height="100" width="100"
|
||||
>
|
||||
<div class="col-6">
|
||||
<input {{#if @root.system.locked}}disabled{{/if}} class="text right" type="number" placeholder="{{localize "Midgard6.NSC.kompetenz"}}" name="system.kompetenz" value="{{system.kompetenz}}" />
|
||||
<select
|
||||
type="text"
|
||||
class="text right"
|
||||
name="system.größe"
|
||||
id="system.größe"
|
||||
{{#if @root.system.locked}}disabled{{/if}}
|
||||
>
|
||||
<option {{#ifeq system.größe "winzig"}}selected{{/ifeq}} value="winzig">{{localize
|
||||
"Midgard6.NSC.Größe.winzig"
|
||||
}}</option>
|
||||
<option {{#ifeq system.größe "klein"}}selected{{/ifeq}} value="klein">{{localize
|
||||
"Midgard6.NSC.Größe.klein"
|
||||
}}</option>
|
||||
<option {{#ifeq system.größe "normal"}}selected{{/ifeq}} value="normal">{{localize
|
||||
"Midgard6.NSC.Größe.normal"
|
||||
}}</option>
|
||||
<option {{#ifeq system.größe "groß"}}selected{{/ifeq}} value="groß">{{localize
|
||||
"Midgard6.NSC.Größe.groß"
|
||||
}}</option>
|
||||
<option {{#ifeq system.größe "riesig"}}selected{{/ifeq}} value="riesig">{{localize
|
||||
"Midgard6.NSC.Größe.riesig"
|
||||
}}</option>
|
||||
</select>
|
||||
<div></div>
|
||||
{{!-- <input {{#if @root.system.locked}}disabled{{/if}} class="text right" type="text" placeholder="{{localize "Midgard6.Biographie.mondgestalt"}}" name="system.biographie.mondgestalt" value="{{system.biographie.mondgestalt}}" /> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
@@ -0,0 +1,320 @@
|
||||
{{! Beschreibung Allgemein Tab }}
|
||||
<section
|
||||
class="standard-form tab scrollable {{tab.cssClass}}"
|
||||
data-tab="{{tab.id}}"
|
||||
data-group="{{tab.group}}"
|
||||
>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.Grad.grad"}}</legend>
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
<input
|
||||
type="number"
|
||||
class="text center"
|
||||
style="max-width:3rem;"
|
||||
name="system.grad.grad"
|
||||
value="{{system.grad.grad}}"
|
||||
/>
|
||||
<p style="font-size:18px; font-weight: bold; padding: 0 8px">{{localize
|
||||
"Midgard6.Grad.erfahrung"
|
||||
}}</p>
|
||||
<div
|
||||
class="d-flex align-items-center justify-content-center flex-column"
|
||||
style="position: relative;"
|
||||
>
|
||||
<label style="position: absolute; bottom: 100%; font-size: 12px;">{{localize
|
||||
"Midgard6.Grad.frei"
|
||||
}}</label>
|
||||
<input
|
||||
type="number"
|
||||
class="text center"
|
||||
style="max-width:3rem;"
|
||||
name="system.grad.erfahrungspunkteFrei"
|
||||
value="{{system.grad.erfahrungspunkteFrei}}"
|
||||
/>
|
||||
</div>
|
||||
<p style=" font-size:32px; padding: 0 8px">+</p>
|
||||
<div
|
||||
class="d-flex align-items-center justify-content-center flex-column"
|
||||
style="position: relative;"
|
||||
>
|
||||
<label style="position: absolute; bottom: 100%; font-size: 12px;">{{localize
|
||||
"Midgard6.Grad.eingesetzt"
|
||||
}}</label>
|
||||
<input
|
||||
type="number"
|
||||
class="text center"
|
||||
style="max-width:3rem;"
|
||||
name="system.grad.erfahrungspunkteEingesetzt"
|
||||
value="{{system.grad.erfahrungspunkteEingesetzt}}"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<p style=" font-size:32px; padding: 0 8px">=</p>
|
||||
<div
|
||||
class="d-flex align-items-center justify-content-center flex-column"
|
||||
style="position: relative;"
|
||||
>
|
||||
<label style="position: absolute; bottom: 100%; font-size: 12px;">{{localize
|
||||
"Midgard6.Grad.gesamt"
|
||||
}}</label>
|
||||
<input
|
||||
type="number"
|
||||
class="text center"
|
||||
style="max-width:3rem;"
|
||||
name="system.grad.erfahrungsschatz"
|
||||
value="{{system.grad.erfahrungsschatz}}"
|
||||
/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.Hintergrund.type.gunst.singular"}}
|
||||
&
|
||||
{{localize "Midgard6.Hintergrund.type.makel.singular"}}</legend>
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
{{#with itemTypes.gunst}}
|
||||
<div class="itemHeader" style="margin-bottom: 8px">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="gunst"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{#each this.items as |gunst|}}
|
||||
<div
|
||||
class="collapsible"
|
||||
data-action="collapsible"
|
||||
data-item-id="{{gunst._id}}"
|
||||
data-type="Item"
|
||||
data-document-class="Item"
|
||||
>{{gunst.name}}
|
||||
<div>
|
||||
<i class="fas fa-expand"></i>
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=gunst.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=gunst.name}}"
|
||||
style="z-index:9999"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
{{{gunst.system.beschreibung}}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/with}}
|
||||
</div>
|
||||
<div class="col-6">
|
||||
{{#with itemTypes.makel}}
|
||||
<div class="itemHeader" style="margin-bottom: 8px">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="makel"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{#each this.items as |makel|}}
|
||||
<div
|
||||
type="button"
|
||||
class="collapsible"
|
||||
data-action="collapsible"
|
||||
data-item-id="{{makel._id}}"
|
||||
data-type="Item"
|
||||
data-document-class="Item"
|
||||
>{{makel.name}}
|
||||
<div>
|
||||
<i class="fas fa-expand"></i>
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=makel.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=makel.name}}"
|
||||
style="z-index:9999"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{{makel.system.beschreibung}}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/with}}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col-6" style="height: 100%">
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.Hintergrund.type.legende.plural"}}</legend>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
{{#with itemTypes.legende}}
|
||||
<div class="itemHeader" style="margin-bottom: 8px">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="legende"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{#each this.items as |legende|}}
|
||||
<div
|
||||
class="collapsible"
|
||||
data-action="collapsible"
|
||||
data-item-id="{{legende._id}}"
|
||||
data-type="Item"
|
||||
data-document-class="Item"
|
||||
>{{legende.name}}
|
||||
<div>
|
||||
<i class="fas fa-expand"></i>
|
||||
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=item.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=legende.name}}"
|
||||
style="z-index:9999"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
{{{legende.system.beschreibung}}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/with}}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col-6">
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.Hintergrund.type.schicksalsgabe.plural"}}</legend>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
{{#with itemTypes.schicksalsgabe}}
|
||||
<div class="itemHeader" style="margin-bottom: 8px">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="schicksalsgabe"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{#each this.items as |schicksalsgabe|}}
|
||||
<div
|
||||
class="collapsible"
|
||||
data-action="collapsible"
|
||||
data-item-id="{{schicksalsgabe._id}}"
|
||||
data-type="Item"
|
||||
data-document-class="Item"
|
||||
>{{schicksalsgabe.name}}
|
||||
<div>
|
||||
<i class="fas fa-expand"></i>
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=item.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=schicksalsgabe.name}}"
|
||||
style="z-index:9999"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
{{{gunst.system.beschreibung}}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/with}}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,241 @@
|
||||
{{! Items Tab }}
|
||||
<section class="standard-form tab scrollable {{tab.cssClass}}" data-group="primary" data-tab="items">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<fieldset >
|
||||
<legend>{{localize "Midgard6.Item.type.münze.plural" }}</legend>
|
||||
<ul class="itemTypes">
|
||||
{{#with itemTypes.geld}}
|
||||
<li class="itemHeader">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="geld"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
<ul class="items">
|
||||
{{#each this.items as |item|}}
|
||||
<li class="item flexrow draggable" data-item-id="{{item._id}}" data-type="Item" data-document-class="Item">
|
||||
<img src="{{item.img}}" alt="{{item.name}}" width="24" height="24" />
|
||||
<div class="item-name">{{item.system.anzahl}}x {{item.name}}</div>
|
||||
{{#if @root.editable}}
|
||||
<div class="document-controls">
|
||||
<a
|
||||
class="item-control"
|
||||
data-action="decreaseDoc"
|
||||
data-item-id="{{item._id}}"
|
||||
>
|
||||
<i class="fas fa-minus"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control"
|
||||
data-action="increaseDoc"
|
||||
data-item-id="{{item._id}}"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="document-controls">
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=item.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=item.name}}"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/with}}
|
||||
</fieldset>
|
||||
<fieldset >
|
||||
<legend>{{localize "Midgard6.Item.type.item.plural" }}</legend>
|
||||
<ul class="itemTypes">
|
||||
{{#with itemTypes.item}}
|
||||
<li class="itemHeader">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="item"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
<ul class="items">
|
||||
{{#each this.items as |item|}}
|
||||
<li class="item flexrow draggable" data-item-id="{{item._id}}" data-type="Item" data-document-class="Item">
|
||||
<img src="{{item.img}}" alt="{{item.name}}" width="24" height="24" />
|
||||
<div class="item-name">{{item.system.anzahl}}x {{item.name}}</div>
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=item.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=item.name}}"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/with}}
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
{{!-- Waffen --}}
|
||||
|
||||
<fieldset class="highlight">
|
||||
<legend>{{localize "Midgard6.Item.type.weapon.plural" }}</legend>
|
||||
<ul class="itemTypes">
|
||||
{{#with itemTypes.weapon}}
|
||||
<li class="itemHeader">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="weapon"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
<ul class="items">
|
||||
{{#each this.items as |item|}}
|
||||
<li class="item flexrow draggable" data-item-id="{{item._id}}" data-type="Item" data-document-class="Item">
|
||||
<img src="{{item.img}}" alt="{{item.name}}" width="24" height="24" />
|
||||
<div class="item-name">{{item.system.anzahl}}x {{item.name}}</div>
|
||||
<a class="sword" data-action="cycleEquip" data-item-id="{{item._id}}" style="{{#if item.system.equipped}}background-color: var(--M6-text-brown){{/if}}">
|
||||
</a>
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=item.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=item.name}}"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/with}}
|
||||
</fieldset>
|
||||
|
||||
{{!-- Rüstung --}}
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "Midgard6.Item.type.armor.plural" }}</legend>
|
||||
<ul class="itemTypes">
|
||||
{{#with itemTypes.armor}}
|
||||
<li class="itemHeader">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type=this.label}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="armor"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type=this.label}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
<ul class="items">
|
||||
{{#each this.items as |item|}}
|
||||
<li class="item flexrow draggable" data-item-id="{{item._id}}" data-type="Item" data-document-class="Item">
|
||||
<img src="{{item.img}}" alt="{{item.name}}" width="24" height="24" />
|
||||
<div class="item-name">{{item.system.anzahl}}x {{item.name}}</div>
|
||||
<a class="fa-solid fa-shield" data-action="cycleEquip" data-item-id="{{item._id}}" style="{{#if item.system.equipped}}color: var(--M6-text-brown){{/if}}"></a>
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=item.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=item.name}}"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/with}}
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
<div class="sticky-progress-container">
|
||||
<div class="tooltip-wrapper">
|
||||
<span class="tooltiptext">{{localize "Midgard6.Traglast"}}: {{gewicht.gewicht}} / {{gewicht.traglast}}</span>
|
||||
|
||||
<div class="progress-background">
|
||||
<progress
|
||||
class="progress-bar"
|
||||
value="{{gewicht.gewicht}}"
|
||||
max="{{gewicht.traglast}}"
|
||||
></progress>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,60 @@
|
||||
{{! Items Tab }}
|
||||
<section class="standard-form tab scrollable {{tab.cssClass}}" data-group="primary" data-tab="zauber">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<fieldset >
|
||||
<legend>{{localize "Midgard6.Item.type.zauber.plural" }}</legend>
|
||||
|
||||
<ul class="itemTypes">
|
||||
<li class="itemHeader">
|
||||
<div class="document-controls">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-create"
|
||||
title="{{localize 'DOCUMENT.Create' type="Zauber"}}"
|
||||
data-action="createDoc"
|
||||
data-document-class="Item"
|
||||
data-type="zauber"
|
||||
>
|
||||
<i class="fas fa-plus"></i>
|
||||
{{localize "DOCUMENT.Create" type="Zauber"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
<ul class="items">
|
||||
{{#each zauber as |zauber|}}
|
||||
<li class="item row align-content-center draggable" data-item-id="{{zauber._id}}" data-type="Zauber" data-document-class="Item">
|
||||
<p class="col-3" style="padding-top: 8px">{{zauber.name}}</p>
|
||||
<p class="col-3 item-name">{{zauber.system.eigenschaften.ursprung}}</p>
|
||||
<p class="col-2 item-name">{{localize "Midgard6.Zauber.stufe"}} {{zauber.system.eigenschaften.stufe}}</p>
|
||||
<a class="align-self-center col-1 fa-solid fa-book-open" {{#unless @root.editable}}disabled{{/unless}} data-action="cycleEquip" data-item-id="{{zauber._id}}" style="{{#if zauber.system.equipped}}color: var(--M6-text-brown);{{/if}}"></a>
|
||||
<a class="align-self-center col-2 fa-solid fa-dice-d20" data-action="rollSpell" {{#unless @root.editable}}disabled{{/unless}} data-name="{{zauber.name}}" data-item-id="{{zauber._id}}"></a>
|
||||
<div class="col-1 d-flex document-controls" style="margin: 0.5rem 0; padding: 0">
|
||||
{{#if @root.editable}}
|
||||
<a
|
||||
class="item-control item-edit"
|
||||
title="{{localize 'DOCUMENT.Update' type=zauber.name}}"
|
||||
data-action="viewDoc"
|
||||
>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
<a
|
||||
class="item-control item-delete"
|
||||
title="{{localize 'DOCUMENT.Delete' type=zauber.name}}"
|
||||
data-action="deleteDoc"
|
||||
>
|
||||
<i class="fas fa-trash"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
</section>
|
||||
Reference in new issue
Block a user