2021-12-02 07:38:59 +01:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
<header class="sheet-header">
|
2022-03-07 16:00:53 +01:00
|
|
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
2021-12-02 07:38:59 +01:00
|
|
|
<div class="header-fields">
|
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
|
|
</div>
|
|
|
|
</header>
|
2022-03-06 22:18:08 +01:00
|
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}}
|
2021-12-02 07:38:59 +01:00
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
2022-03-06 22:18:08 +01:00
|
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-item-description.html}}
|
2021-12-02 07:38:59 +01:00
|
|
|
|
2022-03-06 22:18:08 +01:00
|
|
|
<div class="tab details" data-group="primary" data-tab="details">
|
|
|
|
<ul>
|
2021-12-03 18:31:43 +01:00
|
|
|
<li class="flexrow"><label class="generic-label">Level</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<input type="text" class="input-numeric-short padd-right" name="system.level" value="{{data.level}}" data-dtype="Number"/>
|
2021-12-03 18:31:43 +01:00
|
|
|
</li>
|
2022-07-10 10:22:04 +02:00
|
|
|
|
|
|
|
<li class="flexrow"><label class="generic-label">Perk category</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<select class="competence-base flexrow" type="text" name="system.category" value="{{data.category}}" data-dtype="String">
|
2022-07-10 10:22:04 +02:00
|
|
|
{{#select data.category}}
|
|
|
|
<option value="general">General</option>
|
|
|
|
<option value="agitator">Agitator</option>,
|
|
|
|
<option value="defender">Defender</option>,
|
|
|
|
<option value="enhancer">Enhancer</option>,
|
|
|
|
<option value="scrapper">Scrapper</option>,
|
|
|
|
<option value="ranged">Ranged</option>,
|
|
|
|
<option value="tactician">Tactician</option>,
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</li>
|
2022-02-10 21:58:19 +01:00
|
|
|
|
2022-02-10 19:03:09 +01:00
|
|
|
<li class="flexrow"><label class="generic-label">Perk Status</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<select class="competence-base flexrow" type="text" name="system.status" value="{{data.status}}" data-dtype="String">
|
2022-02-10 19:03:09 +01:00
|
|
|
{{#select 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>
|
2021-12-05 20:36:34 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</li>
|
2021-12-03 18:31:43 +01:00
|
|
|
<li class="flexrow"><label class="generic-label">Number of use during activation</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<select class="competence-base flexrow" type="text" name="system.nbuse" value="{{data.nbuse}}" data-dtype="String">
|
2021-12-03 18:31:43 +01:00
|
|
|
{{#select data.nbuse}}
|
2021-12-05 20:36:34 +01:00
|
|
|
<option value="perkduration">For Duration of Perk</option>
|
|
|
|
<option value="next1action">Next 1 Stated Action</option>
|
|
|
|
<option value="next2action">Next 2 Stated Action</option>
|
|
|
|
<option value="next3action">Next 3 Stated Action</option>
|
2021-12-03 18:31:43 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</li>
|
2022-07-10 10:22:04 +02:00
|
|
|
|
|
|
|
<li class="flexrow"><label class="generic-label">Upgradable?</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.upgradable" {{checked data.upgradable}}/></label>
|
2022-07-10 10:22:04 +02:00
|
|
|
</li>
|
|
|
|
|
2022-02-10 21:58:19 +01:00
|
|
|
<li class="flexrow"><label class="generic-label">Is Weaver Perk?</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.isweaver" {{checked data.isweaver}}/></label>
|
2022-02-10 21:58:19 +01:00
|
|
|
</li>
|
2022-02-10 19:03:09 +01:00
|
|
|
|
|
|
|
<li class="flexrow"><label class="generic-label">Effects Gained</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<ul class="ul-level1">
|
|
|
|
<li class="flexrow"><div class="drop-perk-effect"><label>Drop Effects here !</label></div>
|
|
|
|
</li>
|
|
|
|
{{#each data.effectsgained as |effect idx|}}
|
|
|
|
<li class="flexrow">
|
2022-09-04 09:58:51 +02:00
|
|
|
<label name="system.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
2022-02-10 19:03:09 +01:00
|
|
|
<div class="item-controls padd-left">
|
|
|
|
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
2022-08-14 15:27:54 +02:00
|
|
|
<li class="flexrow"><label class="generic-label">When activated display text</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<input type="text" class="padd-right" name="system.activatedtext" value="{{data.activatedtext}}" data-dtype="String"/>
|
2022-08-14 15:27:54 +02:00
|
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="generic-label">When deactivated display text</label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<input type="text" class="padd-right" name="system.deactivatedtext" value="{{data.deactivatedtext}}" data-dtype="String"/>
|
2022-08-14 15:27:54 +02:00
|
|
|
</li>
|
|
|
|
|
2021-12-19 15:35:54 +01:00
|
|
|
{{#each data.features as |feature key|}}
|
2022-02-14 15:19:26 +01:00
|
|
|
{{#if feature.isvalid}}
|
|
|
|
<li class="flexrow">
|
|
|
|
<label class="generic-label">{{feature.label}} ? </label>
|
2022-09-04 09:58:51 +02:00
|
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.features.{{key}}.flag" {{checked feature.flag}}/></label>
|
2022-02-14 15:19:26 +01:00
|
|
|
</li>
|
|
|
|
{{#if feature.flag}}
|
|
|
|
<ul class="ul-level1">
|
|
|
|
<li class="flexrow"><label class="generic-label">{{feature.label}}</label>
|
|
|
|
{{#if (eq feature.type "statdice")}}
|
2022-09-04 09:58:51 +02:00
|
|
|
<select class="competence-base flexrow" type="text" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String">
|
2022-02-14 15:19:26 +01:00
|
|
|
{{#select feature.value}}
|
|
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true}}
|
|
|
|
{{/select}}
|
2021-12-19 15:35:54 +01:00
|
|
|
</select>
|
2022-02-14 15:19:26 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if (eq feature.type "range")}}
|
2022-09-04 09:58:51 +02:00
|
|
|
<select class="competence-base flexrow" type="text" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String">
|
2022-02-14 15:19:26 +01:00
|
|
|
{{#select feature.value}}
|
|
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (eq feature.type "number")}}
|
2022-09-04 09:58:51 +02:00
|
|
|
<input type="text" class="padd-right" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="Number"/>
|
2022-02-14 15:19:26 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if (eq feature.type "string")}}
|
2022-09-04 09:58:51 +02:00
|
|
|
<input type="text" class="padd-right" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String"/>
|
2022-02-14 15:19:26 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if (eq feature.type "dropspec")}}
|
|
|
|
<ul class="ul-level1">
|
|
|
|
<li class="flexrow"><div class="drop-spec-perk" data-key={{key}}><label>Drop Specialisation here !</label></div>
|
|
|
|
</li>
|
2022-09-04 09:58:51 +02:00
|
|
|
<input type="text" class="padd-right" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String"/>
|
2022-02-14 15:19:26 +01:00
|
|
|
</ul>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (eq feature.type "text")}}
|
|
|
|
<div class="small-editor item-text-long-line">
|
|
|
|
{{editor content=features.value target="data.features.{{key}}.value" button=true owner=owner editable=editable}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
{{/if}}
|
2021-12-19 15:35:54 +01:00
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
2021-12-03 18:31:43 +01:00
|
|
|
</ul>
|
2021-12-05 20:36:34 +01:00
|
|
|
|
2021-12-02 07:38:59 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</form>
|