Item sheets, WIP
This commit is contained in:
34
templates/items/item-armor-sheet.hbs
Normal file
34
templates/items/item-armor-sheet.hbs
Normal file
@ -0,0 +1,34 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-nav.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-common-item-fields.hbs}}
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Equipped</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.equipped" {{checked system.equipped}} />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
48
templates/items/item-equipment-sheet.hbs
Normal file
48
templates/items/item-equipment-sheet.hbs
Normal file
@ -0,0 +1,48 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-nav.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Type</label>
|
||||
<select class="item-field-label-long" type="text" name="system.equiptype" value="{{system.equiptype}}" data-dtype="String">
|
||||
{{#select system.equiptype}}
|
||||
{{> systems/fvtt-avd12/templates/items/partial-options-equipment-types.hbs}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
</li>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-common-item-fields.hbs}}
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Quantity</label>
|
||||
<input type="text" class="item-field-label-short" name="system.quantity" value="{{system.quantity}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Equipped</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.equipped" {{checked system.equipped}} />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
50
templates/items/item-money-sheet.hbs
Normal file
50
templates/items/item-money-sheet.hbs
Normal file
@ -0,0 +1,50 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-nav.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Value</label>
|
||||
<input type="text" class="item-field-label-short" name="system.value" value="{{system.value}}" data-dtype="Number"/>
|
||||
|
||||
<label class="item-field-label-short"> </label>
|
||||
|
||||
<label class="item-field-label-long">Quantity</label>
|
||||
<input type="text" class="item-field-label-short" name="system.quantity" value="{{system.quantity}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Abbreviation</label>
|
||||
<input type="text" class="item-field-label-short" name="system.abbreviation" value="{{system.abbreviation}}" data-dtype="String"/>
|
||||
|
||||
<label class="item-field-label-short"> </label>
|
||||
|
||||
<label class="item-field-label-long">Weight</label>
|
||||
<input type="text" class="item-field-label-short" name="system.weight" value="{{system.weight}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
34
templates/items/item-shield-sheet.hbs
Normal file
34
templates/items/item-shield-sheet.hbs
Normal file
@ -0,0 +1,34 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-nav.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-common-item-fields.hbs}}
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Equipped</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.equipped" {{checked system.equipped}} />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
41
templates/items/item-skill-sheet.hbs
Normal file
41
templates/items/item-skill-sheet.hbs
Normal file
@ -0,0 +1,41 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-nav.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Attribute</label>
|
||||
<select class="item-field-label-long" type="text" name="system.attribute" value="{{system.attribute}}" data-dtype="String">
|
||||
{{#select system.attribute}}
|
||||
{{> systems/fvtt-avd12/templates/items/partial-options-attributes.hbs}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Level</label>
|
||||
<input type="text" class="item-field-label-short" name="system.value" value="{{system.value}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
41
templates/items/item-spell-sheet.hbs
Normal file
41
templates/items/item-spell-sheet.hbs
Normal file
@ -0,0 +1,41 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-nav.hbs}}
|
||||
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Type</label>
|
||||
<select class="item-field-label-long" type="text" name="system.spelltype" value="{{system.spelltype}}" data-dtype="String">
|
||||
{{#select system.spelltype}}
|
||||
{{> systems/fvtt-avd12/templates/items/partial-options-spell-types.hbs}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Level</label>
|
||||
<input type="text" class="item-field-label-short" name="system.value" value="{{system.value}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
@ -18,29 +18,90 @@
|
||||
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="item-field-label-long">Weapon type</label>
|
||||
<select class="competence-base flexrow" type="text" name="system.weapontype" value="{{system.weapontype}}" data-dtype="String">
|
||||
{{#select system.weapontype}}
|
||||
{{> systems/fvtt-avd12/templates/items/partial-options-weapon-types.hbs}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="item-field-label-long">Weapon category</label>
|
||||
<select class="competence-base flexrow" type="text" name="system.category" value="{{system.category}}" data-dtype="String">
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Weapon category</label>
|
||||
<select class="item-field-label-long" type="text" name="system.category" value="{{system.category}}" data-dtype="String">
|
||||
{{#select system.category}}
|
||||
{{> systems/fvtt-avd12/templates/items/partial-options-weapon-categories.hbs}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
<label class="item-field-label-short"> </label>
|
||||
|
||||
<label class="item-field-label-long">Weapon type</label>
|
||||
<select class="item-field-label-long" type="text" name="system.weapontype" value="{{system.weapontype}}" data-dtype="String">
|
||||
{{#select system.weapontype}}
|
||||
{{> systems/fvtt-avd12/templates/items/partial-options-weapon-types.hbs}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
</li>
|
||||
|
||||
{{> systems/fvtt-avd12/templates/items/partial-common-item-fields.hbs}}
|
||||
|
||||
<li class="flexrow"><label class="item-field-label-long">Min Range</label>
|
||||
<input type="text" class="right" name="system.minrange" value="{{system.minrange}}" data-dtype="Number"/>
|
||||
<li class='flexrow'>
|
||||
<h3 class='item-field-label-long'>
|
||||
Range
|
||||
</h3>
|
||||
</li>
|
||||
<li class="flexrow"><label class="generic-label">Max Range</label>
|
||||
<input type="text" class="right" name="item-field-label-long" value="{{system.maxrange}}" data-dtype="Number"/>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Min Range</label>
|
||||
<input type="text" class="item-field-label-short" name="system.minrange" value="{{system.minrange}}" data-dtype="Number"/>
|
||||
|
||||
<label class="item-field-label-short"> </label>
|
||||
|
||||
<label class="item-field-label-long">Max Range</label>
|
||||
<input type="text" class="item-field-label-short" name="system.maxrange" value="{{system.maxrange}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Throw Range</label>
|
||||
<input type="text" class="item-field-label-short" name="system.throwrange" value="{{system.throwrange}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Magical</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.magical" {{checked system.magical}} />
|
||||
|
||||
<label class="item-field-label-short"> </label>
|
||||
|
||||
<label class="item-field-label-long">Blackened Iron</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.blackenediron" {{checked system.blackenediron}} />
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<label class="item-field-label-long">Silvered</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.silvered" {{checked system.silvered}} />
|
||||
|
||||
<label class="item-field-label-short"> </label>
|
||||
|
||||
<label class="item-field-label-long">Equipped</label>
|
||||
<input type="checkbox" class="item-field-label-short" name="system.equipped" {{checked system.equipped}} />
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
<h3 class="item-field-label-long">Damages</h3>
|
||||
</li>
|
||||
|
||||
<li class="flexrow">
|
||||
{{#each system.damages as |damage key|}}
|
||||
<div class="flexcol">
|
||||
<label class="item-field-label-long">{{upperFirst key}}</label>
|
||||
<div class="flexrow">
|
||||
<label class="item-field-label-short">Type</label>
|
||||
<input type="text" class="item-field-label-short" name="system.damages.{{key}}.damagetype" value="{{damage.damagetype}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<label class="item-field-label-short">Dice</label>
|
||||
<input type="text" class="item-field-label-short" name="system.damages.{{key}}.dice" value="{{damage.dice}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<label class="item-field-label-short">Bonus</label>
|
||||
<input type="text" class="item-field-label-short" name="system.damages.{{key}}.bonus" value="{{damage.bonus}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
@ -4,20 +4,22 @@
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='padd-right'
|
||||
class='item-field-label-short'
|
||||
name='system.focuspointsbonus'
|
||||
value="{{system.focuspointsbonus}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
<label class='item-field-label-short'>
|
||||
|
||||
</label>
|
||||
|
||||
<label class='item-field-label-long'>
|
||||
Focus Regen Bonus
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='padd-right'
|
||||
class='item-field-label-short'
|
||||
name='system.focusregenbonus'
|
||||
value="{{system.focusregenbonus}}"
|
||||
data-dtype='Number'
|
||||
@ -30,9 +32,123 @@
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='padd-right'
|
||||
class='item-field-label-short'
|
||||
name='system.burnchancebonus'
|
||||
value="{{system.burnchancebonus}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
<h3 class='item-field-label-long'>
|
||||
Mitigations
|
||||
</h3>
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
{{#each system.mitigation as |mitigation key|}}
|
||||
<div>
|
||||
<label class='item-field-label-short'>
|
||||
{{upperFirst key}}
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='item-field-label-short padd-right'
|
||||
name="system.mitigation.{{key}}.value"
|
||||
value="{{mitigation.value}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
<label>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
<h3 class='item-field-label-long'>
|
||||
Bonus
|
||||
</h3>
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
{{#each system.bonus as |bonus key|}}
|
||||
<div>
|
||||
<label class='item-field-label-short'>
|
||||
{{upperFirst key}}
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='item-field-label-short padd-right'
|
||||
name="system.bonus.{{key}}.value"
|
||||
value="{{bonus.value}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
<label>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
<h3 class='item-field-label-long'>
|
||||
Various
|
||||
</h3>
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
<label class='item-field-label-long'>
|
||||
Weight
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='item-field-label-short'
|
||||
name='system.weight'
|
||||
value="{{system.weight}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
|
||||
<label class='item-field-label-short'>
|
||||
|
||||
</label>
|
||||
|
||||
<label class='item-field-label-long'>
|
||||
Cost
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='item-field-label-short'
|
||||
name='system.cost'
|
||||
value="{{system.cost}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
</li>
|
||||
|
||||
<li class='flexrow'>
|
||||
<label class='item-field-label-long'>
|
||||
Health
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='item-field-label-short'
|
||||
name='system.health'
|
||||
value="{{system.health}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
|
||||
<label class='item-field-label-short'>
|
||||
|
||||
</label>
|
||||
|
||||
<label class='item-field-label-long'>
|
||||
Move speed
|
||||
</label>
|
||||
<input
|
||||
type='text'
|
||||
class='item-field-label-short'
|
||||
name='system.movespeed'
|
||||
value="{{system.movespeed}}"
|
||||
data-dtype='Number'
|
||||
/>
|
||||
</li>
|
5
templates/items/partial-options-attributes.hbs
Normal file
5
templates/items/partial-options-attributes.hbs
Normal file
@ -0,0 +1,5 @@
|
||||
<option value="might">Might</option>
|
||||
<option value="agility">Agility</option>
|
||||
<option value="willpower">Willpower</option>
|
||||
<option value="knowledge">Knowledge</option>
|
||||
<option value="social">Social</option>
|
2
templates/items/partial-options-equipment-types.hbs
Normal file
2
templates/items/partial-options-equipment-types.hbs
Normal file
@ -0,0 +1,2 @@
|
||||
<option value="cloth">Clothes</option>
|
||||
<option value="misc">Misc</option>
|
5
templates/items/partial-options-spell-types.hbs
Normal file
5
templates/items/partial-options-spell-types.hbs
Normal file
@ -0,0 +1,5 @@
|
||||
<option value="might">Might</option>
|
||||
<option value="agility">Agility</option>
|
||||
<option value="willpower">Willpower</option>
|
||||
<option value="knowledge">Knowledge</option>
|
||||
<option value="social">Social</option>
|
@ -1,4 +1,9 @@
|
||||
<option value="ranged">Ranged</option>
|
||||
<option value="blunt">Blunt</option>
|
||||
<option value="slash">Slash</option>
|
||||
<option value="pierce">Pierce</option>
|
||||
<option value="unarmed">Unarmed</option>
|
||||
<option value="light1h">Light - 1 Handed</option>
|
||||
<option value="heavy1h">Heavy - 1 Handed</option>
|
||||
<option value="light2h">Light - 2 Handed</option>
|
||||
<option value="heavy2h">Heavy - 2 Handed</option>
|
||||
<option value="ulightranged">Ultra Light - Ranged</option>
|
||||
<option value="lightranged">Light - Ranged</option>
|
||||
<option value="heavyranged">Heavy - Ranged</option>
|
||||
<option value="uheavyranged">Ultra Heavy - Ranged</option>
|
||||
|
Reference in New Issue
Block a user