forked from ebullient/ttrpg-convert-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimages-item2md.txt
88 lines (79 loc) · 2.28 KB
/
images-item2md.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
obsidianUIMode: preview
cssclasses: json5e-item
{#if resource.tags }
tags:
{#for tag in resource.tags}
- {tag}
{/for}
{/if}
aliases:
- "{resource.name}"
{#if resource.variantAliases }
{resource.variantAliases}
{/if}
---
# {resource.name}
{#if resource.detail }*{resource.detail}*
{/if}{#if resource.fluffImages && resource.fluffImages.size > 0 }{#let first=resource.fluffImages.get(0)}
{first.getEmbeddedLink("right")}
{/let}{/if}
{#if resource.prerequisite}
- **Prerequisites**: {resource.prerequisite}
{/if}{#if resource.armorClass }
- **Armor Class**: {resource.armorClass}
{#else if resource.damage }{#if resource.damage2h }
- **Damage**:
- One-handed: {resource.damage}
- Two-handed: {resource.damage2h}
{#else}
- **Damage**: {resource.damage}
{/if}{#if resource.range }
- **Range**: {resource.range}
{/if}{/if}{#if resource.properties }
- **Properties**: {resource.properties}
{/if}{#if resource.strengthRequirement }
- **Strength**: Requires {resource.strengthRequirement} STR.
{/if}{#if resource.stealthPenalty }
- **Stealth**: The wearer has disadvantage on Stealth (DEX) checks.
{/if}{#if resource.cost }
- **Cost**: {resource.cost}
{/if}{#if resource.weight }
- **Weight**: {resource.weight} lbs.
{/if}{#if resource.text }
{resource.text}
{/if}
{#if resource.fluffImages.size > 1 }
{#each resource.fluffImages}{#if it_index != 0}{it.getEmbeddedLink}
{/if}{/each}
{/if}{#if resource.variants }
**Variants**:
{resource.variantSectionLinks}
{#for variant in resource.variants}
### {variant.name}
{#if variant.prerequisite}
- **Prerequisites**: {variant.prerequisite}
{/if}{#if variant.armorClass }
- **Armor Class**: {variant.armorClass}
{#else if variant.damage }{#if variant.damage2h }
- **Damage**:
- One-handed: {variant.damage}
- Two-handed: {variant.damage2h}
{#else}
- **Damage**: {variant.damage}
{/if}{#if variant.range }
- **Range**: {variant.range}
{/if}{/if}{#if variant.properties }
- **Properties**: {variant.properties}
{/if}{#if variant.strengthRequirement }
- **Strength**: Requires {variant.strengthRequirement} STR.
{/if}{#if variant.stealthPenalty }
- **Stealth**: The wearer has disadvantage on Stealth (DEX) checks.
{/if}{#if variant.cost }
- **Cost**: {variant.cost}
{/if}{#if variant.weight }
- **Weight**: {variant.weight} lbs.
{/if}
{/for}
{/if}
*Source: {resource.source}*