Initial import
This commit is contained in:
296
templates/actor-sheet.html
Normal file
296
templates/actor-sheet.html
Normal file
@@ -0,0 +1,296 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<div class="header-fields">
|
||||
<div class="flexrow">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="statistics">Statistics</a>
|
||||
<a class="item" data-tab="specs">Specialisations</a>
|
||||
<a class="item" data-tab="powers">Powers</a>
|
||||
<a class="item" data-tab="fight">Fight</a>
|
||||
<a class="item" data-tab="equipment">Equipment</a>
|
||||
<a class="item" data-tab="biodata">Biography</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Carac Tab --}}
|
||||
<div class="tab items" data-group="primary" data-tab="statistics">
|
||||
|
||||
<span><a class="lock-unlock-sheet"><img class="small-button-container"
|
||||
src="systems/fvtt-weapons-of-the-gods/images/icons/{{#if editScore}}unlocked.svg{{else}}locked.svg{{/if}}" alt="Unlocked/Locked"
|
||||
>{{#if editScore}}Unlocked{{else}}Locked{{/if}}</a>
|
||||
</span>
|
||||
|
||||
<div class="grid grid-2col">
|
||||
<div class="">
|
||||
<ul>
|
||||
{{#each data.statistics as |stat key|}}
|
||||
<li class="item flexrow list-item" data-attr-key="{{key}}">
|
||||
<span class="stat-label flexrow" name="{{key}}"><h4><a class="roll-stat" data-stat-id="{{key}}"">{{stat.label}}</a></h4></span>
|
||||
<select class="carac-base flexrow" type="text" name="data.statistics.{{key}}.value" value="{{stat.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{#select stat.value}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-level.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<input type="text" class="input-numeric-short padd-right" name="stat.mod" value="{{stat.mod}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}/>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
<ul>
|
||||
{{#each data.secondary as |stat2 key|}}
|
||||
<li class="item flexrow list-item" data-attr-key="{{key}}">
|
||||
<span class="stat-label flexrow" name="{{key}}"><h4>{{stat2.label}}</h4></span>
|
||||
<select class="carac-base flexrow" type="text" name="data.secondary.{{key}}.value" value="{{stat2.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{#select stat2.value}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-level.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Other Tab --}}
|
||||
<div class="tab items" data-group="primary" data-tab="specs">
|
||||
|
||||
<div>
|
||||
<span class="generic-label"><h3>Specialisations</h3></span>
|
||||
<ul class="stat-list alternate-list">
|
||||
{{#each specs as |spec key|}}
|
||||
<li class="item stat flexrow list-item" data-item-id="{{spec._id}}">
|
||||
<img class="sheet-competence-img" src="{{spec.img}}"/>
|
||||
<span class="stat-label">{{spec.name}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Combat Tab --}}
|
||||
<div class="tab fight" data-group="primary" data-tab="fight">
|
||||
<div class="flexcol">
|
||||
|
||||
<ul class="stat-list alternate-list">
|
||||
<li class="item stat flexrow list-item">
|
||||
<span class="generic-label"><h3>Health</h3></span>
|
||||
<input type="text" class="" name="data.secondary.health.value" value="{{data.secondary.health.value}}" data-dtype="Number"/>
|
||||
/ {{data.secondary.health.max}}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<span class="generic-label"><h3>Weapons</h3></span>
|
||||
<ul class="stat-list alternate-list">
|
||||
{{#each weapons as |weapon key|}}
|
||||
<li class="item stat flexrow list-item" data-arme-id="{{weapon.id}}" data-item-id="{{weapon._id}}">
|
||||
<img class="sheet-competence-img" src="{{weapon.img}}"/>
|
||||
<span class="generic-label"><a class="weapon-roll">{{weapon.name}}</a></span>
|
||||
<span class="generic-label">{{weapon.data.typeText}}</span>
|
||||
<span class="generic-label">Speed {{weapon.data.speed}}</span>
|
||||
<span class="generic-label">Damage {{weapon.data.damage}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-equip" title="Worn">{{#if weapon.data.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
<span class="generic-label"><h3>Armor</h3></span>
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each armors as |armor key|}}
|
||||
<li class="item stat flexrow list-item" data-item-id="{{armor._id}}">
|
||||
<img class="sheet-competence-img" src="{{armor.img}}"/>
|
||||
<span class="stat-label outfit-label">{{armor.name}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-equip" title="Worn">{{#if armor.data.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Powers Tab --}}
|
||||
<div class="tab fight" data-group="primary" data-tab="powers">
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<span class="generic-label"><h3>Powers</h3></span>
|
||||
<ul class="stat-list alternate-list">
|
||||
{{#each powers as |power key|}}
|
||||
<li class="item stat flexrow list-item" data-item-id="{{power._id}}">
|
||||
<img class="sheet-competence-img" src="{{power.img}}"/>
|
||||
<span class="stat-label"><a class="power-roll">{{power.name}}</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Equipement Tab --}}
|
||||
<div class="tab equipment" data-group="primary" data-tab="equipment">
|
||||
|
||||
<div><h4>Equipment</h4></div>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item">
|
||||
<span class="equipement-label">Name</span>
|
||||
<span class="equipement-label">Type</span>
|
||||
<div class="item-controls">
|
||||
<span class="equipement-label"> </span>
|
||||
<span class="equipement-label"> </span>
|
||||
<span class="equipement-label"> </span>
|
||||
</div>
|
||||
</li>
|
||||
{{#each equipments as |equip key|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{equip._id}}">
|
||||
<img class="sheet-competence-img" src="{{equip.img}}"/>
|
||||
<span class="equipement-label">{{equip.name}}</span>
|
||||
<span class="equipement-label">{{equip.type}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-equip" title="Worn">{{#if equip.data.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biodata" data-group="primary" data-tab="biodata">
|
||||
<div class="grid grid-2col">
|
||||
<div>
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Origin</label>
|
||||
<input type="text" class="" name="data.biodata.origin" value="{{data.biodata.origin}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Age</label>
|
||||
<input type="text" class="" name="data.biodata.age" value="{{data.biodata.age}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Height</label>
|
||||
<input type="text" class="" name="data.biodata.size" value="{{data.biodata.size}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Eyes</label>
|
||||
<input type="text" class="" name="data.biodata.eyes" value="{{data.biodata.eyes}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Hair</label>
|
||||
<input type="text" class="" name="data.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String"/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Rank</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.biodata.rank" value="{{data.biodata.rank}}" data-dtype="Number">
|
||||
{{#select data.biodata.rank}}
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Weight</label>
|
||||
<input type="text" class="" name="data.biodata.weight" value="{{data.biodata.weight}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Archetype</label>
|
||||
<input type="text" class="" name="data.biodata.archetype" value="{{data.biodata.archetype}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">Sex</label>
|
||||
<input type="text" class="" name="data.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String"/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<h3>Destiny : </h3>
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="short-label">Achieved (Total) : </label>
|
||||
<input type="text" class="" name="data.destiny.achieved" value="{{data.destiny.achieved}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="short-label">Avanced (Spent) : </label>
|
||||
<input type="text" class="" name="data.destiny.advanced" value="{{data.destiny.advanced}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="short-label">Held back (available) : </label>
|
||||
<input type="text" class="" name="data.destiny.available" value="{{data.destiny.available}}" data-dtype="Number"/>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
<h3>Goals : </h3>
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="short-label">Immediate : </label>
|
||||
<input type="text" class="" name="data.biodata.goalimmediate" value="{{data.biodata.goalimmediate}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="short-label">Futur : </label>
|
||||
<input type="text" class="" name="data.biodata.goalfutur" value="{{data.biodata.goalfutur}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow">
|
||||
<label class="short-label">Passion : </label>
|
||||
<input type="text" class="" name="data.biodata.passion" value="{{data.biodata.passion}}" data-dtype="String"/>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
<h3>History : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.biodata.description target="data.biodata.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<hr>
|
||||
<h3>Notes : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.biodata.notes target="data.biodata.notes" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<hr>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
||||
61
templates/chat-generic-result.html
Normal file
61
templates/chat-generic-result.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<div class="chat-message-header">
|
||||
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
||||
<h4 class=chat-actor-name>{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div >
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
<h4>
|
||||
{{#if (eq mode "skill")}}
|
||||
Skill : {{skill.name}}
|
||||
{{else}}
|
||||
{{#if (eq mode "technique")}}
|
||||
Technique : {{technique.name}}
|
||||
{{else}}
|
||||
{{#if (eq mode "weapon")}}
|
||||
Weapon attack : {{weapon.name}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="flexcol">
|
||||
<div class="dice-total">
|
||||
{{#each diceResults as |diceResult key|}}
|
||||
<div class="dice">
|
||||
{{#if (gt @root.nbDice 2)}}
|
||||
<a class="dice-to-river" data-actor-id="{{@root.actorId}}" data-roll-id="{{@root.rollId}}" data-dice-index="{{key}}" data-dice-value="{{diceResult.result}}">
|
||||
{{/if}}
|
||||
<label>{{diceResult.result}}</label>
|
||||
<img src="systems/fvtt-weapons-of-the-gods/images/dice/d10black.svg" />
|
||||
{{#if (gt @root.nbDice 2)}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
{{#if (eq mode "technique")}}
|
||||
<li>{{technique.data.chicolor}} Chi cost : {{technique.data.chicost}} </li>
|
||||
<li><button class="chat-card-button apply-technique-cost" data-actor-id="{{actorId}}" data-roll-id="{{@root.rollId}}" data-technique-id="{{technique._id}}">Apply Chi cost</button></li>
|
||||
<li>Effect description : {{technique.data.effectdescription}}</li>
|
||||
{{/if}}
|
||||
{{#if (eq mode "weapon")}}
|
||||
<li>Effect description : {{weapon.data.effectdescription}}</li>
|
||||
{{/if}}
|
||||
<li>Modifiers : {{negativeModifier}} / {{positiveModifier}} </li>
|
||||
<li><strong>Total Roll : {{finalScore}}</strong>
|
||||
|
||||
{{#if linkedRollId}}
|
||||
<li><button class="chat-card-button apply-defense-roll" data-roll-score="{{finalScore}}" data-roll-id="{{@root.rollId}}" data-actor-id="{{actorId}}" data-defender-id="{{defenseAttackerId}}">Use this Roll as defense</button></li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
15
templates/chat-opposed-damage.html
Normal file
15
templates/chat-opposed-damage.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="chat-message-header">
|
||||
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
||||
<h4 class=chat-actor-name>{{defenderName}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li>{{defenderName}} suffer damages from {{attackerName}} !</li>
|
||||
<li>Damages (inc. armor+weapon) : {{finalDamage}}</li>
|
||||
<li><button class="chat-card-button reduce-damage-chi" data-actor-id="{{actorId}}" data-roll-id="{{rollId}}" >Oppose damage roll with Chi</button></li>
|
||||
<li><button class="chat-card-button apply-damage" data-actor-id="{{actorId}}" data-roll-id="{{rollId}}" >Apply damage</button></li>
|
||||
</ul>
|
||||
</div>
|
||||
11
templates/chat-opposed-fail.html
Normal file
11
templates/chat-opposed-fail.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="chat-message-header">
|
||||
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
||||
<h4 class=chat-actor-name>{{defenderName}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div >
|
||||
{{defenderName}} wins the opposition against {{attackerName}} !
|
||||
</div>
|
||||
|
||||
</div>
|
||||
6
templates/editor-notes-gm.html
Normal file
6
templates/editor-notes-gm.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{#if data.isGM}}
|
||||
<h3>GM Notes : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.gmnotes target="data.gmnotes" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
{{/if}}
|
||||
20
templates/item-ability-sheet.html
Normal file
20
templates/item-ability-sheet.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
46
templates/item-armor-sheet.html
Normal file
46
templates/item-armor-sheet.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
|
||||
{{#select data.statistic}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Resistance</label>
|
||||
<input type="text" class="padd-right" name="data.resistance" value="{{data.resistance}}" data-dtype="String"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||
<input type="text" class="padd-right" name="data.idr" value="{{data.idr}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
42
templates/item-equipment-sheet.html
Normal file
42
templates/item-equipment-sheet.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="generic-label">Type</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.type" value="{{data.type}}" data-dtype="String">
|
||||
{{#select data.statistic}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-equipment-types.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||
<input type="text" class="padd-right" name="data.idr" value="{{data.idr}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
28
templates/item-perk-sheet.html
Normal file
28
templates/item-perk-sheet.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Upgrades</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.upgrades target="data.upgrades" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Rules</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.rules target="data.rules" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
66
templates/item-power-sheet.html
Normal file
66
templates/item-power-sheet.html
Normal file
@@ -0,0 +1,66 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="generic-label">Roll Needed ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.rollneeded" {{checked data.rollneeded}}/></label>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Related Statistic (only if roll is needed)</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
|
||||
{{#select data.statistic}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Cost Type</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.costtype" value="{{data.costtype}}" data-dtype="String">
|
||||
{{#select data.family}}
|
||||
<option value="once">Once</option>
|
||||
<option value="perlevel">Per Level</option>
|
||||
<option value="perround">Per Round</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Range</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.range" value="{{data.range}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Action</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.action" value="{{data.action}}" data-dtype="String">
|
||||
{{#select data.action}}
|
||||
<option value="soft">Soft</option>
|
||||
<option value="hard">Hard</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Type</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.type" value="{{data.type}}" data-dtype="String">
|
||||
{{#select data.type}}
|
||||
<option value="instant">Instant</option>
|
||||
<option value="active">Active</option>
|
||||
<option value="permanent">Permanent</option>
|
||||
<option value="reactive">Reactive</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Effects</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.effects target="data.effects" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</li>
|
||||
<
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
40
templates/item-race-sheet.html
Normal file
40
templates/item-race-sheet.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Environment</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.environment target="data.environment" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Society/Culture</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.society_culture target="data.society_culture" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Outlook</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.outlook target="data.outlook" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Abilities</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.abilities target="data.abilities" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Statistics</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.statistics target="data.statistics" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
28
templates/item-role-sheet.html
Normal file
28
templates/item-role-sheet.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Abilities</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.abilities target="data.abilities" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<label class="generic-label">Statistics</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.statistics target="data.statistics" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
48
templates/item-shield-sheet.html
Normal file
48
templates/item-shield-sheet.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="generic-label">Defense Type</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.deftype" value="{{data.deftype}}" data-dtype="String">
|
||||
<option value="dodge">Dodge</option>
|
||||
<option value="block">Block</option>
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Dice Level</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.level" value="{{data.level}}" data-dtype="Number">
|
||||
{{#select data.level}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-level.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.idr" value="{{data.idr}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
36
templates/item-specialisation-sheet.html
Normal file
36
templates/item-specialisation-sheet.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
|
||||
{{#select data.statistic}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Level</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.level" value="{{data.level}}" data-dtype="Number">
|
||||
{{#select data.level}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-level.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="small-editor item-text-long-line">
|
||||
<label class="generic-label">Description</label>
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
46
templates/item-weapon-sheet.html
Normal file
46
templates/item-weapon-sheet.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
|
||||
{{#select data.statistic}}
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Damage</label>
|
||||
<input type="text" class="padd-right" name="data.damage" value="{{data.damage}}" data-dtype="String"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||
<input type="text" class="padd-right" name="data.idr" value="{{data.idr}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Description</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
184
templates/npc-sheet.html
Normal file
184
templates/npc-sheet.html
Normal file
@@ -0,0 +1,184 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<div class="header-fields">
|
||||
<div class="flexrow">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="attribute">Main</a>
|
||||
<a class="item" data-tab="defence">Defence/Weapons</a>
|
||||
<a class="item" data-tab="equipment">Equipment</a>
|
||||
<a class="item" data-tab="notes">Notes</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Carac Tab --}}
|
||||
<div class="tab items" data-group="primary" data-tab="attribute">
|
||||
<span><a class="lock-unlock-sheet"><img class="small-button-container"
|
||||
src="systems/fvtt-fragged-kingdom/images/icons/{{#if editScore}}unlocked.svg{{else}}locked.svg{{/if}}" alt="Unlocked/Locked"
|
||||
>{{#if editScore}}Unlocked{{else}}Locked{{/if}}</a>
|
||||
</span>
|
||||
<div class="grid grid-2col">
|
||||
<div class="">
|
||||
|
||||
<span class="generic-label"><h3>Type</h3>
|
||||
<select class="competence-base flexrow" type="text" name="data.npctype" value="{{data.npctype}}" data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{#select data.npctype}}
|
||||
<option value="henchman">Henchman</option>
|
||||
<option value="drone">Troop</option>
|
||||
{{/select}}
|
||||
</select> </span>
|
||||
|
||||
<button class="npc-skill-roll">Generic Skill roll</button>
|
||||
|
||||
<div>
|
||||
<span class="generic-label"><h3>Traits List</h3></span>
|
||||
<ul>
|
||||
{{#each traits as |trait key|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{trait.id}}">
|
||||
<img class="sheet-competence-img" src="{{trait.img}}"/>
|
||||
<span class="competence-label">{{trait.name}}</span>
|
||||
<span class="competence-label">{{trait.data.data.type}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
<span class="generic-label"><h3>Stats & Numbers</h3></span>
|
||||
<ul>
|
||||
{{#each data.spec as |spec key|}}
|
||||
<li class="item flexrow list-item stack-left" data-attr-key="{{key}}">
|
||||
<span class="stat-label padd-right npc-stat-label" name="{{key}}">{{spec.label}}</span>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.spec.{{key}}.value" value="{{spec.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}/>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Defence Tab --}}
|
||||
<div class="tab defence" data-group="primary" data-tab="defence">
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="">
|
||||
{{#each data.fight as |fight key|}}
|
||||
<ul>
|
||||
<li class="item flexrow list-item stack-left">
|
||||
<span class="stat-label padd-right"><strong>{{fight.label}}</strong></span>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.fight.{{key}}.value" value="{{fight.value}}" data-dtype="Number"/>
|
||||
</li>
|
||||
{{#each fight.derivated as |derivated keydev|}}
|
||||
<li class="item flexrow list-item">
|
||||
<span class="stat-label flexrow ">{{derivated.label}}</span>
|
||||
<input type="text" class="input-numeric-short padd-right" name="data.fight.{{key}}.derivated.{{keydev}}.value" value="{{derivated.value}}" data-dtype="Number"/>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
<span class="generic-label"><h3>Weapons</h3></span>
|
||||
<ul class="stat-list alternate-list">
|
||||
{{#each weapons as |weapon key|}}
|
||||
<li class="item stat flexrow list-item" data-arme-id="{{weapon.id}}" data-item-id="{{weapon.id}}">
|
||||
<img class="sheet-competence-img" src="{{weapon.img}}"/>
|
||||
<span class="stat-label">{{weapon.name}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-equip" title="Worn">{{#if weapon.data.data.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item stat flexrow list-item stats-table" data-armure-id="{{weapon.id}}" data-item-id="{{weapon.id}}">
|
||||
{{#each weapon.data.data.weaponstats as |weaponstat statkey|}}
|
||||
<ul>
|
||||
<li class="item stat flexrow list-item" data-item-id="{{weapon.id}}" data-stat-id={{statkey}}><span class="stat-label weapon-label"><a name="{{weapon.name}}">Attack with {{weaponstat.name}}</a></span>
|
||||
</li>
|
||||
<li>{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section.html" stats=weaponstat.data.statstotal isfinal=false header=true}}
|
||||
</li>
|
||||
</ul>
|
||||
{{/each}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Traits Tab --}}
|
||||
<div class="tab traits" data-group="primary" data-tab="traits">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Features Tab --}}
|
||||
<div class="tab equipment" data-group="primary" data-tab="equipment">
|
||||
<div class="flexcol">
|
||||
|
||||
<div><h4>Equipment</h4></div>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item">
|
||||
<span class="equipement-label">Name</span>
|
||||
<span class="equipement-label">Type</span>
|
||||
<div class="item-controls">
|
||||
<span class="equipement-label"> </span>
|
||||
<span class="equipement-label"> </span>
|
||||
<span class="equipement-label"> </span>
|
||||
</div>
|
||||
</li>
|
||||
{{#each equipments as |equip key|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{equip.id}}">
|
||||
<img class="sheet-competence-img" src="{{equip.img}}"/>
|
||||
<span class="equipement-label">{{equip.name}}</span>
|
||||
<span class="equipement-label">{{equip.type}}</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-equip" title="Worn">{{#if equip.data.data.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Notes Tab --}}
|
||||
<div class="tab notes" data-group="primary" data-tab="notes">
|
||||
<article class="flexcol">
|
||||
<h3>Description : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<hr>
|
||||
<h3>Notes : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<hr>
|
||||
{{>"systems/fvtt-fragged-kingdom/templates/editor-notes-gm.html"}}
|
||||
</article>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
||||
13
templates/partial-options-equipment-types.html
Normal file
13
templates/partial-options-equipment-types.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<option value="camping">Camping & Survival</option>
|
||||
<option value="communication">Communication & Information</option>
|
||||
<option value="equestrian">Equestrian</option>
|
||||
<option value="spy">Law/Security/Spy/Thief</option>
|
||||
<option value="medical">Medical</option>
|
||||
<option value="tools">Tools</option>
|
||||
<option value="weaponaccess">Weapons accessories</option>
|
||||
<option value="wizard">Wizards materials</option>
|
||||
<option value="mount">Mounts</option>
|
||||
<option value="vehicle">Vehicles</option>
|
||||
<option value="clothing">Clothing</option>
|
||||
<option value="ammo">Ammo</option>
|
||||
<option value="misc">Misc</option>
|
||||
10
templates/partial-options-level.html
Normal file
10
templates/partial-options-level.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<option value="1">d4</option>
|
||||
<option value="2">d6</option>
|
||||
<option value="3">d8</option>
|
||||
<option value="4">d10</option>
|
||||
<option value="5">d12</option>
|
||||
<option value="6">d12 d4</option>
|
||||
<option value="7">d12 d6</option>
|
||||
<option value="8">d12 d8</option>
|
||||
<option value="9">d12 d10</option>
|
||||
<option value="10">d12 d12</option>
|
||||
10
templates/partial-options-statistics.html
Normal file
10
templates/partial-options-statistics.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<option value="agi">AGI</option>
|
||||
<option value="mnd">MND</option>
|
||||
<option value="soc">SOC</option>
|
||||
<option value="str">STR</option>
|
||||
<option value="phy">PHY</option>
|
||||
<option value="com">COM</option>
|
||||
<option value="def">DEF</option>
|
||||
<option value="stl">STL</option>
|
||||
<option value="per">PER</option>
|
||||
<option value="foc">FOC</option>
|
||||
28
templates/post-item.html
Normal file
28
templates/post-item.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<div class="post-item" data-transfer="{{transfer}}">
|
||||
<h3><b>{{name}}</b></h3>
|
||||
{{#if img}}
|
||||
<img class="chat-img" src="{{img}}" title="{{name}}" />
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq type "weapon")}}
|
||||
{{#each data.weaponstats as |weaponstat rootkey|}}
|
||||
{{#if weaponstat.deleted}}
|
||||
{{else}}
|
||||
<h4>Stats for {{weaponstat.name}}</h4>
|
||||
{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section-tchat.html" stats=weaponstat.data.statstotal isfinal=false header=false}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{else}}
|
||||
|
||||
{{#if data.statstotal}}
|
||||
{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section-tchat.html" stats=data.statstotal isfinal=false title="" header=true}}
|
||||
{{else}}
|
||||
{{#if data.stats}}
|
||||
{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section-tchat.html" stats=data.stats isfinal=false title="" header=true}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<h4><b>Description : </b></h4>
|
||||
<p class="card-content">{{{data.description}}}</p>
|
||||
</div>
|
||||
22
templates/roll-dialog-damage-chi.html
Normal file
22
templates/roll-dialog-damage-chi.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<form class="skill-roll-dialog">
|
||||
<header class="roll-dialog-header">
|
||||
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
||||
</header>
|
||||
|
||||
<div class="floxrow">
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Select Chi : </span>
|
||||
<select class="roll-dialog-label" id="selectedChi" type="text" name="selectedChi" value="{{selectedChi}}" data-dtype="String">
|
||||
{{#select selectedChi}}
|
||||
{{#each chiList as |chi key|}}
|
||||
<option value="{{chi.key}}">{{chi.chi}} ({{chi.chiscore}})</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
46
templates/roll-dialog-skill.html
Normal file
46
templates/roll-dialog-skill.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<form class="skill-roll-dialog">
|
||||
<header class="roll-dialog-header">
|
||||
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
||||
</header>
|
||||
|
||||
<div class="floxrow">
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >{{skillAttr.label}} : {{skillAttr.value}}</span>
|
||||
<span class="roll-dialog-label" >Skill Level : {{skill.data.level}}</span>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Specialties reminder : </span>
|
||||
<span class="roll-dialog-label" >{{skill.data.specialties}}</span>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Specialties Dices Bonus : </span>
|
||||
<select class="competence-base" id="specialtiesBonus" type="text" name="specialtiesBonus" value="{{specialtiesBonus}}" data-dtype="Number">
|
||||
{{#select specialtiesBonus}}
|
||||
<option value="0">0</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Negative Modifier :</span>
|
||||
<select class="roll-dialog-label" id="negativeModifier" type="text" name="negativeModifier" value="{{negativeModifier}}" data-dtype="Number">
|
||||
{{#select negativeModifier}}
|
||||
{{{optionsNegative}}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Positive Modifier :</span>
|
||||
<select class="roll-dialog-label" id="positiveModifier" type="text" name="positiveModifier" value="{{positiveModifier}}" data-dtype="Number">
|
||||
{{#select positiveModifier}}
|
||||
{{{optionsPositive}}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
56
templates/roll-dialog-weapon.html
Normal file
56
templates/roll-dialog-weapon.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<form class="skill-roll-dialog">
|
||||
|
||||
<header class="roll-dialog-header">
|
||||
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
||||
</header>
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Select Skill : </span>
|
||||
<select class="roll-dialog-label" id="skillKey" type="text" name="skillKey" value="{{skillKey}}" data-dtype="String">
|
||||
{{#select skillKey}}
|
||||
{{#each weapon.data.skills as |skill key|}}
|
||||
<option value="{{key}}">{{skill.name}} ({{skill.data.level}}) - {{skill.data.attr.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Specialties reminder : </span>
|
||||
<span class="roll-dialog-label" >{{skill.data.specialties}}</span>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Specialties Dices Bonus : </span>
|
||||
<select class="roll-dialog-label" id="specialtiesBonus" type="text" name="specialtiesBonus" value="{{specialtiesBonus}}" data-dtype="Number">
|
||||
{{#select specialtiesBonus}}
|
||||
<option value="0">0</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Negative Modifier :</span>
|
||||
<select class="roll-dialog-label" id="negativeModifier" type="text" name="negativeModifier" value="{{negativeModifier}}" data-dtype="Number">
|
||||
{{#select negativeModifier}}
|
||||
{{{optionsNegative}}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label" >Positive Modifier :</span>
|
||||
<select class="roll-dialog-label" id="positiveModifier" type="text" name="positiveModifier" value="{{positiveModifier}}" data-dtype="Number">
|
||||
{{#select positiveModifier}}
|
||||
{{{optionsPositive}}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user