fvtt-dark-stars/templates/actors/actor-sheet.hbs

585 lines
26 KiB
Handlebars
Raw Normal View History

2022-11-27 08:58:19 +01:00
<form class="{{cssClass}}" autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields">
<div class="flexrow">
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="flexcol">
2022-12-30 22:27:38 +01:00
<h1 class="charname margin-right"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
2022-11-27 08:58:19 +01:00
</div>
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
2022-12-30 22:27:38 +01:00
<a class="item" data-tab="main">Main</a>
2022-11-27 08:58:19 +01:00
<a class="item" data-tab="skills">Skills</a>
2023-01-02 14:54:59 +01:00
<a class="item" data-tab="perks">Perks</a>
2022-11-27 08:58:19 +01:00
<a class="item" data-tab="combat">Combat</a>
<a class="item" data-tab="equipment">Equipment</a>
<a class="item" data-tab="biodata">Biography</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
2022-12-30 22:27:38 +01:00
{{!-- Skills Tab --}}
<div class="tab main" data-group="primary" data-tab="main">
<div class="flexrow">
<ul class="stat-list alternate-list item-list">
{{#each system.attributes as |attr key|}}
<li class="item stat flexrow list-item list-item-shadow">
<label class="item-field-label-medium">{{attr.label}}</label>
<input type="text" class="item-field-label-short padd-right" name="system.attributes.{{key}}.value" value="{{attr.value}}" data-dtype="Number"/>
{{/each}}
</li>
</ul>
<ul class="stat-list alternate-list item-list">
{{#each system.derivated as |deriv key|}}
<li class="item stat flexrow list-item list-item-shadow">
<label class="item-field-label-medium">{{deriv.label}}</label>
<label class="item-field-label-short">{{deriv.value}}</label>
<input type="text" class="item-field-label-short padd-right" name="system.derivated.{{key}}.bonus" value="{{deriv.bonus}}" data-dtype="Number"/>
{{/each}}
</li>
</ul>
<ul class="stat-list alternate-list item-list">
{{#each system.secondary as |second key|}}
<li class="item stat flexrow list-item list-item-shadow">
<label class="item-field-label-medium">{{second.label}}</label>
<input type="text" class="item-field-label-short padd-right" name="system.secondary.{{key}}.value" value="{{second.value}}" data-dtype="Number"/>
{{#if second.maxeditable}}
<label class="item-field-label-short">&nbsp;/&nbsp;</label>
<input type="text" class="item-field-label-short padd-right" name="system.secondary.{{key}}.max" value="{{second.max}}" data-dtype="Number"/>
{{else}}
<label class="item-field-label-short">&nbsp;/&nbsp;{{second.max}}</label>
{{/if}}
<input type="text" class="item-field-label-short padd-right" name="system.secondary.{{key}}.bonus" value="{{second.bonus}}" data-dtype="Number"/>
{{/each}}
</li>
2023-04-14 17:01:29 +02:00
<li class="item stat flexrow list-item list-item-shadow">
<label class="item-field-label-medium">Rerolls : </label>
<input type="text" class="item-field-label-short padd-right" name="system.various.rerolls.value" value="{{system.various.rerolls.value}}" data-dtype="Number"/>
</li>
2022-12-30 22:27:38 +01:00
</ul>
</div>
</div>
2022-11-27 08:58:19 +01:00
{{!-- Skills Tab --}}
<div class="tab skills" data-group="primary" data-tab="skills">
2022-12-30 22:27:38 +01:00
<ul class="alternate-list item-list">
2022-11-27 08:58:19 +01:00
<li class="item flexrow list-item items-title-bg">
2022-12-30 22:27:38 +01:00
<span class="item-name-label-header-long2">
2022-11-27 08:58:19 +01:00
<h3><label class="items-title-text">Skills</label></h3>
</span>
2022-12-31 10:22:49 +01:00
<span class="item-field-label-medium">
<label class="short-label">Base</label>
</span>
2022-12-30 22:27:38 +01:00
<span class="item-field-label-long">
<label class="short-label">Derivated</label>
2022-11-27 08:58:19 +01:00
</span>
2022-12-30 22:27:38 +01:00
<span class="item-field-label-medium">
<label class="short-label">Bonus</label>
2022-11-27 08:58:19 +01:00
</span>
2022-12-30 22:27:38 +01:00
<span class="item-field-label-medium">
<label class="short-label">Total</label>
</span>
2022-12-31 10:22:49 +01:00
<span class="item-field-label-medium">
<label class="short-label">Used?</label>
</span>
2022-12-30 22:27:38 +01:00
<span class="item-field-label-medium">
<label class="short-label">&nbsp;</label>
2022-11-27 08:58:19 +01:00
</span>
</li>
{{#each skills as |skill key|}}
2022-12-30 22:27:38 +01:00
<li class="item 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>
<span class="item-field-label-vlong2"><a class="roll-skill">{{skill.name}}</a></span>
2022-12-31 10:22:49 +01:00
<span class="item-field-label-medium">{{skill.system.value}}</span>
2022-12-30 22:27:38 +01:00
<span class="item-field-label-long">{{skill.derivated.label}} ({{skill.derivated.value}})</span>
<span class="item-field-label-medium">{{skill.system.bonus}}</span>
2022-12-31 10:22:49 +01:00
<span class="item-field-label-medium">{{skill.total}}%</span>
<label class="attribute-value checkbox"><input type="checkbox" class="skill-used-id" {{checked skill.system.used}}/></label>
2022-11-27 08:58:19 +01:00
<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>
2022-12-30 22:27:38 +01:00
2022-11-27 08:58:19 +01:00
</div>
2023-01-02 14:54:59 +01:00
{{!-- Perks Tab --}}
<div class="tab perks" data-group="primary" data-tab="perks">
<ul class="alternate-list item-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header-long2">
<h3><label class="items-title-text">Perks</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">&nbsp;</label>
</span>
</li>
{{#each perks as |perk key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{perk._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{perk.img}}" />
</a>
<span class="item-field-label-vlong2">{{perk.name}}</span>
<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-11-27 08:58:19 +01:00
{{!-- Combat Tab --}}
<div class="tab combat" data-group="primary" data-tab="combat">
<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">
<h3><label class="items-title-text">Weapons</label></h3>
</span>
<span class="item-field-label-short">
2023-04-14 17:01:29 +02:00
<label class="short-label">Type</label>
</span>
<span class="item-field-label-long">
<label class="short-label">Skill</label>
2022-11-27 08:58:19 +01:00
</span>
<span class="item-field-label-medium">
2023-04-14 17:01:29 +02:00
<label class="short-label">Damage</label>
2022-11-27 08:58:19 +01:00
</span>
</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>
<span class="item-name-label-long"><a class ="roll-weapon">{{weapon.name}}</a></span>
2023-04-14 17:01:29 +02:00
<span class="item-field-label-short">{{upperFirst weapon.system.weapontype}}</span>
2022-11-27 08:58:19 +01:00
2023-04-14 17:01:29 +02:00
<span class="item-field-label-long">{{weapon.system.skill}}</span>
2022-11-27 08:58:19 +01:00
2023-04-14 17:01:29 +02:00
<span class="item-field-label-long">{{weapon.system.damage}}</span>
2022-11-27 08:58:19 +01: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>
{{!-- Lore Tab --}}
<div class="tab lore" data-group="primary" data-tab="lore">
<div class="flexcol">
<ul class="stat-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Lore</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">Lore</label>
</span>
<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>
</li>
{{#each spells as |spell key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{spell._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{spell.img}}" /></a>
<span class="item-name-label">
<a class="power-roll">{{spell.name}}</a>
</span>
2023-04-14 17:01:29 +02:00
<span class="item-field-label-medium">{{spell.system.lore}}</span>
<span class="item-field-label-short">{{spell.system.circle}}</span>
<span class="item-field-label-medium">{{spell.system.range}}</span>
2022-11-27 08:58:19 +01: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>
{{!-- 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>
{{money.system.quantity}}
(<a class="quantity-minus plus-minus-button"> -</a>/<a class="quantity-plus plus-minus-button">+</a>)
</label>
</span>
<span class="item-field-label-medium">
<label>{{money.system.weight}}</label>
</span>
<span class="item-field-label-medium">
{{#if money.system.idrDice}}
<a class="roll-idr" data-dice-value="{{money.data.idrDice}}">{{money.system.idrDice}}</a>
{{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>
2023-04-14 17:01:29 +02:00
<span class="item-field-label-short"><label>{{weapon.system.ability}}</label></span>
<span class="item-field-label-short"><label>{{weapon.system.damage}}</label></span>
2022-11-27 08:58:19 +01:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if weapon.system.equipped}}<i
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">
<label class="short-label">Type</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Absorption</label>
</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>
<span class="item-field-label-short">{{upper armor.system.armortype}}</span>
<span class="item-field-label-short">{{armor.system.absorprionroll}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if armor.system.equipped}}<i
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>
<span class="item-field-label-short">{{shield.system.levelDice}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if shield.system.equipped}}<i
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>
2023-10-10 13:04:14 +02:00
<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">Cyber</label></h3>
</span>
2023-10-15 14:48:11 +02:00
<span class="item-field-label-medium">
<label class="short-label">Location</label>
</span>
2023-10-10 13:04:14 +02:00
<span class="item-field-label-medium">
<label class="short-label">SP</label>
</span>
<span class="item-field-label-medium">
2023-10-15 14:48:11 +02:00
<label class="short-label">HUP</label>
2023-10-10 13:04:14 +02:00
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="cyber" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each cybers as |cyber key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{cyber._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{cyber.img}}" /></a>
<span class="item-name-label">{{cyber.name}}</span>
2023-10-15 14:48:11 +02:00
<span class="item-field-label-medium">{{cyber.system.upgradelocation}}</span>
2023-10-10 13:04:14 +02:00
<span class="item-field-label-medium">{{cyber.system.sp}}</span>
2023-10-15 14:48:11 +02:00
<span class="item-field-label-medium">{{cyber.system.hup}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if cyber.system.equipped}}<i
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">Genetics</label></h3>
</span>
<span class="item-field-label-medium">
<label class="short-label">Location</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">SP</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">HUP</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="genetic" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each genetics as |cyber key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{cyber._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{cyber.img}}" /></a>
<span class="item-name-label">{{cyber.name}}</span>
<span class="item-field-label-medium">{{cyber.system.upgradelocation}}</span>
<span class="item-field-label-medium">{{cyber.system.sp}}</span>
<span class="item-field-label-medium">{{cyber.system.hup}}</span>
2023-10-10 13:04:14 +02:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if cyber.system.equipped}}<i
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>
2022-11-27 08:58:19 +01:00
<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>
2023-10-15 14:48:11 +02:00
<span class="item-field-label-medium">
<label class="short-label">SP</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Running Time</label>
</span>
<span class="item-field-label-medium">
2022-11-27 08:58:19 +01:00
<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>
2023-10-15 14:48:11 +02:00
{{#each equipments as |equip key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{equip._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{equip.img}}" /></a>
<span class="item-name-label">{{equip.name}}</span>
<span class="item-field-label-medium">{{equip.system.sp}}</span>
<span class="item-field-label-medium">{{equip.system.runningtime}}</span>
<span class="item-field-label-medium">{{equip.system.quantity}}</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>
2022-11-27 08:58:19 +01:00
{{/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>
<input type="text" class="" name="system.biodata.origin" value="{{data.biodata.origin}}"
data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Age</label>
<input type="text" class="" name="system.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Height</label>
<input type="text" class="" name="system.biodata.height" value="{{data.biodata.height}}" data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Eyes</label>
<input type="text" class="" name="system.biodata.eyes" value="{{data.biodata.eyes}}" data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">Hair</label>
<input type="text" class="" name="system.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String" />
</li>
</ul>
</div>
<div>
<ul>
<li class="flexrow item">
<label class="generic-label">Size</label>
<select class="competence-base flexrow" type="text" name="system.biodata.size" value="{{data.biodata.size}}" data-dtype="Number">
{{#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>
</li>
<li class="flexrow item">
<label class="generic-label">Sex</label>
<input type="text" class="" name="system.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label">Preferred Hand</label>
<input type="text" class="" name="system.biodata.preferredhand" value="{{data.biodata.preferredhand}}"
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>
<input type="text" class="" name="system.biodata.racename" value="{{data.biodata.racename}}" data-dtype="String" />
</li>
</ul>
</div>
</div>
<hr>
<h3>Background : </h3>
<div class="form-group editor">
{{editor description target="system.biodata.description" button=true owner=owner
editable=editable}}
</div>
<hr>
<h3>Notes : </h3>
<div class="form-group editor">
{{editor notes target="system.biodata.notes" button=true owner=owner editable=editable}}
</div>
<hr>
</article>
</div>
</section>
</form>