-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.json
More file actions
113 lines (113 loc) · 3.37 KB
/
config.json
File metadata and controls
113 lines (113 loc) · 3.37 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"entities": {
"Default": {
"combatant": {
"bars": [
{
"attribute": "data.hp",
"title": "Common.HitPoints",
"label": "Common.HP",
"temporary": true
}
]
}
},
"NPC": {
"role": "neutral",
"collection": {
"detail": "{{data.size|map: 'Size'}}{{data.type|map: 'MonsterType'|prefix: ' '}}{{data.typeDetail|brackets|prefix: ' '}}{{data.alignment|map: 'Alignment'|prefix: ', '}}",
},
"combatant": {
"detail": "{{'Common.AC'|l}} {{data.armor}} • {{'Common.PP'|l}} {{data.passivePerception}} • {{'Common.CR'|l}} {{data.cr}}"
}
},
"Character": {
"role": "friendly",
"collection": {
"detail": "{% if data.species.name %}{{data.species.name}} {% elif data.race.name %}{{data.race.name}} {% endif %}{% for class in data.classes %}{{class.name}} {{class.level}}{% if forloop.last == false %} | {% endif %}{% endfor %}",
},
"combatant": {
"states": {
"defeated": "#{{data.hp.current|default: 1}} <= -{{data.hp.maximum|default: 0}}",
},
"bars": [
{
"attribute": "data.hp",
"title": "Common.HitPoints",
"label": "Common.HP",
"temporary": true
}
],
"detail": "{{'Common.AC'|l}} {{data.ac}} • {{'Common.PP'|l}} {{data.passivePerception}} • {{'Common.PIV'|l}} {{data.passiveInvestigation}} • {{'Common.PI'|l}} {{data.passiveInsight}}"
}
},
"Monster": {
"collection": {
"detail": "{{data.size|map: 'Size'}}{{data.type|map: 'MonsterType'|prefix: ' '}}{{data.typeDetail|brackets|prefix: ' '}}{{data.alignment|map: 'Alignment'|prefix: ', '}}",
},
"combatant": {
"detail": "{{'Common.AC'|l}} {{data.armor}} • {{'Common.PP'|l}} {{data.passivePerception}} • {{'Common.CR'|l}} {{data.cr}}"
}
},
"Spell": {
"collection": {
"detail": "{% if data.level > 0 %}{{'Common.Level'|l}} {{data.level}} {{data.school|map: 'SpellSchool'}}{% else %}{{data.school|map: 'SpellSchool'}} {{'SpellLevel.Cantrip'|l}}{% endif %}",
}
},
"Vehicle": {
"collection": {
"detail": "{% if data.upgrade != nil %}{{data.type|map: 'VehicleType'}} Upgrade, {{data.upgrade|map: 'VehicleComponent'}}{% else %}{{data.size|map: 'Size'}} {{data.type|map: 'VehicleType'}} {{data.dimensions|brackets}}{% endif %}"
}
},
},
"statusEffects": {
"menuProvider": ["Rule:condition"]
},
"measurement": {
"imperial": {
"default": true,
"title": "MeasurementSystem.Imperial",
"units": [
"ft",
"mi",
"lb"
],
"format": "@value @unit.",
"conversion": {
"metric": {
"ft": {
"m": "@value * 0.3"
},
"mi": {
"km": "@value * 1.5"
},
"lb": {
"kg": "@value * 0.5"
}
},
}
},
"metric": {
"title": "MeasurementSystem.Metric",
"units": [
"m",
"km",
"kg"
],
"format": "@value @unit",
"conversion": {
"imperial": {
"m": {
"ft": "@value / 0.3"
},
"km": {
"mi": "@value / 1.5"
},
"kg": {
"lb": "@value * 2"
}
}
}
}
},
}