diff --git a/templates/chat/itemroll.html b/templates/chat/itemroll.html new file mode 100644 index 0000000..18808e5 --- /dev/null +++ b/templates/chat/itemroll.html @@ -0,0 +1,61 @@ +
+
+
+
+ {{#if (compare 'str' item.img '===' 'modules/fvtt_mosh_1e_psg/icons/equipment/trinket.png')}} +
+
TRINKET
+
+
+ {{else if (compare 'str' item.img '===' 'modules/fvtt_mosh_1e_psg/icons/equipment/patch.png')}} +
+
PATCH
+
+
+ {{else}} + {{#if (compare 'int' item.name.length '>=' 22)}} +
+
{{item.name}}
+
+
+ {{else}} +
+
{{item.name}}
+
+
+ {{/if}} + {{/if}} + {{#if item.system.severity}} +
+
Severity: {{item.system.severity}}
+
+
+
+
+ {{/if}} + {{#if item.system.bonus}} +
+
Armor Points: {{item.system.bonus}}
+
+
+
+
+ {{/if}} + {{#if (compare 'str' item.system.description '===' '

Trinket

')}} +
+
{{{item.name}}}
+
+
+ {{else if (compare 'str' item.system.description '===' '

Patch

')}} +
+
{{{item.name}}}
+
+
+ {{else}} +
+
{{{item.system.description}}}
+
+
+ {{/if}} +
\ No newline at end of file