forked from GitHub-Mirrors/foundry-sw5e
Rename folder actor to actors
Rename folder actor to actors
This commit is contained in:
parent
07f39ca55c
commit
dfdfb0faac
8 changed files with 0 additions and 0 deletions
237
templates/actors/character-sheet.html
Normal file
237
templates/actors/character-sheet.html
Normal file
|
@ -0,0 +1,237 @@
|
|||
<form class="{{cssClass}} flexcol" autocomplete="off">
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header flexrow">
|
||||
<img class="profile" src="{{actor.img}}" title="{{actor.name}}" data-edit="img"/>
|
||||
|
||||
<div class="header-details flexrow">
|
||||
<h1 class="charname">
|
||||
<input name="name" type="text" value="{{actor.name}}" placeholder="{{ localize 'SW5E.Name' }}"/>
|
||||
</h1>
|
||||
|
||||
<div class="charlevel">
|
||||
<div class="level {{#if disableExperience}}noxp{{/if}}">
|
||||
<label>{{ localize "SW5E.Level" }} {{data.details.level}}</label>
|
||||
</div>
|
||||
{{#unless disableExperience}}
|
||||
<div class="experience">
|
||||
<input name="data.details.xp.value" type="text" value="{{data.details.xp.value}}"
|
||||
data-dtype="Number" placeholder="0"/>
|
||||
<span class="max"> / {{data.details.xp.max}}</span>
|
||||
</div>
|
||||
<div class="xpbar">
|
||||
<span class="bar" style="width: {{data.details.xp.pct}}%"></span>
|
||||
</div>
|
||||
{{/unless}}
|
||||
</div>
|
||||
|
||||
{{!-- Character Summary --}}
|
||||
<ul class="summary">
|
||||
<li>
|
||||
<input type="text" name="data.details.race" value="{{data.details.race}}" placeholder="{{ localize 'SW5E.Race' }}"/>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.details.background" value="{{data.details.background}}" placeholder="{{ localize 'SW5E.Background' }}"/>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.details.alignment" value="{{data.details.alignment}}" placeholder="{{ localize 'SW5E.Alignment' }}"/>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{!-- Header Attributes --}}
|
||||
<ul class="attributes flexrow">
|
||||
<li class="attribute health">
|
||||
<h4 class="attribute-name box-title">{{ localize "SW5E.Health" }}</h4>
|
||||
<div class="attribute-value multiple">
|
||||
<input name="data.attributes.hp.value" type="text" value="{{data.attributes.hp.value}}"
|
||||
data-dtype="Number" placeholder="10"/>
|
||||
<span class="sep"> / </span>
|
||||
<input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}"
|
||||
data-dtype="Number" placeholder="10"/>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<input name="data.attributes.hp.temp" type="text" class="temphp" placeholder="+{{ localize 'SW5E.Temp' }}"
|
||||
value="{{data.attributes.hp.temp}}" data-dtype="{{data.attributes.hp.type}}"/>
|
||||
<input name="data.attributes.hp.tempmax" type="text" class="temphp" placeholder="+{{ localize 'SW5E.Max' }}"
|
||||
value="{{data.attributes.hp.tempmax}}" data-dtype="{{data.attributes.hp.type}}"/>
|
||||
</footer>
|
||||
</li>
|
||||
|
||||
<li class="attribute">
|
||||
<h4 class="attribute-name box-title">{{ localize "SW5E.ArmorClass" }}</h4>
|
||||
<div class="attribute-value">
|
||||
<input name="data.attributes.ac.value" type="text" value="{{data.attributes.ac.value}}"
|
||||
data-dtype="Number" placeholder="10"/>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<span>{{ localize "SW5E.Proficiency" }}</span>
|
||||
<span>{{numberFormat data.attributes.prof decimals=0 sign=true}}</span>
|
||||
</footer>
|
||||
</li>
|
||||
|
||||
<li class="attribute">
|
||||
<h4 class="attribute-name box-title">{{ localize "SW5E.Speed" }}</h4>
|
||||
<div class="attribute-value">
|
||||
<input name="data.attributes.speed.value" type="text"
|
||||
value="{{data.attributes.speed.value}}" placeholder="0"/>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<input type="text" class="speed" name="data.attributes.speed.special"
|
||||
value="{{data.attributes.speed.special}}" placeholder="{{ localize 'SW5E.SpeedSpecial' }}"/>
|
||||
</footer>
|
||||
</li>
|
||||
|
||||
<li class="attribute">
|
||||
<h4 class="attribute-name box-title">{{ localize "SW5E.HitDice" }}</h4>
|
||||
<div class="attribute-value multiple">
|
||||
<label class="hit-dice">{{data.attributes.hd}} / {{data.details.level}}</label>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<a class="rest short-rest">{{ localize "SW5E.RestS" }}</a>
|
||||
<a class="rest long-rest">{{ localize "SW5E.RestL" }}</a>
|
||||
</footer>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- NPC Sheet Navigation --}}
|
||||
<nav class="sheet-navigation tabs" data-group="primary">
|
||||
<a class="item active" data-tab="attributes">{{ localize "SW5E.Attributes" }}</a>
|
||||
<a class="item" data-tab="inventory">{{ localize "SW5E.Inventory" }}</a>
|
||||
<a class="item" data-tab="features">{{ localize "SW5E.Features" }}</a>
|
||||
<a class="item" data-tab="powerbook">{{ localize "SW5E.Powerbook" }}</a>
|
||||
<a class="item" data-tab="biography">{{ localize "SW5E.Biography" }}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- NPC Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab attributes flexrow" data-group="primary" data-tab="attributes">
|
||||
|
||||
{{!-- Ability Scores --}}
|
||||
<ul class="ability-scores flexrow">
|
||||
{{#each data.abilities as |ability id|}}
|
||||
<li class="ability {{#if ability.proficient}}proficient{{/if}}" data-ability="{{id}}">
|
||||
<h4 class="ability-name box-title rollable">{{ability.label}}</h4>
|
||||
<input class="ability-score" name="data.abilities.{{id}}.value" type="text" value="{{ability.value}}" data-dtype="Number" placeholder="10"/>
|
||||
<div class="ability-modifiers flexrow">
|
||||
<span class="ability-mod" title="Modifier">{{numberFormat ability.mod decimals=0 sign=true}}</span>
|
||||
<input type="hidden" name="data.abilities.{{id}}.proficient" value="{{ability.proficient}}" data-dtype="Number"/>
|
||||
<a class="proficiency-toggle ability-proficiency" title="Proficiency">{{{ability.icon}}}</a>
|
||||
<span class="ability-save" title="Saving Throw">{{numberFormat ability.save decimals=0 sign=true}}</span>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
{{!-- Skills --}}
|
||||
<ul class="skills-list">
|
||||
{{#each data.skills as |skill s|}}
|
||||
<li class="skill flexrow {{#if skill.value}}proficient{{/if}}" data-skill="{{s}}">
|
||||
<input type="hidden" name="data.skills.{{s}}.value" value="{{skill.value}}" data-dtype="Number"/>
|
||||
<a class="proficiency-toggle skill-proficiency" title="{{skill.hover}}">{{{skill.icon}}}</a>
|
||||
<h4 class="skill-name rollable">{{skill.label}}</h4>
|
||||
<span class="skill-ability">{{skill.ability}}</span>
|
||||
<span class="skill-mod">{{numberFormat skill.mod decimals=0 sign=true}}</span>
|
||||
<span class="skill-passive">({{skill.passive}})</span>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
<section class="center-pane">
|
||||
|
||||
{{!-- Body Attributes --}}
|
||||
<ul class="attributes flexrow">
|
||||
{{#each resources as |res|}}
|
||||
<li class="attribute resource">
|
||||
<h4 class="attribute-name box-title">
|
||||
<input name="data.resources.{{res.name}}.label" type="text" value="{{res.label}}"
|
||||
placeholder="{{res.placeholder}}" />
|
||||
</h4>
|
||||
<div class="attribute-value multiple">
|
||||
<input name="data.resources.{{res.name}}.value" type="text" value="{{res.value}}"
|
||||
data-dtype="Number" placeholder="0"/>
|
||||
<span class="sep"> / </span>
|
||||
<input name="data.resources.{{res.name}}.max" type="text" value="{{res.max}}"
|
||||
data-dtype="Number" placeholder="0"/>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<label class="checkbox">
|
||||
{{ localize "SW5E.AbbreviationSR" }} <input name="data.resources.{{res.name}}.sr" type="checkbox" {{checked res.sr}}/>
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
{{ localize "SW5E.AbbreviationLR" }} <input name="data.resources.{{res.name}}.lr" type="checkbox" {{checked res.lr}}/>
|
||||
</label>
|
||||
</footer>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
<li class="attribute initiative">
|
||||
<h4 class="attribute-name box-title">{{ localize "SW5E.Initiative" }}</h4>
|
||||
<div class="attribute-value">
|
||||
<span>{{numberFormat data.attributes.init.total decimals=0 sign=true}}</span>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<span>{{ localize "SW5E.Modifier" }}</span>
|
||||
<input name="data.attributes.init.value" type="text" placeholder="0" data-dtype="Number"
|
||||
value="{{numberFormat data.attributes.init.value decimals=0 sign=true}}"/>
|
||||
</footer>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{!-- Counters --}}
|
||||
<div class="counters flexrow">
|
||||
<div class="counter flexrow death-saves">
|
||||
<h4 class="death-save rollable">{{ localize "SW5E.DeathSave" }}</h4>
|
||||
<div class="counter-value">
|
||||
<i class="fas fa-check"></i>
|
||||
<input type="text" name="data.attributes.death.success" data-dtype="Number" placeholder="0"
|
||||
value="{{data.attributes.death.success}}"/>
|
||||
<i class="fas fa-times"></i>
|
||||
<input type="text" name="data.attributes.death.failure" data-dtype="Number" placeholder="0"
|
||||
value="{{data.attributes.death.failure}}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="counter flexrow">
|
||||
<h4>{{ localize "SW5E.Exhaustion" }}</h4>
|
||||
<div class="counter-value">
|
||||
<input type="text" name="data.attributes.exhaustion" data-dtype="Number" placeholder="0"
|
||||
value="{{data.attributes.exhaustion}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="counter flexrow">
|
||||
<h4>{{ localize "SW5E.Inspiration" }}</h4>
|
||||
<div class="counter-value">
|
||||
<input type="checkbox" name="data.attributes.inspiration" data-dtype="Boolean"
|
||||
{{checked data.attributes.inspiration}}/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Traits --}}
|
||||
{{> "systems/sw5e/templates/actors/parts/actor-traits.html"}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{{!-- Inventory Tab --}}
|
||||
<div class="tab inventory flexcol" data-group="primary" data-tab="inventory">
|
||||
{{> "systems/sw5e/templates/actors/parts/actor-inventory.html" sections=inventory}}
|
||||
</div>
|
||||
|
||||
{{!-- Features Tab --}}
|
||||
<div class="tab features flexcol" data-group="primary" data-tab="features">
|
||||
{{> "systems/sw5e/templates/actors/parts/actor-features.html" sections=features}}
|
||||
</div>
|
||||
|
||||
{{!-- Powerbook Tab --}}
|
||||
<div class="tab powerbook flexcol" data-group="primary" data-tab="powerbook">
|
||||
{{> "systems/sw5e/templates/actors/parts/actor-powerbook.html"}}
|
||||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biography flexcol" data-group="primary" data-tab="biography">
|
||||
{{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
21
templates/actors/limited-sheet.html
Normal file
21
templates/actors/limited-sheet.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<form class="{{cssClass}}" autocomplete="off">
|
||||
|
||||
<!-- HEADER -->
|
||||
<header class="sheet-header">
|
||||
<h1 class="charname">
|
||||
<input name="name" type="text" value="{{actor.name}}" placeholder="{{ localize 'SW5E.Name' }}"/>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<!-- BODY -->
|
||||
<section class="sheet-body">
|
||||
<div class="tab biography">
|
||||
{{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- SIDEBAR -->
|
||||
<section class="sheet-sidebar">
|
||||
<img class="sheet-profile" src="{{actor.img}}" title="{{actor.name}}" height="220" width="220" data-edit="img"/>
|
||||
</section>
|
||||
</form>
|
175
templates/actors/npc-sheet.html
Normal file
175
templates/actors/npc-sheet.html
Normal file
|
@ -0,0 +1,175 @@
|
|||
<form class="{{cssClass}} flexcol" autocomplete="off">
|
||||
|
||||
{{!-- NPC Sheet Header --}}
|
||||
<header class="sheet-header flexrow">
|
||||
<img class="profile" src="{{actor.img}}" title="{{actor.name}}" data-edit="img"/>
|
||||
|
||||
<div class="header-details flexrow">
|
||||
<h1 class="charname">
|
||||
<input name="name" type="text" value="{{actor.name}}" placeholder="{{ localize 'SW5E.Name' }}"/>
|
||||
</h1>
|
||||
|
||||
<div class="charlevel">
|
||||
<div class="level">
|
||||
<label>{{ localize "SW5E.AbbreviationCR" }}</label>
|
||||
<input name="data.details.cr" type="text" value="{{labels.cr}}" placeholder="1"/>
|
||||
</div>
|
||||
<div class="experience">
|
||||
<span>{{data.details.xp.value}} XP</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="summary">
|
||||
<li>
|
||||
<input type="text" name="data.details.type" value="{{data.details.type}}" placeholder="{{ localize 'SW5E.Type' }}"/>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.details.alignment" value="{{data.details.alignment}}" placeholder="{{ localize 'SW5E.Alignment' }}"/>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.details.source" value="{{data.details.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- NPC Sheet Navigation --}}
|
||||
<nav class="sheet-navigation tabs" data-group="primary">
|
||||
<a class="item active" data-tab="attributes">{{ localize "SW5E.Attributes" }}</a>
|
||||
<a class="item" data-tab="features">{{ localize "SW5E.Features" }}</a>
|
||||
<a class="item" data-tab="powerbook">{{ localize "SW5E.Powerbook" }}</a>
|
||||
<a class="item" data-tab="biography">{{ localize "SW5E.Biography" }}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- NPC Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<div class="tab attributes flexrow" data-group="primary" data-tab="attributes">
|
||||
|
||||
{{!-- Ability Scores --}}
|
||||
<ul class="ability-scores flexrow">
|
||||
{{#each data.abilities as |ability id|}}
|
||||
<li class="ability {{#if ability.proficient}}proficient{{/if}}" data-ability="{{id}}">
|
||||
<h4 class="ability-name box-title rollable">{{ability.label}}</h4>
|
||||
<input class="ability-score" name="data.abilities.{{id}}.value" type="text" value="{{ability.value}}" data-dtype="Number" placeholder="10"/>
|
||||
<div class="ability-modifiers flexrow">
|
||||
<span class="ability-mod" title="Modifier">{{numberFormat ability.mod decimals=0 sign=true}}</span>
|
||||
<input type="hidden" name="data.abilities.{{id}}.proficient" value="{{ability.proficient}}" data-dtype="Number"/>
|
||||
<a class="proficiency-toggle ability-proficiency" title="Proficiency">{{{ability.icon}}}</a>
|
||||
<span class="ability-save" title="Saving Throw">{{numberFormat ability.save decimals=0 sign=true}}</span>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
{{!-- Skills --}}
|
||||
<ul class="skills-list">
|
||||
{{#each data.skills as |skill s|}}
|
||||
<li class="skill flexrow {{#if skill.value}}proficient{{/if}}" data-skill="{{s}}">
|
||||
<input type="hidden" name="data.skills.{{s}}.value" value="{{skill.value}}" data-dtype="Number"/>
|
||||
<a class="proficiency-toggle skill-proficiency" title="{{skill.hover}}">{{{skill.icon}}}</a>
|
||||
<h4 class="skill-name rollable">{{skill.label}}</h4>
|
||||
<span class="skill-ability">{{skill.ability}}</span>
|
||||
<span class="skill-mod">{{numberFormat skill.mod decimals=0 sign=true}}</span>
|
||||
<span class="skill-passive">({{skill.passive}})</span>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
<section class="center-pane">
|
||||
|
||||
{{!-- Attributes --}}
|
||||
<ul class="attributes flexrow">
|
||||
<li class="attribute health">
|
||||
<h4 class="attribute-name box-title rollable">{{ localize "SW5E.Health" }}</h4>
|
||||
<div class="attribute-value multiple">
|
||||
<input name="data.attributes.hp.value" type="text" value="{{data.attributes.hp.value}}"
|
||||
data-dtype="Number" placeholder="10"/>
|
||||
<span class="sep"> / </span>
|
||||
<input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}"
|
||||
data-dtype="Number" placeholder="10"/>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<input name="data.attributes.hp.formula" class="hpformula" type="text" placeholder="{{ localize 'SW5E.HealthFormula' }}"
|
||||
value="{{data.attributes.hp.formula}}"/>
|
||||
</footer>
|
||||
</li>
|
||||
|
||||
<li class="attribute">
|
||||
<h4 class="attribute-name box-title">{{ localize "SW5E.ArmorClass" }}</h4>
|
||||
<div class="attribute-value">
|
||||
<input name="data.attributes.ac.value" type="text" value="{{data.attributes.ac.value}}"
|
||||
data-dtype="Number" placeholder="10"/>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<span>{{ localize "SW5E.Proficiency" }}</span>
|
||||
<span>{{numberFormat data.attributes.prof decimals=0 sign=true}}</span>
|
||||
</footer>
|
||||
</li>
|
||||
|
||||
<li class="attribute">
|
||||
<h4 class="attribute-name box-title">{{ localize "SW5E.Speed" }}</h4>
|
||||
<div class="attribute-value">
|
||||
<input name="data.attributes.speed.value" type="text"
|
||||
value="{{data.attributes.speed.value}}" placeholder="0"/>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<input type="text" class="speed" name="data.attributes.speed.special"
|
||||
value="{{data.attributes.speed.special}}" placeholder="{{ localize 'SW5E.SpeedSpecial' }}"/>
|
||||
</footer>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{!-- Legendary Actions --}}
|
||||
<div class="counters flexrow">
|
||||
<div class="counter flexrow legendary">
|
||||
<h4>{{ localize "SW5E.LegAct" }}</h4>
|
||||
<div class="counter-value">
|
||||
<input type="text" name="data.resources.legact.value" data-dtype="Number" placeholder="0"
|
||||
value="{{data.resources.legact.value}}"/>
|
||||
<span class="sep">/</span>
|
||||
<input type="text" name="data.resources.legact.max" data-dtype="Number" placeholder="0"
|
||||
value="{{data.resources.legact.max}}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="counter flexrow legendary">
|
||||
<h4>{{ localize "SW5E.LegRes" }}</h4>
|
||||
<div class="counter-value">
|
||||
<input type="text" name="data.resources.legres.value" data-dtype="Number" placeholder="0"
|
||||
value="{{data.resources.legres.value}}"/>
|
||||
<span class="sep">/</span>
|
||||
<input type="text" name="data.resources.legres.max" data-dtype="Number" placeholder="0"
|
||||
value="{{data.resources.legres.max}}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="counter flexrow lair">
|
||||
<h4>{{ localize "SW5E.LairAct" }}</h4>
|
||||
<div class="counter-value">
|
||||
<input name="data.resources.lair.value" type="checkbox" value="{{data.resources.lair.value}}"
|
||||
data-dtype="Boolean" {{checked data.resources.lair.value}}/>
|
||||
<input name="data.resources.lair.initiative" type="text" value="{{data.resources.lair.initiative}}"
|
||||
data-dtype="Number" placeholder="Init."/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Traits --}}
|
||||
{{> "systems/sw5e/templates/actors/parts/actor-traits.html"}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{{!-- Features Tab --}}
|
||||
<div class="tab features flexcol" data-group="primary" data-tab="features">
|
||||
{{> "systems/sw5e/templates/actors/parts/actor-features.html" sections=features}}
|
||||
</div>
|
||||
|
||||
{{!-- Powerbook Tab --}}
|
||||
<div class="tab powerbook flexcol" data-group="primary" data-tab="powerbook">
|
||||
{{> "systems/sw5e/templates/actors/parts/actor-powerbook.html"}}
|
||||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biography flexcol" data-group="primary" data-tab="biography">
|
||||
{{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
123
templates/actors/parts/actor-castbook.html
Normal file
123
templates/actors/parts/actor-castbook.html
Normal file
|
@ -0,0 +1,123 @@
|
|||
<div class="inventory-filters castbook-filters">
|
||||
<div class="form-group casting-ability">
|
||||
<h3>{{localize "SW5E.CastAbility"}}</h3>
|
||||
<select name="data.attributes.casting" data-type="String">
|
||||
{{#select data.attributes.casting}}
|
||||
<option value="">{{localize "SW5E.None"}}</option>
|
||||
{{#each data.abilities as |abl a|}}
|
||||
<option value="{{a}}">{{abl.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{#if isNPC}}
|
||||
<h3>{{localize "SW5E.CasterLevel"}}</h3>
|
||||
<input class="casting-level" type="text" name="data.details.castLevel"
|
||||
value="{{data.details.castLevel}}" data-dtype="Number" placeholder="0"/>
|
||||
{{/if}}
|
||||
<h3 class="cast-dc">{{localize "SW5E.CastDC"}} {{data.attributes.castdc}}</h3>
|
||||
</div>
|
||||
|
||||
<ul class="filter-list flexrow" data-filter="castbook">
|
||||
<li class="filter-title">{{localize "SW5E.Filter"}}</li>
|
||||
<li class="filter-item" data-filter="action">{{localize "SW5E.Action"}}</li>
|
||||
<li class="filter-item" data-filter="bonus">{{localize "SW5E.BonusAction"}}</li>
|
||||
<li class="filter-item" data-filter="reaction">{{localize "SW5E.Reaction"}}</li>
|
||||
<li class="filter-item" data-filter="concentration">{{localize "SW5E.AbbreviationConc"}}</li>
|
||||
<li class="filter-item" data-filter="ritual">{{localize "SW5E.Ritual"}}</li>
|
||||
<li class="filter-item" data-filter="prepared">{{localize "SW5E.Prepared"}}{{#if preparedCasts}} ({{preparedCasts}}){{/if}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ol class="inventory-list">
|
||||
{{#each castbook as |section|}}
|
||||
<li class="item flexrow inventory-header castbook-header">
|
||||
<div class="item-name flexrow">
|
||||
<h3>{{section.label}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="cast-slots">
|
||||
{{#if section.usesSlots}}
|
||||
<input type="text" name="data.casts.{{section.prop}}.value" value="{{section.uses}}" placeholder="0"
|
||||
data-dtype="Number"/>
|
||||
<span class="sep"> / </span>
|
||||
<span class="cast-max" data-level="{{section.prop}}" data-slots="{{section.slots}}">
|
||||
{{{section.slots}}}
|
||||
{{#if ../editable}}
|
||||
<a class="slot-max-override" title="{{localize 'SW5E.CastProgOverride'}}">
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{ else }}
|
||||
<span class="cast-slots">{{{section.uses}}}</span>
|
||||
<span class="sep"> / </span>
|
||||
<span class="cast-max">{{{section.slots}}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="cast-school">{{localize "SW5E.CastSchool"}}</div>
|
||||
<div class="cast-action">{{localize "SW5E.CastUsage"}}</div>
|
||||
<div class="cast-target">{{localize "SW5E.CastTarget"}}</div>
|
||||
|
||||
<div class="item-controls">
|
||||
{{#if section.canCreate}}
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.CastCreate'}}" {{#each section.dataset as |v k|}}data-{{k}}="{{v}}"{{/each}}>
|
||||
<i class="fas fa-plus"></i> {{localize "SW5E.Add"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<ol class="item-list">
|
||||
{{#each section.casts as |item i|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-name flexrow rollable">
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<h4>{{item.name}}</h4>
|
||||
{{#if item.data.uses.value }}
|
||||
<div class="item-detail cast-uses">Uses {{item.data.uses.value}} / {{item.data.uses.max}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="cast-comps">
|
||||
{{#each labels.components}}
|
||||
<span class="cast-component {{this}}">{{this}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="cast-school">{{labels.school}}</div>
|
||||
<div class="cast-action">{{labels.activation}}</div>
|
||||
<div class="cast-target" title="{{localize 'SW5E.Range'}}: {{labels.range}}">
|
||||
{{#if labels.target}}
|
||||
{{labels.target}}
|
||||
{{else}}None
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
||||
{{#if ../../owner}}
|
||||
<div class="item-controls">
|
||||
{{#if section.canPrepare}}
|
||||
<a class="item-control item-toggle {{item.toggleClass}}" title="{{item.toggleTitle}}"><i class="fas fa-sun"></i></a>
|
||||
{{/if}}
|
||||
<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>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{else}}
|
||||
{{#if owner}}
|
||||
{{#if filters.castbook.size}}
|
||||
<li class="item flexrow"><p class="notes">{{localize "SW5E.FilterNoCasts"}}</p></li>
|
||||
{{else}}
|
||||
<li class="item flexrow inventory-header castbook-header castbook-empty">
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.CastCreate'}}" data-type="cast"
|
||||
data-level="{{lvl}}"><i class="fas fa-plus"></i> {{localize "SW5E.CastAdd"}}</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item flexrow"><p class="notes">{{localize "SW5E.NoCastLevels"}}</p></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</ol>
|
74
templates/actors/parts/actor-features.html
Normal file
74
templates/actors/parts/actor-features.html
Normal file
|
@ -0,0 +1,74 @@
|
|||
<div class="inventory-filters">
|
||||
<ul class="filter-list flexrow" data-filter="features">
|
||||
<li class="filter-title">{{localize "SW5E.Filter"}}</li>
|
||||
<li class="filter-item" data-filter="action">{{localize "SW5E.Action"}}</li>
|
||||
<li class="filter-item" data-filter="bonus">{{localize "SW5E.BonusAction"}}</li>
|
||||
<li class="filter-item" data-filter="reaction">{{localize "SW5E.Reaction"}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ol class="inventory-list">
|
||||
{{#each sections as |section sid|}}
|
||||
<li class="inventory-header flexrow">
|
||||
<h3 class="item-name flexrow">{{localize section.label}}</h3>
|
||||
|
||||
{{#if section.hasActions}}
|
||||
<div class="item-detail item-uses">{{localize "SW5E.Uses"}}</div>
|
||||
<div class="item-detail item-action">{{localize "SW5E.Usage"}}</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if ../owner}}
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.FeatureAdd'}}" {{#each section.dataset as |v k|}}data-{{k}}="{{v}}"{{/each}}>
|
||||
<i class="fas fa-plus"></i> {{localize "SW5E.Add"}}
|
||||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
|
||||
<ol class="item-list">
|
||||
{{#each section.items as |item iid|}}
|
||||
<li class="item flexrow {{#if isDepleted}}depleted{{/if}}" data-item-id="{{item._id}}">
|
||||
<div class="item-name flexrow rollable">
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<h4>{{item.name}}</h4>
|
||||
</div>
|
||||
|
||||
{{#if section.hasActions}}
|
||||
<div class="item-detail item-uses">
|
||||
{{#if item.isOnCooldown}}
|
||||
<a class="item-recharge rollable">{{item.labels.recharge}}</a>
|
||||
{{else if item.data.recharge.value}}
|
||||
{{localize "SW5E.Charged"}}
|
||||
|
||||
{{else if item.hasUses}}
|
||||
<input type="text" value="{{item.data.uses.value}}" placeholder="0"/>/ {{item.data.uses.max}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="item-detail item-action">
|
||||
{{#if item.data.activation.type }}
|
||||
{{item.labels.activation}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{else if section.isClass}}
|
||||
<div class="item-detail player-class">
|
||||
{{item.data.subclass}}
|
||||
</div>
|
||||
<div class="item-detail">
|
||||
Level {{item.data.levels}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if ../../owner}}
|
||||
<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>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{/each}}
|
||||
</ol>
|
106
templates/actors/parts/actor-inventory.html
Normal file
106
templates/actors/parts/actor-inventory.html
Normal file
|
@ -0,0 +1,106 @@
|
|||
<div class="inventory-filters">
|
||||
|
||||
{{#if isCharacter}}
|
||||
<ol class="currency flexrow">
|
||||
<h3>
|
||||
{{localize "SW5E.Currency"}}
|
||||
<a class="currency-convert" title="Convert Currency"><i class="fas fa-coins"></i></a>
|
||||
</h3>
|
||||
{{#each data.currency as |v k|}}
|
||||
<label class="denomination {{k}}">{{ lookup ../config.currencies k }}</label>
|
||||
<input type="text" name="data.currency.{{k}}" value="{{v}}" data-dtype="Number"/>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{/if}}
|
||||
|
||||
<ul class="filter-list flexrow" data-filter="inventory">
|
||||
<li class="filter-title">{{localize "SW5E.Filter"}}</li>
|
||||
<li class="filter-item" data-filter="action">{{localize "SW5E.Action"}}</li>
|
||||
<li class="filter-item" data-filter="bonus">{{localize "SW5E.BonusAction"}}</li>
|
||||
<li class="filter-item" data-filter="reaction">{{localize "SW5E.Reaction"}}</li>
|
||||
<li class="filter-item" data-filter="equipped">{{localize "SW5E.Equipped"}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ol class="inventory-list">
|
||||
{{#each sections as |section sid|}}
|
||||
<li class="inventory-header flexrow">
|
||||
<h3 class="item-name flexrow">{{localize section.label}}</h3>
|
||||
|
||||
{{#if ../isCharacter}}
|
||||
<div class="item-detail item-weight">{{localize "SW5E.Weight"}}</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-detail item-uses">{{localize "SW5E.Charges"}}</div>
|
||||
<div class="item-detail item-action">{{localize "SW5E.Usage"}}</div>
|
||||
|
||||
{{#if ../owner}}
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create" title='{{localize "SW5E.ItemCreate"}}' {{#each section.dataset as |v k|}}data-{{k}}="{{v}}"{{/each}}>
|
||||
<i class="fas fa-plus"></i> {{localize "SW5E.Add"}}
|
||||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
|
||||
<ol class="item-list">
|
||||
{{#each section.items as |item iid|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-name flexrow rollable">
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<h4>
|
||||
{{item.name~}}
|
||||
{{~#if item.isStack}} ({{item.data.quantity}}){{/if}}
|
||||
{{~#if item.data.attuned}} <i class="fas fa-sun attuned" title={{localize "SW5E.Attuned"}}></i>{{/if}}
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
{{#if ../../isCharacter}}
|
||||
<div class="item-detail item-weight">
|
||||
{{#if item.totalWeight}}
|
||||
<div class="item-detail">
|
||||
{{ item.totalWeight }} {{localize "SW5E.AbbreviationLbs"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-detail item-uses">
|
||||
{{#if item.hasUses }}
|
||||
<input type="text" value="{{item.data.uses.value}}" placeholder="0"/>
|
||||
/ {{item.data.uses.max}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="item-detail item-action">
|
||||
{{#if item.data.activation.type }}
|
||||
{{item.labels.activation}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{#if ../../owner}}
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-toggle {{item.toggleClass}}" title='{{item.toggleTitle}}'><i class="fas fa-shield-alt"></i></a>
|
||||
<a class="item-control item-edit" title='{{localize "SW5E.ItemEdit"}}'><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title='{{localize "SW5E.ItemDelete"}}'><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{/each}}
|
||||
</ol>
|
||||
|
||||
|
||||
{{#if isCharacter }}
|
||||
{{#with data.attributes.encumbrance}}
|
||||
<div class="encumbrance {{#if encumbered}}encumbered{{/if}}">
|
||||
<span class="encumbrance-bar" style="width:{{pct}}%"></span>
|
||||
<span class="encumbrance-label">{{value}} / {{max}}</span>
|
||||
<i class="encumbrance-breakpoint encumbrance-33 arrow-up"></i>
|
||||
<i class="encumbrance-breakpoint encumbrance-33 arrow-down"></i>
|
||||
<i class="encumbrance-breakpoint encumbrance-66 arrow-up"></i>
|
||||
<i class="encumbrance-breakpoint encumbrance-66 arrow-down"></i>
|
||||
</div>
|
||||
{{/with}}
|
||||
{{/if}}
|
123
templates/actors/parts/actor-powerbook.html
Normal file
123
templates/actors/parts/actor-powerbook.html
Normal file
|
@ -0,0 +1,123 @@
|
|||
<div class="inventory-filters powerbook-filters">
|
||||
<div class="form-group powercasting-ability">
|
||||
<h3>{{localize "SW5E.PowerAbility"}}</h3>
|
||||
<select name="data.attributes.powercasting" data-type="String">
|
||||
{{#select data.attributes.powercasting}}
|
||||
<option value="">{{localize "SW5E.None"}}</option>
|
||||
{{#each data.abilities as |abl a|}}
|
||||
<option value="{{a}}">{{abl.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{#if isNPC}}
|
||||
<h3>{{localize "SW5E.PowercasterLevel"}}</h3>
|
||||
<input class="powercasting-level" type="text" name="data.details.powerLevel"
|
||||
value="{{data.details.powerLevel}}" data-dtype="Number" placeholder="0"/>
|
||||
{{/if}}
|
||||
<h3 class="power-dc">{{localize "SW5E.PowerDC"}} {{data.attributes.powerdc}}</h3>
|
||||
</div>
|
||||
|
||||
<ul class="filter-list flexrow" data-filter="powerbook">
|
||||
<li class="filter-title">{{localize "SW5E.Filter"}}</li>
|
||||
<li class="filter-item" data-filter="action">{{localize "SW5E.Action"}}</li>
|
||||
<li class="filter-item" data-filter="bonus">{{localize "SW5E.BonusAction"}}</li>
|
||||
<li class="filter-item" data-filter="reaction">{{localize "SW5E.Reaction"}}</li>
|
||||
<li class="filter-item" data-filter="concentration">{{localize "SW5E.AbbreviationConc"}}</li>
|
||||
<li class="filter-item" data-filter="ritual">{{localize "SW5E.Ritual"}}</li>
|
||||
<li class="filter-item" data-filter="prepared">{{localize "SW5E.Prepared"}}{{#if preparedPowers}} ({{preparedPowers}}){{/if}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ol class="inventory-list">
|
||||
{{#each powerbook as |section|}}
|
||||
<li class="item flexrow inventory-header powerbook-header">
|
||||
<div class="item-name flexrow">
|
||||
<h3>{{section.label}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="power-slots">
|
||||
{{#if section.usesSlots}}
|
||||
<input type="text" name="data.powers.{{section.prop}}.value" value="{{section.uses}}" placeholder="0"
|
||||
data-dtype="Number"/>
|
||||
<span class="sep"> / </span>
|
||||
<span class="power-max" data-level="{{section.prop}}" data-slots="{{section.slots}}">
|
||||
{{{section.slots}}}
|
||||
{{#if ../editable}}
|
||||
<a class="slot-max-override" title="{{localize 'SW5E.PowerProgOverride'}}">
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{ else }}
|
||||
<span class="power-slots">{{{section.uses}}}</span>
|
||||
<span class="sep"> / </span>
|
||||
<span class="power-max">{{{section.slots}}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="power-school">{{localize "SW5E.PowerSchool"}}</div>
|
||||
<div class="power-action">{{localize "SW5E.PowerUsage"}}</div>
|
||||
<div class="power-target">{{localize "SW5E.PowerTarget"}}</div>
|
||||
|
||||
<div class="item-controls">
|
||||
{{#if section.canCreate}}
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.PowerCreate'}}" {{#each section.dataset as |v k|}}data-{{k}}="{{v}}"{{/each}}>
|
||||
<i class="fas fa-plus"></i> {{localize "SW5E.Add"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<ol class="item-list">
|
||||
{{#each section.powers as |item i|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-name flexrow rollable">
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<h4>{{item.name}}</h4>
|
||||
{{#if item.data.uses.value }}
|
||||
<div class="item-detail power-uses">Uses {{item.data.uses.value}} / {{item.data.uses.max}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="power-comps">
|
||||
{{#each labels.components}}
|
||||
<span class="power-component {{this}}">{{this}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="power-school">{{labels.school}}</div>
|
||||
<div class="power-action">{{labels.activation}}</div>
|
||||
<div class="power-target" title="{{localize 'SW5E.Range'}}: {{labels.range}}">
|
||||
{{#if labels.target}}
|
||||
{{labels.target}}
|
||||
{{else}}None
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
||||
{{#if ../../owner}}
|
||||
<div class="item-controls">
|
||||
{{#if section.canPrepare}}
|
||||
<a class="item-control item-toggle {{item.toggleClass}}" title="{{item.toggleTitle}}"><i class="fas fa-sun"></i></a>
|
||||
{{/if}}
|
||||
<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>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
{{else}}
|
||||
{{#if owner}}
|
||||
{{#if filters.powerbook.size}}
|
||||
<li class="item flexrow"><p class="notes">{{localize "SW5E.FilterNoPowers"}}</p></li>
|
||||
{{else}}
|
||||
<li class="item flexrow inventory-header powerbook-header powerbook-empty">
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.PowerCreate'}}" data-type="power"
|
||||
data-level="{{lvl}}"><i class="fas fa-plus"></i> {{localize "SW5E.PowerAdd"}}</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item flexrow"><p class="notes">{{localize "SW5E.NoPowerLevels"}}</p></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</ol>
|
104
templates/actors/parts/actor-traits.html
Normal file
104
templates/actors/parts/actor-traits.html
Normal file
|
@ -0,0 +1,104 @@
|
|||
<div class="traits">
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.Size"}}</label>
|
||||
<select class="actor-size" name="data.traits.size">
|
||||
{{#select data.traits.size}}
|
||||
{{#each config.actorSizes as |label size|}}
|
||||
<option value="{{size}}">{{label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{#unless data.traits.senses}}inactive{{/unless}}">
|
||||
<label>{{localize "SW5E.Senses"}}</label>
|
||||
<input type="text" name="data.traits.senses" value="{{data.traits.senses}}" placeholder="{{ localize 'SW5E.None' }}"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{data.traits.languages.cssClass}}">
|
||||
<label for="data.traits.languages">{{localize "SW5E.Languages"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.languages.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="languages"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{data.traits.di.cssClass}}">
|
||||
<label for="data.traits.di">{{localize "SW5E.DamImm"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.di.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="damageTypes"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{data.traits.dr.cssClass}}">
|
||||
<label for="data.traits.dr">{{localize "SW5E.DamRes"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.dr.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="damageTypes"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{data.traits.dv.cssClass}}">
|
||||
<label for="data.traits.dv">{{localize "SW5E.DamVuln"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.dv.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="damageTypes"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{data.traits.ci.cssClass}}">
|
||||
<label for="data.traits.ci">{{localize "SW5E.ConImm"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.ci.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="conditionTypes"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
|
||||
{{#if isCharacter}}
|
||||
<div class="form-group {{data.traits.weaponProf.cssClass}}">
|
||||
<label for="data.traits.weaponProf">{{localize "SW5E.TraitWeaponProf"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.weaponProf.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="weaponProficiencies"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{data.traits.armorProf.cssClass}}">
|
||||
<label for="data.traits.armorProf">{{localize "SW5E.TraitArmorProf"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.armorProf.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="armorProficiencies"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{data.traits.toolProf.cssClass}}">
|
||||
<label for="data.traits.toolProf">{{localize "SW5E.TraitToolProf"}}</label>
|
||||
<ul class="traits-list">
|
||||
{{#each data.traits.toolProf.selected as |v k|}}
|
||||
<li class="tag {{k}}">{{v}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a class="trait-selector" data-options="toolProficiencies"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="form-group ">
|
||||
<label>{{localize "SW5E.SpecialTraits"}}</label>
|
||||
<a class="configure-flags"><i class="fas fa-cog"></i></a>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue