Fix as per CSV sheet tracking + creature explanation
This commit is contained in:
+17
-1
@@ -5,7 +5,7 @@
|
||||
<input type="text" name="name" value="{{source.name}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-form-grid item-form-grid-two">
|
||||
<div class="item-form-grid item-form-grid-three">
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.ArmorDie"}}</label>
|
||||
<select name="system.armorDie">
|
||||
@@ -22,6 +22,22 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.Weight"}}</label>
|
||||
<select name="system.weight">
|
||||
{{#each selectOptions.weightCategories}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.weight value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.DurabilityDie"}}</label>
|
||||
<select name="system.durabilityDie">
|
||||
{{#each selectOptions.usageDice}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.durabilityDie value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-check-grid check-grid">
|
||||
<label><input type="checkbox" name="system.equipped" {{#if source.system.equipped}}checked{{/if}} /> {{localize "MGNE.Common.Equipped"}}</label>
|
||||
|
||||
+16
-8
@@ -6,14 +6,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-form-grid item-form-grid-three">
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.ArtifactId"}}</label>
|
||||
<select name="system.artifactId">
|
||||
{{#each selectOptions.artifactIds}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.artifactId value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.UsageDie"}}</label>
|
||||
<select name="system.usageDie">
|
||||
@@ -22,6 +14,22 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.Weight"}}</label>
|
||||
<select name="system.weight">
|
||||
{{#each selectOptions.weightCategories}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.weight value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.DurabilityDie"}}</label>
|
||||
<select name="system.durabilityDie">
|
||||
{{#each selectOptions.usageDice}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.durabilityDie value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.SynchronizedTo"}}</label>
|
||||
<input type="text" name="system.synchronizedTo" value="{{source.system.synchronizedTo}}" />
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
<section class="tab-panel {{tab.cssClass}}">
|
||||
<div class="resource-bar resource-bar-equipment">
|
||||
<div class="resource-box resource-box-single resource-box-compact resource-box-inline resource-box-inline-single">
|
||||
<label class="resource-label-accent">{{localize "MGNE.Character.CarryingCapacity"}}</label>
|
||||
<div class="resource-box resource-box-single resource-box-compact resource-box-inline resource-box-inline-single {{#if system.overloaded}}resource-box-overloaded{{/if}}">
|
||||
<label class="resource-label-accent">{{localize "MGNE.Character.Load"}}</label>
|
||||
<div class="numeric-pill">
|
||||
<input class="numeric-input numeric-input-readonly" type="number" name="system.carryCapacity" value="{{system.carryCapacity}}" readonly />
|
||||
<span class="numeric-input numeric-input-readonly load-display {{#if system.overloaded}}load-overloaded{{/if}}"
|
||||
title="{{system.lightItemCount}} light items (10 = 1 slot){{#if system.heavyItemCount}} · {{system.heavyItemCount}} heavy{{/if}}">
|
||||
{{system.currentLoad}} / {{system.carryCapacity}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="resource-box resource-box-single resource-box-compact resource-box-inline resource-box-inline-single">
|
||||
@@ -27,14 +30,22 @@
|
||||
<button type="button" data-action="createItem" data-item-type="weapon">{{localize "MGNE.Character.AddWeapon"}}</button>
|
||||
</div>
|
||||
{{#each weapons}}
|
||||
<div class="item-row" data-item-id="{{id}}">
|
||||
<div class="item-name">{{name}}</div>
|
||||
<div class="item-row {{#if system.broken}}item-row-broken{{/if}}" data-item-id="{{id}}">
|
||||
<div class="item-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>
|
||||
{{name}}{{#if system.broken}} <span class="item-broken-badge">{{localize "MGNE.Common.Broken"}}</span>{{/if}}
|
||||
{{#each system.properties}}<span class="weapon-property-badge">{{lookup @root.config.weaponPropertyLabels this}}</span>{{/each}}
|
||||
</div>
|
||||
<div>{{system.damage}}</div>
|
||||
<div>{{lookup @root.config.weaponCategories system.category}}</div>
|
||||
<span class="item-weight-badge weight-{{system.weight}}">{{lookup @root.config.weightCategories system.weight}}</span>
|
||||
<span class="item-durability-badge {{#if system.broken}}durability-broken{{/if}}">
|
||||
<i class="fa-solid fa-shield-halved"></i> {{system.durabilityDie}}
|
||||
</span>
|
||||
<div class="item-actions">
|
||||
<button type="button" data-action="toggleEquipped">{{#if system.equipped}}{{localize "MGNE.Common.Unequip"}}{{else}}{{localize "MGNE.Common.Equip"}}{{/if}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="weapon">{{localize "MGNE.Common.Attack"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="damage">{{localize "MGNE.Common.Damage"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="durability" data-tooltip="{{localize "MGNE.Common.RollDurability"}}">{{localize "MGNE.Common.Durability"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="usage">{{localize "MGNE.Common.Usage"}}</button>
|
||||
<button type="button" data-action="editItem">{{localize "MGNE.Common.Edit"}}</button>
|
||||
<button type="button" data-action="deleteItem">{{localize "MGNE.Common.Delete"}}</button>
|
||||
@@ -52,24 +63,34 @@
|
||||
<button type="button" data-action="createItem" data-item-type="shield">{{localize "MGNE.Character.AddShield"}}</button>
|
||||
</div>
|
||||
{{#each armors}}
|
||||
<div class="item-row" data-item-id="{{id}}">
|
||||
<div class="item-name">{{name}}</div>
|
||||
<div class="item-row {{#if system.broken}}item-row-broken{{/if}}" data-item-id="{{id}}">
|
||||
<div class="item-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>
|
||||
{{name}}{{#if system.broken}} <span class="item-broken-badge">{{localize "MGNE.Common.Broken"}}</span>{{/if}}
|
||||
</div>
|
||||
<div>{{system.armorDie}}</div>
|
||||
<div>{{localize "MGNE.Common.Penalty"}} {{system.penalty}}</div>
|
||||
<span class="item-weight-badge weight-{{system.weight}}">{{lookup @root.config.weightCategories system.weight}}</span>
|
||||
<span class="item-durability-badge {{#if system.broken}}durability-broken{{/if}}"><i class="fa-solid fa-shield-halved"></i> {{system.durabilityDie}}</span>
|
||||
<div class="item-actions">
|
||||
<button type="button" data-action="toggleEquipped">{{#if system.equipped}}{{localize "MGNE.Common.Unequip"}}{{else}}{{localize "MGNE.Common.Equip"}}{{/if}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="durability">{{localize "MGNE.Common.Durability"}}</button>
|
||||
<button type="button" data-action="editItem">{{localize "MGNE.Common.Edit"}}</button>
|
||||
<button type="button" data-action="deleteItem">{{localize "MGNE.Common.Delete"}}</button>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#each shields}}
|
||||
<div class="item-row" data-item-id="{{id}}">
|
||||
<div class="item-name">{{name}}</div>
|
||||
<div class="item-row {{#if system.broken}}item-row-broken{{/if}}" data-item-id="{{id}}">
|
||||
<div class="item-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>
|
||||
{{name}}{{#if system.broken}} <span class="item-broken-badge">{{localize "MGNE.Common.Broken"}}</span>{{/if}}
|
||||
</div>
|
||||
<div>{{system.armorDie}}</div>
|
||||
<div>{{localize "MGNE.ItemTypes.shield"}}</div>
|
||||
<span class="item-weight-badge weight-{{system.weight}}">{{lookup @root.config.weightCategories system.weight}}</span>
|
||||
<span class="item-durability-badge {{#if system.broken}}durability-broken{{/if}}"><i class="fa-solid fa-shield-halved"></i> {{system.durabilityDie}}</span>
|
||||
<div class="item-actions">
|
||||
<button type="button" data-action="toggleEquipped">{{#if system.equipped}}{{localize "MGNE.Common.Unequip"}}{{else}}{{localize "MGNE.Common.Equip"}}{{/if}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="durability">{{localize "MGNE.Common.Durability"}}</button>
|
||||
<button type="button" data-action="editItem">{{localize "MGNE.Common.Edit"}}</button>
|
||||
<button type="button" data-action="deleteItem">{{localize "MGNE.Common.Delete"}}</button>
|
||||
</div>
|
||||
@@ -83,11 +104,16 @@
|
||||
<button type="button" data-action="createItem" data-item-type="equipment">{{localize "MGNE.Character.AddEquipment"}}</button>
|
||||
</div>
|
||||
{{#each equipmentItems}}
|
||||
<div class="item-row" data-item-id="{{id}}">
|
||||
<div class="item-name">{{name}}</div>
|
||||
<div class="item-row {{#if system.broken}}item-row-broken{{/if}}" data-item-id="{{id}}">
|
||||
<div class="item-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>
|
||||
{{name}}{{#if system.broken}} <span class="item-broken-badge">{{localize "MGNE.Common.Broken"}}</span>{{/if}}
|
||||
</div>
|
||||
<div>{{localize "MGNE.Common.QuantityShort"}} {{system.quantity}}</div>
|
||||
<div>{{system.usageDie}}</div>
|
||||
<span class="item-weight-badge weight-{{system.weight}}">{{lookup @root.config.weightCategories system.weight}}</span>
|
||||
<span class="item-durability-badge {{#if system.broken}}durability-broken{{/if}}"><i class="fa-solid fa-shield-halved"></i> {{system.durabilityDie}}</span>
|
||||
<div class="item-actions">
|
||||
<button type="button" class="rollable" data-roll-type="durability">{{localize "MGNE.Common.Durability"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="usage">{{localize "MGNE.Common.Usage"}}</button>
|
||||
<button type="button" data-action="editItem">{{localize "MGNE.Common.Edit"}}</button>
|
||||
<button type="button" data-action="deleteItem">{{localize "MGNE.Common.Delete"}}</button>
|
||||
@@ -104,12 +130,18 @@
|
||||
<button type="button" data-action="createItem" data-item-type="resonance-core">{{localize "MGNE.Character.AddCore"}}</button>
|
||||
</div>
|
||||
{{#each cores}}
|
||||
<div class="item-row" data-item-id="{{id}}">
|
||||
<div class="item-name">{{name}}</div>
|
||||
<div class="item-row {{#if system.broken}}item-row-broken{{/if}}" data-item-id="{{id}}">
|
||||
<div class="item-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>
|
||||
{{name}}{{#if system.broken}} <span class="item-broken-badge">{{localize "MGNE.Common.Broken"}}</span>{{/if}}
|
||||
{{#if system.burnedOut}} <span class="item-broken-badge item-burned-badge">{{localize "MGNE.Common.BurnedOut"}}</span>{{/if}}
|
||||
</div>
|
||||
<div>{{lookup @root.config.resonanceList system.resonationId}}</div>
|
||||
<div>{{system.usageDie}}</div>
|
||||
<span class="item-weight-badge weight-{{system.weight}}">{{lookup @root.config.weightCategories system.weight}}</span>
|
||||
<span class="item-durability-badge {{#if system.broken}}durability-broken{{/if}}"><i class="fa-solid fa-shield-halved"></i> {{system.durabilityDie}}</span>
|
||||
<div class="item-actions">
|
||||
<button type="button" class="rollable" data-roll-type="resonation">{{localize "MGNE.Common.Invoke"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="durability">{{localize "MGNE.Common.Durability"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="usage">{{localize "MGNE.Common.Usage"}}</button>
|
||||
<button type="button" data-action="editItem">{{localize "MGNE.Common.Edit"}}</button>
|
||||
<button type="button" data-action="deleteItem">{{localize "MGNE.Common.Delete"}}</button>
|
||||
@@ -126,12 +158,17 @@
|
||||
<button type="button" data-action="createItem" data-item-type="artifact">{{localize "MGNE.Character.AddArtifact"}}</button>
|
||||
</div>
|
||||
{{#each artifacts}}
|
||||
<div class="item-row" data-item-id="{{id}}">
|
||||
<div class="item-name">{{name}}</div>
|
||||
<div class="item-row {{#if system.broken}}item-row-broken{{/if}}" data-item-id="{{id}}">
|
||||
<div class="item-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>
|
||||
{{name}}{{#if system.broken}} <span class="item-broken-badge">{{localize "MGNE.Common.Broken"}}</span>{{/if}}
|
||||
</div>
|
||||
<div>{{#if system.synchronized}}{{localize "MGNE.Common.Synchronized"}}{{else}}{{localize "MGNE.Common.Unsynchronized"}}{{/if}}</div>
|
||||
<div>{{system.usageDie}}</div>
|
||||
<span class="item-weight-badge weight-{{system.weight}}">{{lookup @root.config.weightCategories system.weight}}</span>
|
||||
<span class="item-durability-badge {{#if system.broken}}durability-broken{{/if}}"><i class="fa-solid fa-shield-halved"></i> {{system.durabilityDie}}</span>
|
||||
<div class="item-actions">
|
||||
<button type="button" data-action="syncArtifact">{{#if system.synchronized}}{{localize "MGNE.Common.Desync"}}{{else}}{{localize "MGNE.Common.Sync"}}{{/if}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="durability">{{localize "MGNE.Common.Durability"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="usage">{{localize "MGNE.Common.Usage"}}</button>
|
||||
<button type="button" data-action="editItem">{{localize "MGNE.Common.Edit"}}</button>
|
||||
<button type="button" data-action="deleteItem">{{localize "MGNE.Common.Delete"}}</button>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
</div>
|
||||
{{#each features}}
|
||||
<div class="item-row" data-item-id="{{id}}">
|
||||
<div class="item-name">{{name}}</div>
|
||||
<div class="item-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>{{name}}</div>
|
||||
<div class="item-actions">
|
||||
<button type="button" data-action="editItem">{{localize "MGNE.Common.Edit"}}</button>
|
||||
<button type="button" data-action="deleteItem">{{localize "MGNE.Common.Delete"}}</button>
|
||||
|
||||
@@ -19,6 +19,13 @@
|
||||
<small class="ability-defense-sub">{{localize "MGNE.Abilities.agility"}}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ability-card ability-card-armor">
|
||||
<label class="rollable ability-label" data-roll-type="armor">{{localize "MGNE.Common.ArmorSave"}}</label>
|
||||
<div class="ability-score ability-score-text">
|
||||
<span class="ability-defense-main">{{#if system.armorFormula}}{{system.armorFormula}}{{else}}—{{/if}}</span>
|
||||
<small class="ability-defense-sub">{{localize "MGNE.Common.ArmorDie"}}</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid two">
|
||||
|
||||
@@ -11,12 +11,19 @@
|
||||
{{#if subtitle}}<p class="chat-subtitle"><strong>{{subtitle}}</strong></p>{{/if}}
|
||||
{{#if formula}}<p class="chat-formula"><code>{{formula}}</code></p>{{/if}}
|
||||
{{#if outcome}}
|
||||
<div class="chat-outcome">
|
||||
<div class="chat-outcome {{#if diceTooltip}}has-tooltip{{/if}}" role="button" tabindex="0" data-action="toggle-dice-tooltip">
|
||||
<span class="chat-outcome-label">{{outcome}}</span>
|
||||
<span class="chat-outcome-total">{{total}}</span>
|
||||
{{#if diceTooltip}}<i class="chat-tooltip-icon fa-solid fa-dice"></i>{{/if}}
|
||||
</div>
|
||||
{{else if total}}
|
||||
<div class="chat-damage-total">{{total}}</div>
|
||||
<div class="chat-damage-total {{#if diceTooltip}}has-tooltip{{/if}}" role="button" tabindex="0" data-action="toggle-dice-tooltip">
|
||||
{{total}}
|
||||
{{#if diceTooltip}}<i class="chat-tooltip-icon fa-solid fa-dice"></i>{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if diceTooltip}}
|
||||
<div class="chat-dice-tooltip" hidden>{{{diceTooltip}}}</div>
|
||||
{{/if}}
|
||||
{{#if specialText}}<p class="chat-special">{{specialText}}</p>{{/if}}
|
||||
{{#if omenNeutralizeReminder}}<p class="chat-omen-remind chat-omen-neutralize">💡 {{omenNeutralizeReminder}}</p>{{/if}}
|
||||
|
||||
@@ -42,21 +42,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ability-grid">
|
||||
{{#each abilityList}}
|
||||
<div class="ability-card">
|
||||
<label class="rollable ability-label" data-roll-type="ability" data-ability-id="{{id}}">{{label}}</label>
|
||||
<div class="ability-score">
|
||||
<select class="numeric-input ability-input" name="system.abilities.{{id}}.value">
|
||||
{{#each @root.selectOptions.abilityValues}}
|
||||
<option value="{{value}}" {{#if (isEqual ../value value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Attack"}}</h3>
|
||||
|
||||
+78
-56
@@ -42,69 +42,91 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ability-grid">
|
||||
{{#each abilityList}}
|
||||
<div class="ability-card">
|
||||
<label class="rollable ability-label" data-roll-type="ability" data-ability-id="{{id}}">{{label}}</label>
|
||||
<div class="ability-score">
|
||||
<select class="numeric-input ability-input" name="system.abilities.{{id}}.value">
|
||||
{{#each @root.selectOptions.abilityValues}}
|
||||
<option value="{{value}}" {{#if (isEqual ../value value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
<!-- Type + Number row -->
|
||||
<div class="creature-meta-row">
|
||||
<div class="creature-type-group">
|
||||
<span class="creature-meta-label">{{localize "MGNE.Creature.Type"}}</span>
|
||||
{{#each creatureTypes}}
|
||||
<label class="creature-type-checkbox">
|
||||
<input type="checkbox" name="system.creatureType" value="{{key}}" {{#if checked}}checked{{/if}} />
|
||||
<span>{{label}}</span>
|
||||
</label>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="creature-number-group">
|
||||
<label class="creature-meta-label" for="creature-number">{{localize "MGNE.Creature.Number"}}</label>
|
||||
<input id="creature-number" class="creature-number-input" type="text" name="system.number" value="{{source.system.number}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Action Table -->
|
||||
<div class="inventory-section creature-action-table-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Creature.ActionTable"}}</h3>
|
||||
{{#if actionTable}}
|
||||
<div class="action-table-buttons">
|
||||
<button type="button" data-action="rollActionTable" class="rollable" data-tooltip="{{localize "MGNE.Creature.RollAction"}}">
|
||||
<i class="fa-solid fa-dice-d20"></i> {{localize "MGNE.Creature.RollAction"}}
|
||||
</button>
|
||||
<button type="button" data-action="openActionTable" data-tooltip="{{localize "MGNE.Creature.OpenTable"}}">
|
||||
<i class="fa-solid fa-table-list"></i> {{localize "MGNE.Creature.OpenTable"}}
|
||||
</button>
|
||||
<button type="button" data-action="clearActionTable" data-tooltip="{{localize "MGNE.Creature.ClearTable"}}">
|
||||
<i class="fa-solid fa-xmark"></i>
|
||||
</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="action-table-drop-zone {{#unless actionTable}}drop-hint{{/unless}}">
|
||||
{{#if actionTable}}
|
||||
<i class="fa-solid fa-table-list"></i>
|
||||
<span class="action-table-name">{{actionTable.name}}</span>
|
||||
{{else}}
|
||||
<i class="fa-solid fa-cloud-arrow-down"></i>
|
||||
<span>{{localize "MGNE.Creature.DropTableHint"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Traits -->
|
||||
<div class="creature-traits-container">
|
||||
<div class="creature-traits-header">
|
||||
<h3>{{localize "MGNE.Creature.Traits"}}</h3>
|
||||
<button type="button" data-action="createItem" data-item-type="creature-trait">
|
||||
<i class="fa-solid fa-plus"></i> {{localize "MGNE.Creature.AddTrait"}}
|
||||
</button>
|
||||
</div>
|
||||
<div class="creature-traits-list">
|
||||
{{#each traits}}
|
||||
<div class="creature-trait-card" data-item-id="{{id}}">
|
||||
<div class="creature-trait-card-header">
|
||||
<div class="creature-trait-name" {{#if tooltip}}data-tooltip="{{tooltip}}" data-tooltip-class="mgne-item-tooltip"{{/if}}>
|
||||
<i class="fa-solid fa-bolt-lightning"></i>
|
||||
<span>{{name}}</span>
|
||||
</div>
|
||||
{{#if system.trigger}}
|
||||
<span class="creature-trait-trigger">{{system.trigger}}</span>
|
||||
{{/if}}
|
||||
<div class="item-actions">
|
||||
<button type="button" data-action="editItem" data-tooltip="{{localize "MGNE.Common.Edit"}}"><i class="fa-solid fa-pen"></i></button>
|
||||
<button type="button" data-action="deleteItem" data-item-id="{{id}}" data-tooltip="{{localize "MGNE.Common.Delete"}}"><i class="fa-solid fa-trash"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{else}}
|
||||
<p class="empty-state">{{localize "MGNE.Empty.NoTraits"}}</p>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Description -->
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Attack"}}</h3>
|
||||
<h3>{{localize "MGNE.Common.Description"}}</h3>
|
||||
</div>
|
||||
<fieldset>
|
||||
<div class="grid three">
|
||||
<div>
|
||||
<label>{{localize "MGNE.Common.Label"}}</label>
|
||||
<input type="text" name="system.attack.label" value="{{source.system.attack.label}}" />
|
||||
</div>
|
||||
<div>
|
||||
<label>{{localize "MGNE.Common.Damage"}}</label>
|
||||
<input type="text" name="system.attack.damage" value="{{source.system.attack.damage}}" />
|
||||
</div>
|
||||
<div class="inline-buttons">
|
||||
<button type="button" class="rollable" data-roll-type="profile-attack">{{localize "MGNE.Common.Attack"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="profile-damage">{{localize "MGNE.Common.Damage"}}</button>
|
||||
<button type="button" class="rollable" data-roll-type="morale">{{localize "MGNE.Common.Morale"}}</button>
|
||||
</div>
|
||||
</div>
|
||||
{{formInput systemFields.description enriched=(lookup enrichedFields "description") value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="grid two">
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Description"}}</h3>
|
||||
</div>
|
||||
<fieldset>
|
||||
{{formInput systemFields.description enriched=(lookup enrichedFields "description") value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Creature.Special"}}</h3>
|
||||
</div>
|
||||
<fieldset>
|
||||
{{formInput systemFields.special enriched=(lookup enrichedFields "special") value=system.special name="system.special" toggled=true}}
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Notes"}}</h3>
|
||||
</div>
|
||||
<fieldset>
|
||||
{{formInput systemFields.notes enriched=(lookup enrichedFields "notes") value=system.notes name="system.notes" toggled=true}}
|
||||
</fieldset>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<section class="mgne-sheet">
|
||||
<div class="sheet-header">
|
||||
<img class="item-portrait" src="{{item.img}}" data-edit="img" data-action="editImage" alt="{{item.name}}" />
|
||||
<div class="header-fields">
|
||||
<input type="text" name="name" value="{{source.name}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-form-grid item-form-grid-one">
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.CreatureTrait.Trigger"}}</label>
|
||||
<input type="text" name="system.trigger" value="{{source.system.trigger}}" placeholder="{{localize "MGNE.CreatureTrait.TriggerPlaceholder"}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Description"}}</h3>
|
||||
</div>
|
||||
<fieldset>
|
||||
{{formInput systemFields.description enriched=(lookup enrichedFields "description") value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
</section>
|
||||
@@ -14,6 +14,14 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.Weight"}}</label>
|
||||
<select name="system.weight">
|
||||
{{#each selectOptions.weightCategories}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.weight value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.Quantity"}}</label>
|
||||
<input type="number" name="system.quantity" value="{{source.system.quantity}}" />
|
||||
@@ -26,11 +34,20 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.DurabilityDie"}}</label>
|
||||
<select name="system.durabilityDie">
|
||||
{{#each selectOptions.usageDice}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.durabilityDie value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-check-grid item-check-grid-three check-grid">
|
||||
<label><input type="checkbox" name="system.carried" {{#if source.system.carried}}checked{{/if}} /> {{localize "MGNE.Common.Carried"}}</label>
|
||||
<label><input type="checkbox" name="system.equipped" {{#if source.system.equipped}}checked{{/if}} /> {{localize "MGNE.Common.Equipped"}}</label>
|
||||
<label><input type="checkbox" name="system.consumable" {{#if source.system.consumable}}checked{{/if}} /> {{localize "MGNE.Common.Consumable"}}</label>
|
||||
<label><input type="checkbox" name="system.broken" {{#if source.system.broken}}checked{{/if}} /> {{localize "MGNE.Common.Broken"}}</label>
|
||||
</div>
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Description"}}</h3>
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
<section class="tab-panel {{tab.cssClass}}">
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Party.Loot"}}</h3>
|
||||
</div>
|
||||
|
||||
{{#if lootItems.length}}
|
||||
<div class="party-loot-list">
|
||||
<div class="party-loot-row party-loot-header">
|
||||
<span></span>
|
||||
<span>{{localize "MGNE.Common.Name"}}</span>
|
||||
<span>{{localize "MGNE.Common.Type"}}</span>
|
||||
<span></span>
|
||||
</div>
|
||||
{{#each lootItems as |item|}}
|
||||
<div class="party-loot-row" data-item-id="{{item.id}}">
|
||||
<img src="{{item.img}}" class="item-portrait" />
|
||||
<span class="item-name">{{item.name}}</span>
|
||||
<span class="item-type-label">{{item.typeLabel}}</span>
|
||||
<div class="item-actions">
|
||||
<a data-action="editItem" data-item-id="{{item.id}}" data-tooltip="{{localize 'MGNE.Common.Edit'}}">
|
||||
<i class="fa-solid fa-pen"></i>
|
||||
</a>
|
||||
<a data-action="deleteItem" data-item-id="{{item.id}}" data-tooltip="{{localize 'MGNE.Common.Delete'}}">
|
||||
<i class="fa-solid fa-trash"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{else}}
|
||||
<p class="empty-section-hint">{{localize "MGNE.Empty.NoLoot"}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<p class="party-drop-hint">{{localize "MGNE.Party.DropLootHint"}}</p>
|
||||
</section>
|
||||
@@ -0,0 +1,21 @@
|
||||
<section class="mgne-sheet mgne-sheet-header">
|
||||
<div class="sheet-header">
|
||||
<div class="portrait-column">
|
||||
<img class="actor-portrait" src="{{actor.img}}" data-edit="img" data-action="editImage" alt="{{actor.name}}" />
|
||||
</div>
|
||||
<div class="header-fields">
|
||||
<input type="text" name="name" value="{{source.name}}" />
|
||||
<div class="party-credits-row">
|
||||
<label class="resource-label-accent">{{localize "MGNE.Party.Credits"}}</label>
|
||||
<div class="party-credits-stepper">
|
||||
<button type="button" class="credits-btn" data-action="adjustCredits" data-delta="-10">−10</button>
|
||||
<button type="button" class="credits-btn" data-action="adjustCredits" data-delta="-1">−1</button>
|
||||
<input class="numeric-input credits-input" type="number" name="system.credits" value="{{source.system.credits}}" min="0" />
|
||||
<span class="credits-symbol">₵</span>
|
||||
<button type="button" class="credits-btn" data-action="adjustCredits" data-delta="1">+1</button>
|
||||
<button type="button" class="credits-btn" data-action="adjustCredits" data-delta="10">+10</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,48 @@
|
||||
<section class="tab-panel {{tab.cssClass}}">
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Party.Members"}}</h3>
|
||||
</div>
|
||||
|
||||
{{#if members.length}}
|
||||
<div class="party-member-list">
|
||||
<div class="party-member-row party-member-header">
|
||||
<span></span>
|
||||
<span>{{localize "MGNE.Common.Name"}}</span>
|
||||
<span>{{localize "MGNE.Common.HP"}}</span>
|
||||
<span>{{localize "MGNE.Common.Type"}}</span>
|
||||
<span></span>
|
||||
</div>
|
||||
{{#each members as |member|}}
|
||||
<div class="party-member-row" data-actor-id="{{member.id}}">
|
||||
<img src="{{member.img}}" class="party-member-portrait" />
|
||||
<span class="party-member-name">
|
||||
<a data-action="openMember" data-actor-id="{{member.id}}">{{member.name}}</a>
|
||||
</span>
|
||||
<span class="party-member-hp">{{member.hp}}</span>
|
||||
<span class="party-member-type">{{member.typeLabel}}</span>
|
||||
<div class="item-actions">
|
||||
{{#unless member.isFirst}}
|
||||
<a data-action="moveMemberUp" data-ref-idx="{{member.refIdx}}" data-tooltip="{{localize 'MGNE.Party.MoveUp'}}">
|
||||
<i class="fa-solid fa-chevron-up"></i>
|
||||
</a>
|
||||
{{/unless}}
|
||||
{{#unless member.isLast}}
|
||||
<a data-action="moveMemberDown" data-ref-idx="{{member.refIdx}}" data-tooltip="{{localize 'MGNE.Party.MoveDown'}}">
|
||||
<i class="fa-solid fa-chevron-down"></i>
|
||||
</a>
|
||||
{{/unless}}
|
||||
<a data-action="removeMember" data-actor-id="{{member.id}}" data-tooltip="{{localize 'MGNE.Party.RemoveMember'}}">
|
||||
<i class="fa-solid fa-times"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{else}}
|
||||
<p class="empty-section-hint">{{localize "MGNE.Empty.NoMembers"}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<p class="party-drop-hint">{{localize "MGNE.Party.DropMemberHint"}}</p>
|
||||
</section>
|
||||
@@ -0,0 +1,10 @@
|
||||
<section class="tab-panel {{tab.cssClass}}">
|
||||
<div class="inventory-section">
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Notes"}}</h3>
|
||||
</div>
|
||||
<fieldset>
|
||||
{{formInput systemFields.notes enriched=(lookup enrichedFields "notes") value=system.notes name="system.notes" toggled=true}}
|
||||
</fieldset>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,5 @@
|
||||
<nav class="sheet-tabs">
|
||||
{{#each tabs}}
|
||||
<button type="button" class="tab-button {{cssClass}}" data-action="changeTab" data-group="{{group}}" data-tab="{{id}}">{{label}}</button>
|
||||
{{/each}}
|
||||
</nav>
|
||||
@@ -5,7 +5,7 @@
|
||||
<input type="text" name="name" value="{{source.name}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-form-grid item-form-grid-two">
|
||||
<div class="item-form-grid item-form-grid-three">
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.UsageDie"}}</label>
|
||||
<select name="system.usageDie">
|
||||
@@ -14,9 +14,26 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.DurabilityDie"}}</label>
|
||||
<select name="system.durabilityDie">
|
||||
{{#each selectOptions.usageDice}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.durabilityDie value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.Weight"}}</label>
|
||||
<select name="system.weight">
|
||||
{{#each selectOptions.weightCategories}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.weight value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-check-grid check-grid">
|
||||
<label><input type="checkbox" name="system.burnedOut" {{#if source.system.burnedOut}}checked{{/if}} /> {{localize "MGNE.Common.BurnedOut"}}</label>
|
||||
<label><input type="checkbox" name="system.broken" {{#if source.system.broken}}checked{{/if}} /> {{localize "MGNE.Common.Broken"}}</label>
|
||||
</div>
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Description"}}</h3>
|
||||
|
||||
+17
-1
@@ -5,7 +5,7 @@
|
||||
<input type="text" name="name" value="{{source.name}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-form-grid item-form-grid-two">
|
||||
<div class="item-form-grid item-form-grid-three">
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.ArmorDie"}}</label>
|
||||
<select name="system.armorDie">
|
||||
@@ -22,6 +22,22 @@
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.Weight"}}</label>
|
||||
<select name="system.weight">
|
||||
{{#each selectOptions.weightCategories}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.weight value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.DurabilityDie"}}</label>
|
||||
<select name="system.durabilityDie">
|
||||
{{#each selectOptions.usageDice}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.durabilityDie value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-check-grid check-grid">
|
||||
<label><input type="checkbox" name="system.equipped" {{#if source.system.equipped}}checked{{/if}} /> {{localize "MGNE.Common.Equipped"}}</label>
|
||||
|
||||
+27
-2
@@ -23,8 +23,20 @@
|
||||
<input type="text" name="system.range" value="{{source.system.range}}" />
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.Properties"}}</label>
|
||||
<input type="text" name="system.properties" value="{{source.system.properties}}" />
|
||||
<label>{{localize "MGNE.Common.Weight"}}</label>
|
||||
<select name="system.weight">
|
||||
{{#each selectOptions.weightCategories}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.weight value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.DurabilityDie"}}</label>
|
||||
<select name="system.durabilityDie">
|
||||
{{#each selectOptions.usageDice}}
|
||||
<option value="{{value}}" {{#if (isEqual ../source.system.durabilityDie value)}}selected{{/if}}>{{label}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="item-form-row">
|
||||
<label>{{localize "MGNE.Common.UsageDie"}}</label>
|
||||
@@ -43,6 +55,19 @@
|
||||
<label><input type="checkbox" name="system.equipped" {{#if source.system.equipped}}checked{{/if}} /> {{localize "MGNE.Common.Equipped"}}</label>
|
||||
<label><input type="checkbox" name="system.broken" {{#if source.system.broken}}checked{{/if}} /> {{localize "MGNE.Common.Broken"}}</label>
|
||||
</div>
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Properties"}}</h3>
|
||||
</div>
|
||||
<div class="weapon-properties-grid">
|
||||
<input type="hidden" name="system.properties" value="" />
|
||||
{{#each selectOptions.weaponProperties}}
|
||||
<label class="property-check" title="{{hint}}">
|
||||
<input type="checkbox" name="system.properties" value="{{value}}"
|
||||
{{#if (includes ../source.system.properties value)}}checked{{/if}} />
|
||||
{{label}}
|
||||
</label>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="inventory-header">
|
||||
<h3>{{localize "MGNE.Common.Description"}}</h3>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user