fvtt-crucible-rpg/templates/actor-sheet.html

503 lines
21 KiB
HTML
Raw Normal View History

2022-07-19 23:16:03 +02:00
<form class="{{cssClass}}" autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields">
<h1 class="charname margin-right"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
<div class="flexrow">
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="flexcol">
<div class="flexrow">
2022-07-25 21:33:00 +02:00
<div class="ability-item">
2022-07-19 23:16:03 +02:00
<ul>
2022-07-25 19:13:52 +02:00
{{#each data.abilities as |ability key|}}
{{#if (eq ability.col 1)}}
{{> systems/fvtt-crucible-rpg/templates/partial-actor-ability-block.html ability=ability key=key}}
2022-07-19 23:16:03 +02:00
{{/if}}
{{/each}}
</ul>
2022-08-04 10:25:40 +02:00
<li class="item flexrow list-item" data-attr-key="class">
<span class="ability-label " name="class">
<h4 class="ability-text-white ability-margin">Class</h4>
</span>
2022-08-16 22:29:27 +02:00
<select class="competence-base flexrow" type="text" name="system.biodata.class" value="{{data.biodata.class}}" data-dtype="String">
2022-08-04 10:25:40 +02:00
{{#select data.biodata.class}}
<option value="chaplain">Chaplain</option>
<option value="magus">Magus</option>
<option value="martial">Martial</option>
<option value="skalawag">Skalawag</option>
<option value="warden">Warden</option>
{{/select}}
</select>
</li>
2022-07-19 23:16:03 +02:00
</div>
2022-07-25 21:33:00 +02:00
<div class="ability-item">
2022-07-19 23:16:03 +02:00
<ul>
2022-07-25 19:13:52 +02:00
{{#each data.abilities as |ability key|}}
{{#if (eq ability.col 2)}}
{{> systems/fvtt-crucible-rpg/templates/partial-actor-ability-block.html ability=ability key=key}}
2022-07-19 23:16:03 +02:00
{{/if}}
{{/each}}
2022-08-04 10:25:40 +02:00
{{#if equippedArmor}}
<li class="item flexrow list-item" data-attr-key="class">
<img class="sheet-competence-img" src="{{equippedArmor.img}}" />
<span class="ability-label " name="class">
<h4 class="ability-text-white ability-margin"><a class="roll-armor-die ability-margin">{{equippedArmor.name}}</a></h4>
</span>
</li>
{{/if}}
{{#if equippedShield}}
<li class="item flexrow list-item" data-attr-key="class">
<img class="sheet-competence-img" src="{{equippedShield.img}}" />
<span class="ability-label " name="equippedShield">
2022-08-04 16:28:10 +02:00
<h4 class="ability-text-white ability-margin"><a class="roll-shield-die ability-margin">{{equippedShield.name}}</a></h4>
2022-08-04 10:25:40 +02:00
</span>
</li>
{{/if}}
2022-07-19 23:16:03 +02:00
</ul>
</div>
2022-07-25 21:33:00 +02:00
<div class="ability-item status-block">
2022-07-25 19:13:52 +02:00
{{> systems/fvtt-crucible-rpg/templates/partial-actor-status.html}}
2022-07-19 23:16:03 +02:00
</div>
</div>
</div>
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
2022-07-25 19:13:52 +02:00
<a class="item" data-tab="skills">Skills</a>
2022-07-19 23:16:03 +02:00
<a class="item" data-tab="combat">Combat</a>
2022-07-25 19:13:52 +02:00
<a class="item" data-tab="lore">Lore</a>
2022-07-19 23:16:03 +02:00
<a class="item" data-tab="equipment">Equipment</a>
<a class="item" data-tab="biodata">Biography</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
2022-07-25 19:13:52 +02:00
{{!-- Skills Tab --}}
2022-07-25 21:33:00 +02:00
<div class="tab skills" data-group="primary" data-tab="skills">
2022-07-25 19:13:52 +02:00
2022-08-04 16:28:10 +02:00
<ul class="stat-list alternate-list item-list">
2022-07-25 19:13:52 +02:00
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Skills</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Ability</label>
</span>
<span class="item-field-label-short">
2022-08-01 21:39:17 +02:00
<label class="short-label">Dice</label>
2022-07-25 19:13:52 +02:00
</span>
<span class="item-field-label-long">
<label class="short-label">Background</label>
</span>
</li>
{{#each skills as |skill key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{skill._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{skill.img}}" /></a>
2022-07-25 21:33:00 +02:00
<span class="item-name-label"><a class="roll-skill">{{skill.name}}</a></span>
2022-08-16 22:29:27 +02:00
<span class="item-field-label-short">{{upper skill.system.ability}}</span>
<span class="item-field-label-short">{{skill.system.skilldice}}</span>
2022-07-25 19:13:52 +02:00
<span class="item-field-label-long">&nbsp;-&nbsp;</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
2022-07-19 23:16:03 +02:00
{{!-- Combat Tab --}}
2022-07-25 21:33:00 +02:00
<div class="tab combat" data-group="primary" data-tab="combat">
2022-07-19 23:16:03 +02:00
<div class="flexcol">
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
2022-07-30 22:54:08 +02:00
<h3><label class="items-title-text">Weapons</label></h3>
2022-07-19 23:16:03 +02:00
</span>
<span class="item-field-label-short">
2022-07-30 22:54:08 +02:00
<label class="short-label">Ability</label>
2022-07-19 23:16:03 +02:00
</span>
<span class="item-field-label-medium">
<label class="short-label">Range</label>
</span>
2022-07-30 22:54:08 +02:00
</li>
{{#each equippedWeapons as |weapon key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{weapon._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{weapon.img}}" /></a>
2022-08-01 21:39:17 +02:00
<span class="item-name-label-long"><a class ="roll-weapon">{{weapon.name}}</a></span>
2022-07-30 22:54:08 +02:00
2022-08-16 22:29:27 +02:00
<span class="item-field-label-short">{{weapon.system.ability}}</span>
2022-07-30 22:54:08 +02:00
2022-08-16 22:29:27 +02:00
<span class="item-field-label-medium">{{perk.system.range}}</span>
2022-07-30 22:54:08 +02:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div>
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long">
<h3><label class="items-title-text">Feats</label></h3>
2022-07-19 23:16:03 +02:00
</span>
2022-07-30 22:54:08 +02:00
<span class="item-field-label-medium">
<label class="short-label">Feature Die?</label>
2022-07-19 23:16:03 +02:00
</span>
2022-07-30 22:54:08 +02:00
<span class="item-field-label-medium">
<label class="short-label">SL?</label>
2022-07-19 23:16:03 +02:00
</span>
2022-07-30 22:54:08 +02:00
<span class="item-field-label-medium">
<label class="short-label">SL</label>
2022-07-19 23:16:03 +02:00
</span>
</li>
2022-07-30 22:54:08 +02:00
{{#each feats as |feat key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{feat._id}}">
2022-07-19 23:16:03 +02:00
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
2022-07-30 22:54:08 +02:00
src="{{feat.img}}" /></a>
<span class="item-name-label-long">{{feat.name}}</span>
2022-08-16 22:29:27 +02:00
<span class="item-field-label-medium">{{upperFirst feat.system.isfeatdie}}</span>
<span class="item-field-label-medium">{{upperFirst feat.system.issl}}</span>
<span class="item-field-label-medium">{{feat.system.sl}}</span>
2022-07-19 23:16:03 +02:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
2022-07-25 21:33:00 +02:00
{{!-- Lore Tab --}}
<div class="tab lore" data-group="primary" data-tab="lore">
2022-07-19 23:16:03 +02:00
<div class="flexcol">
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
2022-07-25 21:33:00 +02:00
<h3><label class="items-title-text">Lore</label></h3>
2022-07-19 23:16:03 +02:00
</span>
<span class="item-field-label-medium">
2022-07-25 21:33:00 +02:00
<label class="short-label">Lore</label>
2022-07-19 23:16:03 +02:00
</span>
2022-07-30 22:54:08 +02:00
<span class="item-field-label-short">
<label class="short-label">Circle</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Range</label>
</span>
2022-07-19 23:16:03 +02:00
</li>
2022-07-30 22:54:08 +02:00
{{#each spells as |spell key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{spell._id}}">
2022-07-19 23:16:03 +02:00
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
2022-07-30 22:54:08 +02:00
src="{{spell.img}}" /></a>
2022-07-19 23:16:03 +02:00
<span class="item-name-label">
2022-07-30 22:54:08 +02:00
<a class="power-roll">{{spell.name}}</a>
2022-07-19 23:16:03 +02:00
</span>
2022-08-16 22:29:27 +02:00
<span class="item-field-label-medium">{{upperFirst spell.system.lore}}</span>
<span class="item-field-label-short">{{upperFirst spell.system.circle}}</span>
<span class="item-field-label-medium">{{upperFirst spell.system.range}}</span>
2022-07-30 22:54:08 +02:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
2022-07-19 23:16:03 +02:00
</li>
{{/each}}
</ul>
</div>
</div>
{{!-- Equipement Tab --}}
<div class="tab equipment" data-group="primary" data-tab="equipment">
<div class="flexrow">
<h3>Encumbrance</h3>
<span class="small-label">Current : {{encCurrent}}</span>
<span class="small-label">Capacity : {{encCapacity}}</span>
</div>
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Money</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Qty</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Weight</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">IDR</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="money" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each moneys as |money key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{money._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{money.img}}" /></a>
<span class="item-name-label">{{money.name}}</span>
<span class="item-field-label-long"><label>
2022-08-16 22:29:27 +02:00
{{money.system.quantity}}
2022-07-19 23:16:03 +02:00
(<a class="quantity-minus plus-minus-button"> -</a>/<a class="quantity-plus plus-minus-button">+</a>)
</label>
</span>
<span class="item-field-label-medium">
2022-08-16 22:29:27 +02:00
<label>{{money.system.weight}}</label>
2022-07-19 23:16:03 +02:00
</span>
<span class="item-field-label-medium">
2022-08-16 22:29:27 +02:00
{{#if money.system.idrDice}}
<a class="roll-idr" data-dice-value="{{money.data.idrDice}}">{{money.system.idrDice}}</a>
2022-07-19 23:16:03 +02:00
{{else}}
&nbsp;-&nbsp;
{{/if}}
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Weapons</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Attack</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Damage</label>
</span>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="weapon" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each weapons as |weapon key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{weapon._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{weapon.img}}" /></a>
<span class="item-name-label">{{weapon.name}}</span>
2022-08-16 22:29:27 +02:00
<span class="item-field-label-short"><label>{{upper weapon.system.ability}}</label></span>
<span class="item-field-label-short"><label>{{upper weapon.system.damage}}</label></span>
2022-07-19 23:16:03 +02:00
2022-07-30 22:54:08 +02:00
<div class="item-filler">&nbsp;</div>
2022-07-19 23:16:03 +02:00
<div class="item-controls item-controls-fixed">
2022-08-16 22:29:27 +02:00
<a class="item-control item-equip" title="Worn">{{#if weapon.system.equipped}}<i
2022-07-19 23:16:03 +02:00
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Armors</label></h3>
</span>
<span class="item-field-label-short">
2022-07-25 21:33:00 +02:00
<label class="short-label">Type</label>
2022-07-19 23:16:03 +02:00
</span>
<span class="item-field-label-short">
2022-07-25 21:33:00 +02:00
<label class="short-label">Absorption</label>
2022-07-19 23:16:03 +02:00
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="armor" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each armors as |armor key|}}
<li class="item list-item flexrow list-item-shadow" data-item-id="{{armor._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{armor.img}}" /></a>
<span class="item-name-label">{{armor.name}}</span>
2022-08-16 22:29:27 +02:00
<span class="item-field-label-short">{{upper armor.system.armortype}}</span>
<span class="item-field-label-short">{{armor.system.absorprionroll}}</span>
2022-07-19 23:16:03 +02:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2022-08-16 22:29:27 +02:00
<a class="item-control item-equip" title="Worn">{{#if armor.system.equipped}}<i
2022-07-19 23:16:03 +02:00
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Shields</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Dice</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="shield" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each shields as |shield key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{shield._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{shield.img}}" /></a>
<span class="item-name-label">{{shield.name}}</span>
2022-08-16 22:29:27 +02:00
<span class="item-field-label-short">{{shield.system.levelDice}}</span>
2022-07-19 23:16:03 +02:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2022-08-16 22:29:27 +02:00
<a class="item-control item-equip" title="Worn">{{#if shield.system.equipped}}<i
2022-07-19 23:16:03 +02:00
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Equipment</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Quantity</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="equipment" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each containersTree as |equip key|}}
2022-08-05 10:04:42 +02:00
{{> systems/fvtt-crucible-rpg/templates/partial-actor-equipment.html equip=equip level=1}}
2022-07-19 23:16:03 +02:00
<ul class="item-list list-item-shadow2 list-item-margin1">
{{#each equip.data.contents as |subgear key|}}
2022-08-05 10:04:42 +02:00
{{> systems/fvtt-crucible-rpg/templates/partial-actor-equipment.html equip=subgear level=2}}
2022-07-19 23:16:03 +02:00
{{/each}}
</ul>
{{/each}}
</ul>
<hr>
</div>
{{!-- Biography Tab --}}
<div class="tab biodata" data-group="primary" data-tab="biodata">
<div class="grid grid-2col">
<div>
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="generic-label">Origin</label>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.origin" value="{{data.biodata.origin}}"
2022-07-19 23:16:03 +02:00
data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Age</label>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
2022-07-19 23:16:03 +02:00
</li>
<li class="item flexrow">
<label class="generic-label">Height</label>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.height" value="{{data.biodata.height}}" data-dtype="String" />
2022-07-19 23:16:03 +02:00
</li>
<li class="item flexrow">
<label class="generic-label">Eyes</label>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.eyes" value="{{data.biodata.eyes}}" data-dtype="String" />
2022-07-19 23:16:03 +02:00
</li>
<li class="item flexrow">
<label class="generic-label">Hair</label>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String" />
2022-07-19 23:16:03 +02:00
</li>
</ul>
</div>
<div>
<ul>
<li class="flexrow item">
2022-08-14 10:10:26 +02:00
<label class="generic-label">Size</label>
2022-08-16 22:29:27 +02:00
<select class="competence-base flexrow" type="text" name="system.biodata.size" value="{{data.biodata.size}}" data-dtype="Number">
2022-08-14 10:10:26 +02:00
{{#select data.biodata.size}}
<option value="1">Tiny</option>
<option value="2">Small</option>
<option value="3">Medium</option>
<option value="4">Large</option>
<option value="5">Huge</option>
<option value="6">Gargantuan</option>
{{/select}}
</select>
2022-07-19 23:16:03 +02:00
</li>
<li class="flexrow item">
<label class="generic-label">Sex</label>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String" />
2022-07-19 23:16:03 +02:00
</li>
<li class="flexrow item">
<label class="generic-label">Preferred Hand</label>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.preferredhand" value="{{data.biodata.preferredhand}}"
2022-07-19 23:16:03 +02:00
data-dtype="String" />
</li>
<li class="flexrow item" data-item-id="{{race._id}}">
<label class="generic-label">Race</label>
<a class="item-edit"><img class="stat-icon" src="{{race.img}}"></a>
2022-08-16 22:29:27 +02:00
<input type="text" class="" name="system.biodata.racename" value="{{data.biodata.racename}}" data-dtype="String" />
2022-07-19 23:16:03 +02:00
</li>
</ul>
</div>
</div>
<hr>
<h3>Background : </h3>
<div class="form-group editor">
2022-08-16 22:29:27 +02:00
{{editor data.biodata.description target="system.biodata.description" button=true owner=owner
2022-07-19 23:16:03 +02:00
editable=editable}}
</div>
<hr>
<h3>Notes : </h3>
<div class="form-group editor">
2022-08-16 22:29:27 +02:00
{{editor data.biodata.notes target="system.biodata.notes" button=true owner=owner editable=editable}}
2022-07-19 23:16:03 +02:00
</div>
<hr>
</article>
</div>
</section>
</form>