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

211 lines
12 KiB
HTML
Raw Normal View History

2022-01-12 16:26:48 +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}}"/>
2022-01-12 16:26:48 +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}}
2022-01-12 16:26:48 +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}}
2022-02-10 15:53:42 +01:00
2022-03-06 22:18:08 +01:00
<div class="tab details" data-group="primary" data-tab="details">
2022-01-12 16:26:48 +01:00
<ul>
<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}}" data-dtype="String">
2022-01-12 16:26:48 +01:00
{{#select data.type}}
<option value="mental">Mental</option>
<option value="physical">Physical</option>
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Positive/Negative</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.genre" value="{{data.genre}}" data-dtype="String">
2022-01-12 16:26:48 +01:00
{{#select data.genre}}
<option value="positive">Positive</option>
<option value="negative">Negative</option>
{{/select}}
</select>
2022-01-12 17:21:37 +01:00
</li>
2022-07-10 10:22:04 +02:00
2022-10-05 09:13:17 +02:00
<li class="flexrow"><label class="generic-label">Effect Level is a Stat?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="system.effectstatlevel" {{checked data.effectstatlevel}}/></label>
</li>
{{#if data.effectstatlevel}}
<li class="flexrow"><label class="generic-label">Stat to use for Effect Level</label>
<select class="competence-base flexrow" type="text" name="system.effectstat" value="{{data.effectstat}}" data-dtype="String">
{{#select data.effectstat}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=true all=false}}
{{/select}}
</select>
</li>
{{else}}
<li class="flexrow"><label class="generic-label">Effect Level</label>
<input type="text" class="input-numeric-short padd-right" name="system.effectlevel" value="{{data.effectlevel}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="generic-label">Affect size ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="system.affectsize" {{checked data.affectsize}}/></label>
</li>
{{/if}}
2022-07-10 10:22:04 +02:00
<li class="flexrow"><label class="generic-label">One use?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.oneuse" {{checked data.oneuse}}/></label>
2022-07-10 10:22:04 +02:00
</li>
2022-08-14 15:27:54 +02:00
<li class="flexrow"><label class="generic-label">Ignore health penalty?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.ignorehealthpenalty" {{checked data.ignorehealthpenalty}}/></label>
2022-08-14 15:27:54 +02:00
</li>
2022-08-16 21:21:37 +02:00
<li class="flexrow"><label class="generic-label">Display Text when targetted</label>
2022-09-04 09:58:51 +02:00
<input type="text" class="padd-right" name="system.isthispossible" value="{{data.isthispossible}}" data-dtype="String"/>
2022-08-14 15:27:54 +02:00
</li>
<li class="flexrow"><label class="generic-label">Mental disruption ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.mentaldisruption" {{checked data.mentaldisruption}}/></label>
2022-08-14 15:27:54 +02:00
</li>
<li class="flexrow"><label class="generic-label">Physical disruption ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.physicaldisruption" {{checked data.physicaldisruption}}/></label>
2022-08-14 15:27:54 +02:00
</li>
<li class="flexrow"><label class="generic-label">Mental immunity ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.mentalimmunity" {{checked data.mentalimmunity}}/></label>
2022-08-14 15:27:54 +02:00
</li>
<li class="flexrow"><label class="generic-label">Physical immunity ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.physicalimmunity" {{checked data.physicalimmunity}}/></label>
2022-08-14 15:27:54 +02:00
</li>
<li class="flexrow"><label class="generic-label">No bonus dice ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.nobonusdice" {{checked data.nobonusdice}}/></label>
2022-08-14 15:27:54 +02:00
</li>
<li class="flexrow"><label class="generic-label">No perks allowed ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.noperksallowed" {{checked data.noperksallowed}}/></label>
2022-08-14 15:27:54 +02:00
</li>
2022-11-27 18:54:52 +01:00
<li class="flexrow"><label class="generic-label">Permanent/Locked (Only GM can change/edit) ?</label>
2022-09-30 13:44:59 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.locked" {{checked data.locked}}/></label>
</li>
2022-10-06 12:38:31 +02:00
<li class="flexrow"><label class="generic-label">Display Text when added to Actor</label>
<input type="text" class="input-numeric-short padd-right" name="system.droptext" value="{{data.droptext}}" data-dtype="String"/>
</li>
2023-09-16 10:16:59 +02:00
<li class="flexrow"><label class="generic-label">Provide extra TICs ?</label>
<select class="competence-base flexrow" type="text" name="system.extratics" value="{{data.extratics}}" data-dtype="String">
{{selectOptions config.extraTIC selected=data.extratics nameAttr="key" labelAttr="name" }}
</select>
</li>
2022-09-30 13:44:59 +02:00
<li class="flexrow"><label class="generic-label">Affect Status?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="system.affectstatus" {{checked data.affectstatus}}/></label>
</li>
{{#if data.affectstatus}}
2023-09-11 20:34:33 +02:00
<li class="flexrow"><label class="generic-label">Affected status/Auto damage</label>
2022-09-30 13:44:59 +02:00
<select class="competence-base flexrow" type="text" name="system.affectedstatus" value="{{data.affectedstatus}}" data-dtype="String">
{{#select data.affectedstatus}}
2023-09-11 20:34:33 +02:00
<option value="mdl">MDL</option>
<option value="rdl">RDL</option>
<option value="adrl">ADRL</option>
2022-09-30 13:44:59 +02:00
<option value="nrg">NRG</option>
2022-11-27 20:39:45 +01:00
<option value="mt">MT</option>
<option value="kbv">KBV</option>
2022-09-30 13:44:59 +02:00
{{/select}}
</select>
</li>
{{/if}}
2022-01-12 17:21:37 +01:00
<li class="flexrow"> <label class="generic-label">Affected Specialisations </label></li>
<li class="flexrow">
<ul class="ul-level1">
<li class="flexrow"><div class="drop-effect-specaffected"><label>Drop Specialisations here !</label></div>
</li>
{{#each data.specaffected as |spec idx|}}
<li class="flexrow">
2022-09-04 09:58:51 +02:00
<label name="system.specaffected[{{idx}}].name"><a class="view-subitem" data-type="specaffected" data-index="{{idx}}">{{spec.name}}</a></label>
2022-01-12 17:21:37 +01:00
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="specaffected" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</li>
2022-01-12 16:26:48 +01:00
<li class="flexrow"><label class="generic-label">Affected Stat</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.stataffected" value="{{data.stataffected}}" data-dtype="String">
2022-01-12 16:26:48 +01:00
{{#select data.stataffected}}
2022-08-24 20:24:22 +02:00
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true all=true combat=true vehicle=true power=true}}
2022-01-12 16:26:48 +01:00
{{/select}}
</select>
</li>
2022-01-13 16:13:00 +01:00
{{#if (eq data.genre "positive")}}
2022-02-10 15:53:42 +01:00
<li class="flexrow"><label class="generic-label">Choose one :</label></li>
2022-01-12 16:26:48 +01:00
<li class="flexrow"><label class="generic-label">Stat Dice ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.statdice" {{checked data.statdice}}/></label>
2022-01-12 16:26:48 +01:00
</li>
<li class="flexrow"><label class="generic-label">Bonus Dice ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.bonusdice" {{checked data.bonusdice}}/></label>
2022-01-12 16:26:48 +01:00
</li>
2022-07-10 10:22:04 +02:00
<li class="flexrow"><label class="generic-label">Weapon Damage ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.otherdice" {{checked data.otherdice}}/></label>
2022-01-12 16:26:48 +01:00
</li>
{{else}}
2022-01-13 07:41:30 +01:00
<li class="flexrow"><label class="generic-label">Reduce Dice Value ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.reducedicevalue" {{checked data.reducedicevalue}}/></label>
2022-01-13 07:41:30 +01:00
</li>
2022-01-12 16:26:48 +01:00
<li class="flexrow"><label class="generic-label">Hindrance ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.hindrance" {{checked data.hindrance}}/></label>
2022-01-12 16:26:48 +01:00
</li>
<li class="flexrow"><label class="generic-label">Resisted By</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.resistedby" value="{{data.resistedby}}" data-dtype="String">
2022-01-12 16:26:48 +01:00
{{#select data.resistedby}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=false all=false}}
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Recovery Roll ?</label>
2022-09-04 09:58:51 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.recoveryroll" {{checked data.recoveryroll}}/></label>
2022-01-12 16:26:48 +01:00
</li>
2022-01-12 19:57:36 +01:00
{{#if data.recoveryroll}}
<li class="flexrow"><label class="generic-label">Recovery Stat</label>
2022-09-04 09:58:51 +02:00
<select class="competence-base flexrow" type="text" name="system.recoveryrollstat" value="{{data.recoveryrollstat}}" data-dtype="String">
2022-01-12 19:57:36 +01:00
{{#select data.recoveryrollstat}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=false all=false}}
{{/select}}
</select>
</li>
2022-01-12 16:26:48 +01:00
<li class="flexrow">
<ul class="ul-level1">
<li class="flexrow">
<label class="generic-label">Recovery Specialisations </label>
</li>
<li class="flexrow"><div class="drop-effect-spec"><label>Drop Specialisations here !</label></div>
</li>
{{#each data.recoveryrollspec as |spec idx|}}
<li class="flexrow">
2022-09-04 09:58:51 +02:00
<label name="system.recoveryrollspec[{{idx}}].name"><a class="view-subitem" data-type="recoveryrollspec" data-index="{{idx}}">{{spec.name}}</a></label>
2022-01-12 16:26:48 +01:00
<div class="item-controls padd-left">
<a class="item-control delete-subitem padd-left" data-type="recoveryrollspec" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</li>
2022-01-12 19:57:36 +01:00
{{/if}}
2022-01-12 16:26:48 +01:00
{{/if}}
</ul>
</div>
</section>
</form>