forked from GitHub-Mirrors/foundry-sw5e
SotG Update #1
+ 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)
This commit is contained in:
parent
3297d9bd8c
commit
c793949b37
57 changed files with 1682 additions and 70 deletions
|
@ -19,8 +19,12 @@
|
|||
{{#if ../owner}}
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.FeatureAdd'}}"
|
||||
{{#each section.dataset as |v k|}}data-{{k}}="{{v}}" {{/each}}>
|
||||
<i class="fas fa-plus"></i> {{localize "SW5E.Add"}}
|
||||
</a>
|
||||
<i class="fas fa-plus"></i> {{localize "SW5E.Add"}}
|
||||
</a>
|
||||
<a class="item-control item-collapse" title="{{localize 'SW5E.FeatureCollapse'}}"
|
||||
{{#each section.dataset as |v k|}}data-{{k}}="{{v}}" {{/each}}>
|
||||
<i class="fas fa-compress-arrows-alt"></i> {{localize "SW5E.Collapse"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if section.hasActions}}
|
||||
|
@ -30,7 +34,7 @@
|
|||
|
||||
|
||||
</div>
|
||||
<ol class="item-list">
|
||||
<ol class="item-list content" style="display: block">
|
||||
{{#each section.items as |item iid|}}
|
||||
<li class="item group-grid-features {{#if isDepleted}}depleted{{/if}}" data-item-id="{{item._id}}">
|
||||
<div class="item-name rollable">
|
||||
|
@ -57,11 +61,18 @@
|
|||
</div>
|
||||
|
||||
{{else if section.isClass}}
|
||||
<div class="item-detail player-class">
|
||||
{{item.data.archetype}}
|
||||
<div class="item-detail player-class"><strong>HD:</strong>
|
||||
<input style="width:50px;" name="hitdice" type="text" value="{{item.data.hitDice}}" placeholder="{{ localize 'SW5E.HitDice' }}"/>
|
||||
<!-- {{item.data.hitDice}} -->
|
||||
</div>
|
||||
<div class="item-detail player-class-levels">
|
||||
Level {{item.data.levels}}
|
||||
<strong>Level {{item.data.levels}}</strong> <a class="increment-class-level"><i style="color:#c40f0f; text-shadow: 0px 1px 2px gray;" class="fas fa-arrow-up"></i></a> <a class="decrement-class-level"><i style="color:#c40f0f; text-shadow: 0px 1px 2px gray" class="fas fa-arrow-down"></i></a>
|
||||
<!-- {{#if ../owner}}
|
||||
<a class="item-control item-create" title="{{localize 'SW5E.LevelAdd'}}"
|
||||
{{#each item.data.levels as |v k|}}data-{{k}}="{{v}}" {{/each}}>
|
||||
<i class="fas fa-arrow-up"></i> {{localize "SW5E.Up"}}
|
||||
</a>
|
||||
{{/if}} -->
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
169
templates/actors/newActor/starship.html
Normal file
169
templates/actors/newActor/starship.html
Normal file
|
@ -0,0 +1,169 @@
|
|||
<form class="{{cssClass}} swalt-sheet" autocomplete="off">
|
||||
|
||||
{{!-- Starship Sheet Header --}}
|
||||
<header class="panel">
|
||||
<img class="profile" src="{{actor.img}}" title="{{actor.name}}" data-edit="img" />
|
||||
<h1 class="character-name">
|
||||
<input name="name" type="text" value="{{actor.name}}" placeholder="{{ localize 'SW5E.Name' }}" />
|
||||
</h1>
|
||||
<div class="level-experience">
|
||||
<div class="charlevel">
|
||||
{{ localize "SW5E.StarshipTier" }}
|
||||
<input name="data.details.tier" type="text" value="{{labels.cr}}" placeholder="0" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="summary">
|
||||
<!-- <input type="text" name="data.traits.size" value="{{data.traits.size}}"
|
||||
placeholder="{{lookup config.actorSizes data.traits.size}}" style="text-transform: capitalize;" /> -->
|
||||
<span class="summary-input" style="text-transform: capitalize;font-family: 'Russo One';display: inline; height: auto; font-size: 17px; font-weight: 400; letter-spacing: 0.5px; line-height: 24px; color: #4f4f4f;">{{lookup config.actorSizes data.traits.size}}</span>
|
||||
<input type="text" name="data.details.role" value="{{data.details.role}}"
|
||||
placeholder="{{ localize 'SW5E.Role' }}" />
|
||||
<!-- <input type="text" name="data.details.type" value="{{data.details.type}}"
|
||||
placeholder="{{ localize 'SW5E.Type' }}" /> -->
|
||||
<input type="text" name="data.details.source" value="{{data.details.source}}"
|
||||
placeholder="{{ localize 'SW5E.Source' }}" />
|
||||
</div>
|
||||
<div class="attributes">
|
||||
{{!-- ARMOR CLASS --}}
|
||||
<section style="box-sizing: border-box; width: 150px;">
|
||||
<h1>{{ localize "SW5E.ArmorClass" }}</h1>
|
||||
<div class="attribute-value">
|
||||
<input class="ac-display" name="data.attributes.ac.value" type="text"
|
||||
value="{{data.attributes.ac.value}}" data-dtype="Number" placeholder="10" />
|
||||
</div>
|
||||
<footer class="attribute-footer proficiency">
|
||||
{{ localize "SW5E.Proficiency" }}
|
||||
{{numberFormat data.attributes.prof decimals=0 sign=true}}
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
{{!-- HIT POINTS --}}
|
||||
<section class="attribute health" style="box-sizing: border-box; width: 150px;">
|
||||
<h1 class="attribute-name rollable">{{ localize "SW5E.HullPoints" }}</h1>
|
||||
<div class="attribute-value multiple">
|
||||
<input name="data.attributes.hp.value" type="text" value="{{data.attributes.hp.value}}"
|
||||
data-dtype="Number" class="value-number" />
|
||||
<span class="value-separator">/</span>
|
||||
<input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}"
|
||||
data-dtype="Number" class="value-number" />
|
||||
</div>
|
||||
<footer class="attribute-footer hit-points">
|
||||
<input name="data.attributes.hp.formula" class="hpformula" type="text"
|
||||
placeholder="{{ localize 'SW5E.HullPointsFormula' }}" value="{{data.attributes.hp.formula}}" style="min-width: 150px;" />
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
{{!-- SHIELD POINTS --}}
|
||||
<section class="attribute health" style="box-sizing: border-box; width: 150px;">
|
||||
<h1 class="attribute-name rollable">{{ localize "SW5E.ShieldPoints" }}</h1>
|
||||
<div class="attribute-value multiple">
|
||||
<input name="data.attributes.hp.temp" type="text" value="{{data.attributes.hp.temp}}"
|
||||
data-dtype="Number" placeholder="10" class="value-number" />
|
||||
<span class="value-separator">/</span>
|
||||
<input name="data.attributes.hp.tempmax" type="text" value="{{data.attributes.hp.tempmax}}"
|
||||
data-dtype="Number" placeholder="10" class="value-number" />
|
||||
</div>
|
||||
<footer class="attribute-footer hit-points">
|
||||
<input name="data.attributes.sp.formula" class="hpformula" type="text"
|
||||
placeholder="{{ localize 'SW5E.ShieldPointsFormula' }}" value="{{data.attributes.sp.formula}}" style="min-width: 150px;" />
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
<section style="box-sizing: border-box; width: 150px;">
|
||||
<h1>{{ localize "SW5E.Movement" }}
|
||||
<a class="config-button" data-action="movement" title="{{localize 'SW5E.MovementConfig'}}"><i class="fas fa-cog"></i></a>
|
||||
</h1>
|
||||
<div class="attribute-value">
|
||||
<span>{{movement.primary}}</span>
|
||||
</div>
|
||||
<footer class="attribute-footer">
|
||||
<span>{{movement.special}}</span>
|
||||
</footer>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
{{!-- NPC Sheet Navigation --}}
|
||||
<nav class="sheet-navigation root-tabs" data-group="primary">
|
||||
<button class="item active" data-tab="attributes">{{ localize "SW5E.Attributes" }}</button>
|
||||
<button class="item" data-tab="features">{{ localize "SW5E.Features" }}</button>
|
||||
<button class="item" data-tab="effects">{{ localize "SW5E.Effects" }}</button>
|
||||
</nav>
|
||||
|
||||
{{!-- NPC Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<section class="tab attributes core" data-group="primary" data-tab="attributes">
|
||||
<section class="panel abilities">
|
||||
{{!-- Ability Scores --}}
|
||||
<section class="scores">
|
||||
<h1>{{localize "SW5E.AbilityScores" }}</h1>
|
||||
<ol>
|
||||
{{#each data.abilities as |ability id|}}
|
||||
<li class="ability {{#if ability.proficient}}proficient{{/if}}" data-ability="{{id}}">
|
||||
<h2 class="ability-name rollable">{{ability.label}}</h4>
|
||||
<input class="ability-score" name="data.abilities.{{id}}.value" type="text"
|
||||
value="{{ability.value}}" data-dtype="Number" placeholder="10" />
|
||||
<div class="ability-modifiers">
|
||||
<span class="ability-mod"
|
||||
title="Modifier">{{numberFormat ability.mod decimals=0 sign=true}}</span>
|
||||
<input type="hidden" name="data.abilities.{{id}}.proficient"
|
||||
value="{{ability.proficient}}" data-dtype="Number" />
|
||||
<button class="proficiency-toggle ability-proficiency"
|
||||
title="Proficiency">{{{ability.icon}}}</button>
|
||||
<span class="ability-save"
|
||||
title="Saving Throw">{{numberFormat ability.save decimals=0 sign=true}}</span>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
</section>
|
||||
{{!-- Skills --}}
|
||||
<section class="skills">
|
||||
<h1>{{localize "SW5E.Skills"}}</h1>
|
||||
<ol>
|
||||
{{#each CONFIG.starshipSkills as |skill s|}}
|
||||
<li class="skill {{#if skill.value}}proficient{{/if}}" data-skill="{{s}}">
|
||||
<input type="hidden" name="data.skills.{{s}}.value" value="{{skill.value}}"
|
||||
data-dtype="Number" />
|
||||
<button class="proficiency-toggle skill-proficiency"
|
||||
title="{{skill.hover}}">{{{skill.icon}}}</button>
|
||||
<span class="skill-name rollable">{{skill.label}}</span>
|
||||
<span class="skill-ability">{{skill.ability}}</span>
|
||||
<span class="skill-mod">{{numberFormat skill.total decimals=0 sign=true}}</span>
|
||||
{{!-- <input class="skill-bonus" name="data.skills.{{s}}.bonus" type="text" value="{{numberFormat skill.bonus decimals=0 sign=true}}" data-dtype="Number" placeholder="0" title="Misc. Modifier"/> --}}
|
||||
{{!-- <span class="skill-passive">({{skill.passive}})</span> --}}
|
||||
</li>
|
||||
{{/each}}
|
||||
</ol>
|
||||
</section>
|
||||
</section>
|
||||
<section class="panel traits-resources">
|
||||
|
||||
<div class="traits">
|
||||
<label>
|
||||
{{localize "SW5E.Size"}}
|
||||
<select class="actor-size" name="data.traits.size">
|
||||
{{#select data.traits.size}}
|
||||
{{#each config.actorSizes as |label size|}}
|
||||
<option value="{{size}}">{{label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
{{!-- Features Tab --}}
|
||||
<div class="tab features flexcol" data-group="primary" data-tab="features">
|
||||
{{> "systems/sw5e/templates/actors/newActor/parts/swalt-features.html" sections=features}}
|
||||
</div>
|
||||
|
||||
{{!-- Effects Tab --}}
|
||||
<div class="tab effects flexcol" data-group="primary" data-tab="effects">
|
||||
{{> "systems/sw5e/templates/actors/newActor/parts/swalt-active-effects.html"}}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
123
templates/items/deployment.html
Normal file
123
templates/items/deployment.html
Normal file
|
@ -0,0 +1,123 @@
|
|||
<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.DeploymentName' }}"/>
|
||||
</h1>
|
||||
|
||||
<div class="item-subtitle">
|
||||
<h4 class="item-type">{{itemType}}</h4>
|
||||
<span class="item-status">{{itemStatus}}</span>
|
||||
</div>
|
||||
|
||||
<ul class="summary flexrow">
|
||||
<li>
|
||||
<input 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>
|
||||
</nav>
|
||||
|
||||
{{!-- Item Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Description Tab --}}
|
||||
<div class="tab flexrow active" data-group="primary" data-tab="description">
|
||||
{{editor content=data.flavorText target="data.flavorText" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
{{!-- Details Tab --}}
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
{{!-- Class Levels Table and Features --}}
|
||||
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<!-- {{{data.classFeatures.value}}} -->
|
||||
<!--
|
||||
{{!-- Class Levels --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ClassLevels" }}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" name="data.levels" value="{{data.levels}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Archetype Name --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ArchetypeName" }}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" name="data.archetype" value="{{data.archetype}}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Class Hit Dice --}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.HitDice"}}</label>
|
||||
<div class="form-fields">
|
||||
<select name="data.hitDice">
|
||||
{{#select data.hitDice}}
|
||||
{{#each config.hitDieTypes}}
|
||||
<option value="{{this}}">{{this}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.HitDiceUsed"}}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" placeholder="0" name="data.hitDiceUsed" value="{{data.hitDiceUsed}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{localize 'SW5E.PowerProgression'}}</label>
|
||||
<div class="form-fields">
|
||||
<select name="data.powercasting">
|
||||
{{#select data.powercasting}}
|
||||
{{#each config.powerProgression}}
|
||||
<option value="{{@key}}">{{localize this}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Level 1 skills --}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.ClassSkillsNumber"}}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" placeholder="0" name="data.skills.number" value="{{data.skills.number}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>
|
||||
{{localize "SW5E.ClassSkillsChosen"}}
|
||||
{{#if editable }}
|
||||
<a class="trait-selector class-skills" data-target="data.skills" data-options="skills">
|
||||
<i class="fas fa-edit"></i></a>
|
||||
{{/if}}
|
||||
</label>
|
||||
<div class="form-fields">
|
||||
<ul class="traits-list">
|
||||
{{#each data.skills.value}}
|
||||
<li class="tag {{this}}">{{lookup ../config.skills this}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</section>
|
||||
</form>
|
80
templates/items/deploymentfeature.html
Normal file
80
templates/items/deploymentfeature.html
Normal file
|
@ -0,0 +1,80 @@
|
|||
<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>
|
||||
<input style="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}}" />
|
||||
</li>
|
||||
<li>
|
||||
<input style="width:120px;" type="text" name="data.rank.value" value="{{data.rank.value}}" placeholder="{{ localize 'SW5E.Rank' }}"/>
|
||||
</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>
|
|
@ -91,6 +91,38 @@
|
|||
{{/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.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.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>
|
||||
|
|
|
@ -16,6 +16,12 @@
|
|||
<label>{{ localize "SW5E.Price" }}</label>
|
||||
<input type="text" name="data.price" value="{{data.price}}" data-dtype="Number"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.WeaponSizeAbb" }}</label>
|
||||
<!-- <input type="text" name="data.weaponSize" value="{{data.weaponSize}}" data-dtype="String"/> -->
|
||||
{{data.weaponSize}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<ol class="properties-list">
|
||||
|
|
85
templates/items/starshipmod.html
Normal file
85
templates/items/starshipmod.html
Normal file
|
@ -0,0 +1,85 @@
|
|||
<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>
|
47
templates/items/venture.html
Normal file
47
templates/items/venture.html
Normal file
|
@ -0,0 +1,47 @@
|
|||
<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>
|
||||
</div>
|
||||
|
||||
<ul class="summary">
|
||||
<li>
|
||||
<input type="text" name="data.source.value" value="{{data.source.value}}" 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="effects">{{ localize "SW5E.Effects" }}</a>
|
||||
<!-- <a class="item" data-tab="details">{{ localize "SW5E.Details" }}</a> -->
|
||||
</nav>
|
||||
|
||||
{{!-- Item Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Description Tab --}}
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
<h3>{{item.name}}</h3>
|
||||
{{editor content=data.description.value target="data.description.value" button=true editable=editable}}
|
||||
|
||||
</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>
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
|
||||
<ul class="summary flexrow">
|
||||
<li>
|
||||
<li style="flex-basis: 80px;">
|
||||
{{lookup config.weaponTypes data.weaponType }}
|
||||
</li>
|
||||
<li>
|
||||
|
@ -56,7 +56,20 @@
|
|||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Starship Weapon Size --}}
|
||||
<!-- <div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemWeaponSize" }}</label>
|
||||
<select name="data.weaponSize">
|
||||
<option value="" selected disabled>Select Size</option>
|
||||
{{#select data.weaponSize}}
|
||||
{{#each config.weaponSizes as |name size|}}
|
||||
<option value="{{size}}">{{name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div> -->
|
||||
|
||||
{{#unless isMountable}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.Attunement"}}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue