mirror of
https://github.com/migatu/vtt_work.git
synced 2026-07-14 21:38:39 +00:00
aaa
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
<form class="voidship-sheet">
|
||||
<header class="sheet-header flexrow" style="align-items:center; gap:.5rem;">
|
||||
<img class="profile" src="{{actor.img}}" width="48" height="48"/>
|
||||
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}"/></h1>
|
||||
<div style="margin-left:auto; display:flex; gap:.5rem;">
|
||||
{{#if isVoidship}}
|
||||
<button type="button" data-action="configure-base"><i class="fas fa-cog"></i> Base</button>
|
||||
<button type="button" data-action="unmark-voidship"><i class="fas fa-times-circle"></i> Unmark</button>
|
||||
{{else}}
|
||||
<button type="button" data-action="mark-voidship"><i class="fas fa-star"></i> Mark as Voidship</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{#unless isVoidship}}
|
||||
<section class="warning" style="margin:.5rem 0; padding:.5rem; background:#531a1a; color:#fff; border:1px solid #aa4444;">
|
||||
This vehicle is not marked as a <b>Voidship</b>. Click <b>Mark as Voidship</b> to enable derived voidship stats.
|
||||
</section>
|
||||
{{/unless}}
|
||||
|
||||
<nav class="tabs" data-group="primary">
|
||||
<a class="item" data-tab="stats">Stats</a>
|
||||
<a class="item" data-tab="components">Components</a>
|
||||
</nav>
|
||||
|
||||
<section class="sheet-body">
|
||||
<div class="tab" data-group="primary" data-tab="stats">
|
||||
<div class="grid grid-2col" style="gap:.5rem;">
|
||||
<div class="card">
|
||||
<h3>Totals</h3>
|
||||
<ol class="properties">
|
||||
<li>{{cfg.labels.armour}}: <b>{{voidship.total.armour}}</b></li>
|
||||
<li>{{cfg.labels.integrity}}: <b>{{voidship.total.integrity}}</b></li>
|
||||
<li>{{cfg.labels.manoeuvre}}: <b>{{voidship.total.manoeuvre}}</b></li>
|
||||
<li>{{cfg.labels.detection}}: <b>{{voidship.total.detection}}</b></li>
|
||||
<li>{{cfg.labels.speed}}: <b>{{voidship.total.speed}}</b></li>
|
||||
<li>{{cfg.labels.spaceFree}}: <b>{{voidship.total.spaceFree}}</b></li>
|
||||
<li>{{cfg.labels.powerFree}}: <b>{{voidship.total.powerFree}}</b></li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h3>Slots</h3>
|
||||
<ol class="properties">
|
||||
<li>Prow: <b>{{voidship.slots.prow}}</b></li>
|
||||
<li>Dorsal: <b>{{voidship.slots.dorsal}}</b></li>
|
||||
<li>Port: <b>{{voidship.slots.port}}</b></li>
|
||||
<li>Starboard: <b>{{voidship.slots.starboard}}</b></li>
|
||||
<li>Keel: <b>{{voidship.slots.keel}}</b></li>
|
||||
<li>Other: <b>{{voidship.slots.other}}</b></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="grid grid-2col" style="gap:.5rem;">
|
||||
<div class="card">
|
||||
<h3>Base (flags)</h3>
|
||||
<ol class="properties">
|
||||
<li>{{cfg.labels.armour}}: <b>{{voidship.base.armour}}</b></li>
|
||||
<li>{{cfg.labels.integrity}}: <b>{{voidship.base.integrity}}</b></li>
|
||||
<li>{{cfg.labels.manoeuvre}}: <b>{{voidship.base.manoeuvre}}</b></li>
|
||||
<li>{{cfg.labels.detection}}: <b>{{voidship.base.detection}}</b></li>
|
||||
<li>{{cfg.labels.speed}}: <b>{{voidship.base.speed}}</b></li>
|
||||
<li>{{cfg.labels.space}}: <b>{{voidship.base.space}}</b></li>
|
||||
<li>{{cfg.labels.power}}: <b>{{voidship.base.power}}</b></li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h3>Mods (items)</h3>
|
||||
<ol class="properties">
|
||||
<li>{{cfg.labels.armour}}: <b>{{voidship.mods.armour}}</b></li>
|
||||
<li>{{cfg.labels.integrity}}: <b>{{voidship.mods.integrity}}</b></li>
|
||||
<li>{{cfg.labels.manoeuvre}}: <b>{{voidship.mods.manoeuvre}}</b></li>
|
||||
<li>{{cfg.labels.detection}}: <b>{{voidship.mods.detection}}</b></li>
|
||||
<li>{{cfg.labels.speed}}: <b>{{voidship.mods.speed}}</b></li>
|
||||
<li>{{cfg.labels.space}}: <b>{{voidship.mods.space}}</b></li>
|
||||
<li>{{cfg.labels.power}}: <b>{{voidship.mods.power}}</b></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab" data-group="primary" data-tab="components">
|
||||
<section>
|
||||
<p>Mounted items are read from the Actor's inventory. For best results, put per-component data in <code>item.system.voidship</code>:</p>
|
||||
<pre>{
|
||||
"slot": "Prow|Dorsal|Port|Starboard|Keel",
|
||||
"mods": { "armour":0, "integrity":0, "manoeuvre":0, "detection":0, "speed":0, "space":0, "power":0 },
|
||||
"use": { "space":0, "power":0 }
|
||||
}</pre>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
Reference in New Issue
Block a user