forked from GitHub-Mirrors/foundry-sw5e

+ Adds compendia for Deployments, Deployment Features, Starship Armor, Starship Equipment, Starship Weapons, and Ventures and associated artwork + Adds Starship actor sheet (very, very rough draft, somewhat unpredictable, not fully functional) + Adds function to Character sheet to collapse/expand Feature tab rows (major assist from Cyr) + Adds function to Character sheet to increment/decrement class levels directly from character sheet (another major assist from Cyr)
85 lines
3.6 KiB
HTML
85 lines
3.6 KiB
HTML
<form class="{{cssClass}} flexcol" autocomplete="off">
|
|
|
|
{{!-- Item Sheet Header --}}
|
|
<header class="sheet-header flexrow">
|
|
<img class="profile" src="{{item.img}}" title="{{item.name}}" data-edit="img"/>
|
|
|
|
<div class="header-details flexrow">
|
|
<h1 class="charname">
|
|
<input name="name" type="text" value="{{item.name}}" placeholder="{{ localize 'SW5E.ItemName' }}"/>
|
|
</h1>
|
|
|
|
<div class="item-subtitle">
|
|
<h4 class="item-type">{{itemType}}</h4>
|
|
<span class="item-status">{{itemStatus}}</span>
|
|
</div>
|
|
|
|
<ul class="summary" style="line-height: 24px; height: 24px;">
|
|
<li style="padding: 5px; line-height: 16px; height: 16px; font-size: 16px; align: center;">
|
|
<strong>System:</strong> {{data.system.value}}
|
|
</li>
|
|
<li style="padding: 5px; line-height: 16px; height: 16px; font-size: 16px; align: center;">
|
|
<strong>Grade:</strong> {{data.grade.value}}
|
|
</li>
|
|
<li style="padding: 5px; line-height: 16px; height: 16px; font-size: 16px; align: center;">
|
|
<strong>Base Cost:</strong> {{data.basecost.value}} cr
|
|
</li>
|
|
</ul>
|
|
<ul class="summary" style="line-height: 24px; height: 24px;">
|
|
<li style="padding: 5px; font-size: 16px; line-height: 16px; height: 16px; align: center;">
|
|
<strong>Prerequisites:</strong> {{data.prerequisites.value}}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Item Sheet Navigation --}}
|
|
<nav class="sheet-navigation tabs" data-group="primary">
|
|
<a class="item active" data-tab="description">{{ localize "SW5E.Description" }}</a>
|
|
<a class="item" data-tab="details">{{ localize "SW5E.Details" }}</a>
|
|
<a class="item" data-tab="effects">{{ localize "SW5E.Effects" }}</a>
|
|
</nav>
|
|
|
|
{{!-- Item Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Description Tab --}}
|
|
{{> "systems/sw5e/templates/items/parts/item-description.html"}}
|
|
|
|
{{!-- Details Tab --}}
|
|
<div class="tab details" data-group="primary" data-tab="details">
|
|
|
|
<h3 class="form-header">{{ localize "SW5E.FeatureUsage" }}</h3>
|
|
|
|
{{!-- Item Activation Template --}}
|
|
{{> "systems/sw5e/templates/items/parts/item-activation.html"}}
|
|
|
|
{{!-- Recharge Requirement --}}
|
|
{{#if data.activation.type}}
|
|
<div class="form-group recharge">
|
|
<label>{{ localize "SW5E.FeatureActionRecharge" }}</label>
|
|
<div class="form-fields">
|
|
<span>{{ localize "SW5E.FeatureRechargeOn" }}</span>
|
|
<input type="text" name="data.recharge.value" value="{{data.recharge.value}}"
|
|
data-dtype="Number" placeholder="{{ localize 'SW5E.FeatureRechargeResult' }}"/>
|
|
<label class="checkbox">
|
|
{{ localize "SW5E.Charged" }}
|
|
<input type="checkbox" name="data.recharge.charged" {{checked data.recharge.charged}}/>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<h3 class="form-header">{{ localize "SW5E.FeatureAttack" }}</h3>
|
|
|
|
{{!-- Item Action Template --}}
|
|
{{> "systems/sw5e/templates/items/parts/item-action.html"}}
|
|
</div>
|
|
|
|
{{!-- Effects Tab --}}
|
|
<div class="tab effects flexcol" data-group="primary" data-tab="effects">
|
|
{{> "systems/sw5e/templates/actors/parts/active-effects.html"}}
|
|
</div>
|
|
|
|
</section>
|
|
</form>
|