fvtt-pegasus-rpg/templates/item-power-sheet.html

168 lines
7.8 KiB
HTML
Raw Normal View History

2021-12-02 07:38:59 +01:00
<form class="{{cssClass}}" autocomplete="off">
2022-03-06 22:18:08 +01:00
<header class="sheet-header">
2022-03-07 16:00:53 +01:00
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
2022-03-06 22:18:08 +01:00
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
</div>
</header>
{{> systems/fvtt-pegasus-rpg/templates/partial-item-nav.html}}
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="tab description" data-group="primary" data-tab="description">
2022-09-28 14:02:05 +02:00
<div class="medium-editor item-text-long-line">
2022-09-29 20:04:27 +02:00
<label class="generic-label"><strong>Power Ups</strong></label>
2022-09-28 14:02:05 +02:00
{{editor purchasedeffects target="system.purchasedeffects" button=true owner=owner
editable=editable}}
</div>
2022-09-29 20:04:27 +02:00
<span><label>&nbsp;</label></span>
<hr>
2022-09-29 13:10:41 +02:00
<div class="long-editor item-text-long-line">
2022-09-29 20:04:27 +02:00
<label class="generic-label"><strong>Description</strong></label>
2022-09-27 20:31:01 +02:00
{{editor description target="system.description" button=true owner=owner editable=editable}}
2022-03-06 22:18:08 +01:00
</div>
2022-09-29 20:04:27 +02:00
<span><label>&nbsp;</label></span>
<hr>
2022-03-07 16:00:53 +01:00
<div class="medium-editor item-text-long-line">
2022-09-29 20:04:27 +02:00
<label class="generic-label"><strong>Available Upgrades</strong></label>
2022-09-27 20:31:01 +02:00
{{editor effects target="system.effects" button=true owner=owner editable=editable}}
2022-03-07 16:00:53 +01:00
</div>
2022-03-06 22:18:08 +01:00
</div>
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>
<li class="flexrow"><label class="generic-label">Roll Needed ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.rollneeded" {{checked
2022-03-06 22:18:08 +01:00
data.rollneeded}} /></label>
</li>
{{#if data.rollneeded}}
<li class="flexrow"><label class="generic-label">Related Statistic (only if roll is needed)</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.statistic" value="{{data.statistic}}"
2022-03-06 22:18:08 +01:00
data-dtype="String">
{{#select data.statistic}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
{{/select}}
</select>
</li>
{{/if}}
2021-12-02 07:38:59 +01:00
2022-03-06 22:18:08 +01:00
<li class="flexrow">
<label class="generic-label">Activated ? </label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.activated" {{checked
2022-03-06 22:18:08 +01:00
data.activated}} /></label>
</li>
2022-01-06 18:22:05 +01:00
2022-03-06 22:18:08 +01:00
<li class="flexrow"><label class="generic-label">NRG Cost</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right" name="system.cost" value="{{data.cost}}"
2022-03-06 22:18:08 +01:00
data-dtype="Number" />
</li>
<li class="flexrow"><label class="generic-label">NRG Spent</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right" name="system.costspent" value="{{data.costspent}}"
2022-03-06 22:18:08 +01:00
data-dtype="Number" />
</li>
2022-08-16 21:21:37 +02:00
<li class="flexrow"><label class="generic-label">Power Level</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right" name="system.powerlevel" value="{{data.powerlevel}}" data-dtype="Number"/>
2022-08-16 21:21:37 +02:00
</li>
2022-03-06 22:18:08 +01:00
<li class="flexrow"><label class="generic-label">Range</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.range" value="{{data.range}}"
2022-03-06 22:18:08 +01:00
data-dtype="String">
{{#select data.range}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Action</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.action" value="{{data.action}}"
2022-03-06 22:18:08 +01:00
data-dtype="String">
{{#select data.action}}
<option value="soft">Soft</option>
<option value="hard">Hard</option>
<option value="full">Full</option>
<option value="reactive">Reactive</option>
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Type</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.type" value="{{data.type}}"
2022-03-06 22:18:08 +01:00
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">Power Source</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right" name="system.powersource" value="{{data.powersource}}"
2022-03-06 22:18:08 +01:00
data-dtype="String" />
</li>
2022-01-16 16:09:32 +01:00
2022-03-06 22:18:08 +01:00
<li class="flexrow">
<label class="generic-label">DMG Roll Needed ? </label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.dmgroll" {{checked
2022-03-06 22:18:08 +01:00
data.dmgroll}} /></label>
</li>
{{#if data.dmgroll}}
2022-09-28 20:21:04 +02:00
<li class="flexrow"><label class="generic-label">Related DMG Statistic </label>
<select class="competence-base flexrow" type="text" name="system.dmgstatistic" value="{{data.dmgstatistic}}"
data-dtype="String">
{{#select data.dmgstatistic}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
{{/select}}
</select>
</li>
2022-09-28 20:23:21 +02:00
<li class="flexrow"><label class="generic-label">Damage Type</label>
2022-09-28 20:21:04 +02:00
<input type="text" class="padd-right" name="system.powerdamagetype" value="{{data.powerdamagetype}}"
data-dtype="String" />
</li>
2022-09-28 20:23:21 +02:00
<li class="flexrow"><label class="generic-label">Damage Type Level</label>
<input type="text" class="padd-right" name="system.powerdamagetypelevel" value="{{data.powerdamagetypelevel}}"
data-dtype="Number" />
</li>
2022-03-06 22:18:08 +01:00
{{/if}}
2022-02-10 21:58:19 +01:00
2022-08-28 18:51:52 +02:00
<li class="flexrow"><label class="generic-label">When purchased display text</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right" name="system.purchasedtext" value="{{data.purchasedtext}}" data-dtype="String"/>
2022-08-28 18:51:52 +02:00
</li>
<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-28 18:51:52 +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-28 18:51:52 +02:00
</li>
2022-09-16 17:36:58 +02:00
<li class="flexrow"><label class="generic-label">PPP Used to Purchase</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="input-numeric-short padd-right" name="system.powerlevelcost" value="{{data.powerlevelcost}}"
2022-08-28 18:51:52 +02:00
data-dtype="Number" />
</li>
2022-03-06 22:18:08 +01:00
<li class="flexrow"><label class="generic-label">Effects Gained</label>
</li>
<li>
<ul class="ul-level1">
2022-02-25 14:53:19 +01:00
<li class="flexrow">
2022-03-06 22:18:08 +01:00
<div class="drop-power-effect"><label>Drop Effects here !</label></div>
2022-02-10 21:58:19 +01:00
</li>
2022-03-06 22:18:08 +01:00
{{#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"
2022-03-06 22:18:08 +01:00
data-index="{{idx}}">{{effect.name}}</a></label>
<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>
2021-12-03 18:31:43 +01:00
</div>
</li>
2022-03-06 22:18:08 +01:00
{{/each}}
2021-12-03 18:31:43 +01:00
</ul>
2022-03-06 22:18:08 +01:00
</li>
</ul>
</div>
2021-12-02 07:38:59 +01:00
2022-03-06 22:18:08 +01:00
</section>
</form>