From d88fc6e658e6b252312647e80be5e0bf19a5fd0d Mon Sep 17 00:00:00 2001
From: CK <31608392+unrealkakeman89@users.noreply.github.com>
Date: Wed, 24 Jun 2020 14:25:23 -0400
Subject: [PATCH] Add files via upload
---
templates/actor/parts/actor-castbook.html | 123 +++++++++++++++++++++
templates/actor/parts/actor-features.html | 74 +++++++++++++
templates/actor/parts/actor-inventory.html | 106 ++++++++++++++++++
templates/actor/parts/actor-powerbook.html | 123 +++++++++++++++++++++
templates/actor/parts/actor-traits.html | 104 +++++++++++++++++
5 files changed, 530 insertions(+)
create mode 100644 templates/actor/parts/actor-castbook.html
create mode 100644 templates/actor/parts/actor-features.html
create mode 100644 templates/actor/parts/actor-inventory.html
create mode 100644 templates/actor/parts/actor-powerbook.html
create mode 100644 templates/actor/parts/actor-traits.html
diff --git a/templates/actor/parts/actor-castbook.html b/templates/actor/parts/actor-castbook.html
new file mode 100644
index 00000000..41c80f47
--- /dev/null
+++ b/templates/actor/parts/actor-castbook.html
@@ -0,0 +1,123 @@
+
+
+
{{localize "SW5E.CastAbility"}}
+
+ {{#if isNPC}}
+ {{localize "SW5E.CasterLevel"}}
+
+ {{/if}}
+ {{localize "SW5E.CastDC"}} {{data.attributes.castdc}}
+
+
+
+ - {{localize "SW5E.Filter"}}
+ - {{localize "SW5E.Action"}}
+ - {{localize "SW5E.BonusAction"}}
+ - {{localize "SW5E.Reaction"}}
+ - {{localize "SW5E.AbbreviationConc"}}
+ - {{localize "SW5E.Ritual"}}
+ - {{localize "SW5E.Prepared"}}{{#if preparedCasts}} ({{preparedCasts}}){{/if}}
+
+
+
+
+{{#each castbook as |section|}}
+
+
+
+ {{#each section.casts as |item i|}}
+ -
+
+
+
{{item.name}}
+ {{#if item.data.uses.value }}
+
Uses {{item.data.uses.value}} / {{item.data.uses.max}}
+ {{/if}}
+
+
+
+ {{#each labels.components}}
+ {{this}}
+ {{/each}}
+
+ {{labels.school}}
+ {{labels.activation}}
+
+ {{#if labels.target}}
+ {{labels.target}}
+ {{else}}None
+ {{/if}}
+
+
+
+ {{#if ../../owner}}
+
+ {{#if section.canPrepare}}
+
+ {{/if}}
+
+
+
+ {{/if}}
+
+ {{/each}}
+
+{{else}}
+ {{#if owner}}
+ {{#if filters.castbook.size}}
+ {{localize "SW5E.FilterNoCasts"}}
+ {{else}}
+
+ {{localize "SW5E.NoCastLevels"}}
+ {{/if}}
+ {{/if}}
+{{/each}}
+
diff --git a/templates/actor/parts/actor-features.html b/templates/actor/parts/actor-features.html
new file mode 100644
index 00000000..3e6c178b
--- /dev/null
+++ b/templates/actor/parts/actor-features.html
@@ -0,0 +1,74 @@
+
+
+ - {{localize "SW5E.Filter"}}
+ - {{localize "SW5E.Action"}}
+ - {{localize "SW5E.BonusAction"}}
+ - {{localize "SW5E.Reaction"}}
+
+
+
+
+{{#each sections as |section sid|}}
+
+
+
+ {{#each section.items as |item iid|}}
+ -
+
+
+ {{#if section.hasActions}}
+
+ {{#if item.isOnCooldown}}
+
{{item.labels.recharge}}
+ {{else if item.data.recharge.value}}
+ {{localize "SW5E.Charged"}}
+
+ {{else if item.hasUses}}
+
/ {{item.data.uses.max}}
+ {{/if}}
+
+
+
+ {{#if item.data.activation.type }}
+ {{item.labels.activation}}
+ {{/if}}
+
+
+ {{else if section.isClass}}
+
+ {{item.data.subclass}}
+
+
+ Level {{item.data.levels}}
+
+ {{/if}}
+
+ {{#if ../../owner}}
+
+ {{/if}}
+
+ {{/each}}
+
+{{/each}}
+
diff --git a/templates/actor/parts/actor-inventory.html b/templates/actor/parts/actor-inventory.html
new file mode 100644
index 00000000..f9b81c02
--- /dev/null
+++ b/templates/actor/parts/actor-inventory.html
@@ -0,0 +1,106 @@
+
+
+ {{#if isCharacter}}
+
+
+ {{localize "SW5E.Currency"}}
+
+
+ {{#each data.currency as |v k|}}
+
+
+ {{/each}}
+
+ {{/if}}
+
+
+ - {{localize "SW5E.Filter"}}
+ - {{localize "SW5E.Action"}}
+ - {{localize "SW5E.BonusAction"}}
+ - {{localize "SW5E.Reaction"}}
+ - {{localize "SW5E.Equipped"}}
+
+
+
+
+{{#each sections as |section sid|}}
+
+
+
+ {{#each section.items as |item iid|}}
+ -
+
+
+
+ {{item.name~}}
+ {{~#if item.isStack}} ({{item.data.quantity}}){{/if}}
+ {{~#if item.data.attuned}} {{/if}}
+
+
+
+ {{#if ../../isCharacter}}
+
+ {{#if item.totalWeight}}
+
+ {{ item.totalWeight }} {{localize "SW5E.AbbreviationLbs"}}
+
+ {{/if}}
+
+ {{/if}}
+
+
+ {{#if item.hasUses }}
+
+ / {{item.data.uses.max}}
+ {{/if}}
+
+
+
+ {{#if item.data.activation.type }}
+ {{item.labels.activation}}
+ {{/if}}
+
+
+ {{#if ../../owner}}
+
+ {{/if}}
+
+ {{/each}}
+
+{{/each}}
+
+
+
+{{#if isCharacter }}
+{{#with data.attributes.encumbrance}}
+
+
+ {{value}} / {{max}}
+
+
+
+
+
+{{/with}}
+{{/if}}
diff --git a/templates/actor/parts/actor-powerbook.html b/templates/actor/parts/actor-powerbook.html
new file mode 100644
index 00000000..dbd05381
--- /dev/null
+++ b/templates/actor/parts/actor-powerbook.html
@@ -0,0 +1,123 @@
+
+
+
{{localize "SW5E.PowerAbility"}}
+
+ {{#if isNPC}}
+ {{localize "SW5E.PowercasterLevel"}}
+
+ {{/if}}
+ {{localize "SW5E.PowerDC"}} {{data.attributes.powerdc}}
+
+
+
+ - {{localize "SW5E.Filter"}}
+ - {{localize "SW5E.Action"}}
+ - {{localize "SW5E.BonusAction"}}
+ - {{localize "SW5E.Reaction"}}
+ - {{localize "SW5E.AbbreviationConc"}}
+ - {{localize "SW5E.Ritual"}}
+ - {{localize "SW5E.Prepared"}}{{#if preparedPowers}} ({{preparedPowers}}){{/if}}
+
+
+
+
+{{#each powerbook as |section|}}
+
+
+
+ {{#each section.powers as |item i|}}
+ -
+
+
+
{{item.name}}
+ {{#if item.data.uses.value }}
+
Uses {{item.data.uses.value}} / {{item.data.uses.max}}
+ {{/if}}
+
+
+
+ {{#each labels.components}}
+ {{this}}
+ {{/each}}
+
+ {{labels.school}}
+ {{labels.activation}}
+
+ {{#if labels.target}}
+ {{labels.target}}
+ {{else}}None
+ {{/if}}
+
+
+
+ {{#if ../../owner}}
+
+ {{#if section.canPrepare}}
+
+ {{/if}}
+
+
+
+ {{/if}}
+
+ {{/each}}
+
+{{else}}
+ {{#if owner}}
+ {{#if filters.powerbook.size}}
+ {{localize "SW5E.FilterNoPowers"}}
+ {{else}}
+
+ {{localize "SW5E.NoPowerLevels"}}
+ {{/if}}
+ {{/if}}
+{{/each}}
+
diff --git a/templates/actor/parts/actor-traits.html b/templates/actor/parts/actor-traits.html
new file mode 100644
index 00000000..9b3a337d
--- /dev/null
+++ b/templates/actor/parts/actor-traits.html
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{#if isCharacter}}
+
+
+
+
+
+ {{/if}}
+
+
+
\ No newline at end of file