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}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue