Add new compendiums
This commit is contained in:
@@ -94,103 +94,25 @@
|
||||
<ul class="stat-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header-long">
|
||||
<h3><label class="items-title-text">Perks</label></h3>
|
||||
<h3><label class="items-title-text">Weapons</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Level</label>
|
||||
<label class="short-label">Ability</label>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Range</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">#Targets</label>
|
||||
</span>
|
||||
<span class="item-field-label-long">
|
||||
<label class="short-label">Status</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Duration</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label"> </label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label"> </label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label"> </label>
|
||||
</span>
|
||||
</li>
|
||||
{{#each perks as |perk key|}}
|
||||
<li class="item flexrow list-item list-item-shadow" data-item-id="{{perk._id}}">
|
||||
{{#each equippedWeapons as |weapon key|}}
|
||||
<li class="item flexrow list-item list-item-shadow" data-item-id="{{weapon._id}}">
|
||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||
src="{{perk.img}}" /></a>
|
||||
<span class="item-name-label-long">{{perk.name}}</span>
|
||||
src="{{weapon.img}}" /></a>
|
||||
<span class="item-name-label-long">{{weapon.name}}</span>
|
||||
|
||||
<span class="item-field-label-short">{{perk.data.level}}</span>
|
||||
<span class="item-field-label-short">{{weapon.data.ability}}</span>
|
||||
|
||||
{{#if perk.data.features.range.flag}}
|
||||
<span class="item-field-label-medium">{{perk.data.features.range.value}}</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-medium"> - </span>
|
||||
<span class="item-field-label-medium">{{perk.data.range}}</span>
|
||||
|
||||
{{/if}}
|
||||
{{#if perk.data.features.nbtargets.flag}}
|
||||
<span class="item-field-label-short">{{perk.data.features.nbtargets.value}}</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-short"> - </span>
|
||||
{{/if}}
|
||||
|
||||
|
||||
<span class="item-field-label-long">
|
||||
<select class="perk-status" type="text" value="{{perk.data.status}}" data-dtype="String">
|
||||
{{#select perk.data.status}}
|
||||
<option value="ready">Ready</option>
|
||||
<option value="activated">Activated</option>
|
||||
<option value="round2">2 Rounds left</option>
|
||||
<option value="round1">1 Round left</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</span>
|
||||
|
||||
{{#if (ne perk.data.status "ready")}}
|
||||
{{#if (eq perk.data.nbuse "next1action")}}
|
||||
<span class="item-field-label-short "><label
|
||||
class="item-field-label-short attribute-value checkbox"><input type="checkbox" class="perk-used"
|
||||
data-use-index="1" name="perk.data.used1" {{checked perk.data.used1}} /></label></span>
|
||||
<span class="item-field-label-short "> </span>
|
||||
<span class="item-field-label-short "> </span>
|
||||
{{/if}}
|
||||
{{#if (eq perk.data.nbuse "next2action")}}
|
||||
<span class="item-field-label-short "><label
|
||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||
class="perk-used" data-use-index="1" name="perk.data.used1" {{checked
|
||||
perk.data.used1}} /></label></span>
|
||||
<span class="item-field-label-short "><label
|
||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||
class="perk-used" data-use-index="2" name="perk.data.used2" {{checked
|
||||
perk.data.used2}} /></label></span>
|
||||
<span class="item-field-label-short "> </span>
|
||||
{{/if}}
|
||||
{{#if (eq perk.data.nbuse "next3action")}}
|
||||
<span class="item-field-label-short "><label
|
||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||
class="perk-used" data-use-index="1" name="perk.data.used1" {{checked
|
||||
perk.data.used1}} /></label></span>
|
||||
<span class="item-field-label-short "><label
|
||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||
class="perk-used" data-use-index="2" name="perk.data.used2" {{checked
|
||||
perk.data.used2}} /></label></span>
|
||||
<span class="item-field-label-short "><label
|
||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||
class="perk-used" data-use-index="3" name="perk.data.used3" {{checked
|
||||
perk.data.used3}} /></label></span>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<span class="item-field-label-short "><label class="item-field-label-short"> </label></span>
|
||||
<span class="item-field-label-short "><label class="item-field-label-short"> </label></span>
|
||||
<span class="item-field-label-short "><label class="item-field-label-short"> </label></span>
|
||||
{{/if}}
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
@@ -200,8 +122,40 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ul class="stat-list alternate-list">
|
||||
</ul>
|
||||
<div>
|
||||
<ul class="stat-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header-long">
|
||||
<h3><label class="items-title-text">Feats</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Feature Die?</label>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">SL?</label>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">SL</label>
|
||||
</span>
|
||||
</li>
|
||||
{{#each feats as |feat key|}}
|
||||
<li class="item flexrow list-item list-item-shadow" data-item-id="{{feat._id}}">
|
||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||
src="{{feat.img}}" /></a>
|
||||
<span class="item-name-label-long">{{feat.name}}</span>
|
||||
|
||||
<span class="item-field-label-medium">{{upperFirst feat.data.isfeatdie}}</span>
|
||||
<span class="item-field-label-medium">{{upperFirst feat.data.issl}}</span>
|
||||
<span class="item-field-label-medium">{{feat.data.sl}}</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -220,20 +174,28 @@
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Lore</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Circle</label>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Range</label>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
{{#each powers as |power key|}}
|
||||
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{power._id}}">
|
||||
{{#each spells as |spell key|}}
|
||||
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{spell._id}}">
|
||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||
src="{{power.img}}" /></a>
|
||||
src="{{spell.img}}" /></a>
|
||||
<span class="item-name-label">
|
||||
{{#if power.data.rollneeded}}
|
||||
<a class="power-roll">{{power.name}}</a>
|
||||
{{else}}
|
||||
{{power.name}}
|
||||
{{/if}}
|
||||
<a class="power-roll">{{spell.name}}</a>
|
||||
</span>
|
||||
<span class="item-field-label-medium">{{upperFirst power.data.lore}}</span>
|
||||
<span class="item-field-label-medium">{{upperFirst spell.data.lore}}</span>
|
||||
<span class="item-field-label-short">{{upperFirst spell.data.circle}}</span>
|
||||
<span class="item-field-label-medium">{{upperFirst spell.data.range}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
@@ -323,6 +285,7 @@
|
||||
<span class="item-field-label-short"><label>{{upper weapon.data.ability}}</label></span>
|
||||
<span class="item-field-label-short"><label>{{upper weapon.data.damage}}</label></span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<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>
|
||||
|
@@ -22,8 +22,22 @@
|
||||
<li>Ability : {{ability.label}} - {{ability.value}}d6</li>
|
||||
{{/if}}
|
||||
{{#if skill}}
|
||||
<li>Skill : {{skill.name}} - {{skill.data.level}}d8</li>
|
||||
<li>Skill : {{skill.name}} - {{skill.data.level}}d8
|
||||
{{#if featSL}}
|
||||
- with Feat SL +{{featSL}}
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if (eq advantage "advantage")}}
|
||||
<li>Advantage !</li>
|
||||
{{/if}}
|
||||
{{#if (eq advantage "disadvantage")}}
|
||||
<li>Disdvantage !</li>
|
||||
{{/if}}
|
||||
{{#if (ne featDieName "none")}}
|
||||
<li>Feature Die : d10 ({{featDieName}})</li>
|
||||
{{/if}}
|
||||
|
||||
<li><strong>Number of successes</strong> {{nbSuccess}} </li>
|
||||
|
||||
<!-- <button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button> -->
|
||||
|
@@ -21,9 +21,9 @@
|
||||
<li class="flexrow"><label class="generic-label">Shield die</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.shielddie" value="{{data.shielddie}}" data-dtype="String">
|
||||
{{#select data.shielddie}}
|
||||
<option value="d4">d4</option>
|
||||
<option value="d6">d6</option>
|
||||
<option value="d8">d8</option>
|
||||
<option value="d10">d10</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
@@ -27,7 +27,11 @@
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.armorpenalty" {{checked data.armorpenalty}}/></label>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Level</label>
|
||||
<li class="flexrow"><label class="generic-label">Is Proficient ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.isproficient" {{checked data.isproficient}}/></label>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Skill Dice</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.level" value="{{data.level}}" data-dtype="Number">
|
||||
{{#select data.level}}
|
||||
<option value="0">0</option>
|
||||
|
@@ -30,6 +30,22 @@
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.isproficient" {{checked data.isproficient}}/></label>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Skill Dice</label>
|
||||
<select class="competence-base flexrow" type="text" name="data.level" value="{{data.level}}" data-dtype="Number">
|
||||
{{#select data.level}}
|
||||
<option value="0">0</option>
|
||||
<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>
|
||||
<option value="6">6</option>
|
||||
<option value="7">7</option>
|
||||
<option value="8">8</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Qualities (comma separated list)</label>
|
||||
<input type="text" class="padd-right" name="data.qualities" value="{{data.qualities}}" data-dtype="String"/>
|
||||
</li>
|
||||
|
@@ -16,3 +16,4 @@
|
||||
<label class="generic-label">Disadvantage ?</label>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
@@ -22,6 +22,30 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Feature Die : </span>
|
||||
<select class="status-small-label color-class-common" type="text" id="featDieName" value="{{featDieName}}" data-dtype="String" >
|
||||
{{#select featDieName}}
|
||||
<option value="none">None</option>
|
||||
{{#each featsDie as |feat idx|}}
|
||||
<option value="{{feat.name}}">{{feat.name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Feature SL : </span>
|
||||
<select class="status-small-label color-class-common" type="text" id="featSLName" value="{{featSLName}}" data-dtype="String" >
|
||||
{{#select featSLName}}
|
||||
<option value="none">None</option>
|
||||
{{#each featsSL as |feat idx|}}
|
||||
<option value="{{feat.name}}">{{feat.name}} ({{feat.data.sl}})</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user