From 406f0fe983263396b94b05946ec1545eae0738a8 Mon Sep 17 00:00:00 2001 From: CK <31608392+unrealkakeman89@users.noreply.github.com> Date: Wed, 24 Jun 2020 14:29:14 -0400 Subject: [PATCH] Add files via upload --- templates/items/parts/item-action.html | 112 ++++++++++++++++++++ templates/items/parts/item-activation.html | 102 ++++++++++++++++++ templates/items/parts/item-description.html | 29 +++++ 3 files changed, 243 insertions(+) create mode 100644 templates/items/parts/item-action.html create mode 100644 templates/items/parts/item-activation.html create mode 100644 templates/items/parts/item-description.html diff --git a/templates/items/parts/item-action.html b/templates/items/parts/item-action.html new file mode 100644 index 00000000..c2fada82 --- /dev/null +++ b/templates/items/parts/item-action.html @@ -0,0 +1,112 @@ +{{!-- Action Type --}} +
+ + +
+{{#if data.actionType}} + +{{!-- Ability Modifier --}} +
+ + +
+ +{{!-- Attack Roll Bonus --}} +{{#if hasAttackRoll }} +
+ +
+ +
+
+{{/if}} + +{{!-- Damage Formula --}} +

+ {{#unless isHealing }}{{ localize "SW5E.Damage" }}{{ else }}{{ localize "SW5E.Healing" }}{{/unless}} {{ localize "SW5E.Formula" }} + +

+
    + {{#each data.damage.parts as |part i| }} +
  1. + + + +
  2. + {{/each}} +
+ +{{!-- Versatile Damage --}} +{{#if data.damage.parts.length }} +
+ +
+ +
+
+{{/if}} + +{{!-- Other Formula --}} +
+ +
+ +
+
+ +{{!-- Saving Throw --}} +
+ +
+ + {{ localize "SW5E.VsDC" }} + + +
+
+ +{{!-- Chat Message Flavor --}} +
+ + +
+{{/if}} \ No newline at end of file diff --git a/templates/items/parts/item-activation.html b/templates/items/parts/item-activation.html new file mode 100644 index 00000000..9663d17d --- /dev/null +++ b/templates/items/parts/item-activation.html @@ -0,0 +1,102 @@ +{{!-- Activation Cost --}} +
+ +
+ + +
+
+{{#if data.activation.type}} + +{{!-- Activation Condition --}} +
+ +
+ +
+
+ + +{{!-- Ability Target --}} +
+ +
+ + + +
+
+ +{{!-- Ability Range --}} +
+ +
+ + / + + +
+
+ +{{!-- Effect Duration --}} +
+ +
+ + +
+
+ +{{!-- Limited Uses --}} +
+ +
+ + {{ localize "SW5E.of" }} + + +
+
+{{/if}} \ No newline at end of file diff --git a/templates/items/parts/item-description.html b/templates/items/parts/item-description.html new file mode 100644 index 00000000..61b5b931 --- /dev/null +++ b/templates/items/parts/item-description.html @@ -0,0 +1,29 @@ +
+ +
+ {{#if isPhysical}} +
+ + +
+ +
+ + +
+ +
+ + +
+ {{/if}} + +
    + {{#each itemProperties}} +
  1. {{this}}
  2. + {{/each}} +
+
+ + {{editor content=data.description.value target="data.description.value" button=true owner=owner editable=editable}} +
\ No newline at end of file