forked from GitHub-Mirrors/foundry-sw5e
SotG Update #1.2
+ Adds Starship Features compendium ^ Adds major updates to Starship sheet and related item compendia ^ Adds Mechanist Technique to Archetypes compendium
This commit is contained in:
parent
e711ff0f7c
commit
14f4e06788
28 changed files with 767 additions and 69 deletions
|
@ -16,13 +16,13 @@
|
|||
|
||||
<ul class="summary">
|
||||
<li>
|
||||
<input style="width:150px;" type="text" name="data.deployment.value" value="{{data.deployment.value}}" placeholder="{{ localize 'SW5E.Deployment' }}"/>
|
||||
<input style="max-width:150px;" type="text" name="data.deployment.value" value="{{data.deployment.value}}" placeholder="{{ localize 'SW5E.Deployment' }}"/>
|
||||
</li>
|
||||
<li>
|
||||
<input style="width:250px;" type="text" name="data.featureType.value" value="{{data.featureType.value}}" />
|
||||
<input style="max-width:200px;" type="text" name="data.featureType.value" value="{{data.featureType.value}}" />
|
||||
</li>
|
||||
<li>
|
||||
<input style="width:120px;" type="text" name="data.rank.value" value="{{data.rank.value}}" placeholder="{{ localize 'SW5E.Rank' }}"/>
|
||||
<li>{{ localize "SW5E.Rank" }}
|
||||
<input style="max-width:150px;" type="text" name="data.rank.value" value="{{data.rank.value}}" placeholder="{{ localize 'SW5E.Rank' }}"/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -99,8 +99,8 @@
|
|||
<div class="form-group" style="width: 60%;">
|
||||
<strong style="color:#4b4a44; font-size: 11px">{{ localize "SW5E.CapacityMultiplier" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.capx.value" value="{{data.capx.value}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.HPperHD" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.hpperhd.value" value="{{data.hpperhd.value}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.DmgRed" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.attributes.dr" value="{{data.attributes.dr}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.RegenerationRateCoefficient" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.regrateco.value" value="{{data.regrateco.value}}" />
|
||||
</div>
|
||||
|
|
83
templates/items/starshipfeature.html
Normal file
83
templates/items/starshipfeature.html
Normal file
|
@ -0,0 +1,83 @@
|
|||
<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">
|
||||
<li>
|
||||
{{labels.featType}}
|
||||
</li>
|
||||
<li>
|
||||
<input style="max-width: 150px;" type="text" name="data.size" value="{{data.size}}" placeholder="{{ localize 'SW5E.Size' }}"/>
|
||||
</li>
|
||||
<li>Tier
|
||||
<input style="max-width: 50px;" type="text" name="data.tier" value="{{data.tier}}" placeholder="0"/>
|
||||
</li>
|
||||
<li>
|
||||
<input style="max-width: 150px;" type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
</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>
|
|
@ -47,34 +47,144 @@
|
|||
{{> "systems/sw5e/templates/items/parts/item-description.html"}}
|
||||
|
||||
{{!-- Details Tab --}}
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<h3 class="form-header">{{ localize "SW5E.ItemEquipmentDetails" }}</h3>
|
||||
|
||||
<h3 class="form-header">{{ localize "SW5E.FeatureUsage" }}</h3>
|
||||
{{!-- Equipment Type --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemEquipmentType" }}</label>
|
||||
<select name="data.armor.type">
|
||||
{{#select data.armor.type}}
|
||||
<option value=""></option>
|
||||
{{#each config.equipmentTypes as |name type|}}
|
||||
<option value="{{type}}">{{localize name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{!-- Item Activation Template --}}
|
||||
{{> "systems/sw5e/templates/items/parts/item-activation.html"}}
|
||||
{{#unless isMountable}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.Attunement"}}</label>
|
||||
<select name="data.attunement" data-dtype="Number">
|
||||
{{selectOptions config.attunements selected=data.attunement localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{!-- Recharge Requirement --}}
|
||||
{{#if data.activation.type}}
|
||||
<div class="form-group recharge">
|
||||
<label>{{ localize "SW5E.FeatureActionRecharge" }}</label>
|
||||
{{!-- Equipment Status --}}
|
||||
<div class="form-group stacked">
|
||||
<label>{{ localize "SW5E.ItemEquipmentStatus" }}</label>
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="data.proficient" {{checked data.proficient}}/> {{ localize "SW5E.Proficient" }}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="data.equipped" {{checked data.equipped}}/> {{ localize "SW5E.Equipped" }}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="data.identified" {{checked data.identified}}/> {{ localize "SW5E.Identified" }}
|
||||
</label>
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
{{!-- Armor Properties --}}
|
||||
<div class="form-group stacked armor-properties">
|
||||
<label>{{ localize "SW5E.ArmorProperties" }}</label>
|
||||
{{#each config.armorPropertiesTypes as |name prop|}}
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="data.properties.{{prop}}" {{checked (lookup ../data.properties prop)}}/> {{ name }}
|
||||
</label>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
{{!-- Starship Armor and Shield Properties --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.StarshipArmorandShieldProps" }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group" style="width: 60%;">
|
||||
<strong style="color:#4b4a44; font-size: 11px">{{ localize "SW5E.CapacityMultiplier" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.capx.value" value="{{data.capx.value}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.DmgRed" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.attributes.dr" value="{{data.attributes.dr}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.RegenerationRateCoefficient" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.regrateco.value" value="{{data.regrateco.value}}" />
|
||||
</div>
|
||||
|
||||
{{!-- Starship Equipment Properties --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.StarshipEquipmentProps" }}</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group" style="width: 100%;">
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.CentStorageCapacity" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.cscap.value" value="{{data.cscap.value}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.SysStorageCapacity" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.sscap.value" value="{{data.sscap.value}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.FuelCostsMod" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.fuelcostsmod.value" value="{{data.fuelcostsmod.value}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.PowerDiceRecovery" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.powdicerec.value" value="{{data.powdicerec.value}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.HyperdriveClass" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.hdclass.value" value="{{data.hdclass.value}}" />
|
||||
</div>
|
||||
|
||||
{{!-- Armor Class --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ArmorClass" }}</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>
|
||||
<input type="text" name="data.armor.value" value="{{data.armor.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#unless isMountable}}
|
||||
{{!-- Dexterity Modifier --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemEquipmentDexMod" }}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" name="data.armor.dex" value="{{data.armor.dex}}" data-dtype="Number" placeholder="{{ localize 'SW5E.Unlimited' }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Required Strength --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemRequiredStr" }}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" name="data.strength" value="{{data.strength}}" data-dtype="Number" placeholder="{{ localize 'SW5E.None' }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Stealth Disadvantage --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemEquipmentStealthDisav" }}</label>
|
||||
<input type="checkbox" name="data.stealth" value="1" {{checked data.stealth}}/>
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
{{#if isMountable}}
|
||||
{{> 'systems/sw5e/templates/items/parts/item-mountable.html'}}
|
||||
<div class="form-group">
|
||||
<label>{{localize 'SW5E.Speed'}}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" name="data.speed.value" value="{{data.speed.value}}"
|
||||
placeholder="0" data-dtype="Number">
|
||||
<span class="sep">{{localize 'SW5E.FeetAbbr'}}</span>
|
||||
<input type="text" name="data.speed.conditions"
|
||||
value="{{data.speed.conditions}}">
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<h3 class="form-header">{{ localize "SW5E.FeatureAttack" }}</h3>
|
||||
<h3 class="form-header">{{ localize "SW5E.ItemEquipmentUsage" }}</h3>
|
||||
|
||||
{{!-- Item Activation Template --}}
|
||||
{{> "systems/sw5e/templates/items/parts/item-activation.html"}}
|
||||
|
||||
<h3 class="form-header">{{ localize "SW5E.ItemEquipmentAction" }}</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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue