5etools-utils 0.12.4 → 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema/brew/foundry-items.json +4 -1
- package/schema/brew/items.json +1074 -508
- package/schema/brew/sources-5etools.json +7 -0
- package/schema/brew/util-foundry.json +104 -10
- package/schema/brew/util-token.json +7 -3
- package/schema/brew-fast/foundry-items.json +4 -1
- package/schema/brew-fast/items.json +1074 -508
- package/schema/brew-fast/sources-5etools.json +7 -0
- package/schema/brew-fast/util-foundry.json +104 -10
- package/schema/brew-fast/util-token.json +7 -3
- package/schema/site/foundry-items.json +4 -1
- package/schema/site/items.json +1251 -726
- package/schema/site/sources-5etools.json +7 -0
- package/schema/site/util-foundry.json +104 -10
- package/schema/site/util-token.json +7 -3
- package/schema/site-fast/foundry-items.json +4 -1
- package/schema/site-fast/items.json +1251 -726
- package/schema/site-fast/sources-5etools.json +7 -0
- package/schema/site-fast/util-foundry.json +104 -10
- package/schema/site-fast/util-token.json +7 -3
- package/schema/ua/foundry-items.json +4 -1
- package/schema/ua/items.json +1255 -727
- package/schema/ua/sources-5etools.json +7 -0
- package/schema/ua/util-foundry.json +104 -10
- package/schema/ua/util-token.json +7 -3
- package/schema/ua-fast/foundry-items.json +4 -1
- package/schema/ua-fast/items.json +1255 -727
- package/schema/ua-fast/sources-5etools.json +7 -0
- package/schema/ua-fast/util-foundry.json +104 -10
- package/schema/ua-fast/util-token.json +7 -3
|
@@ -110,10 +110,14 @@
|
|
|
110
110
|
"MPP",
|
|
111
111
|
"BMT",
|
|
112
112
|
"DMTCRG",
|
|
113
|
+
"QftIS",
|
|
114
|
+
"VEoR",
|
|
113
115
|
"GHLoE",
|
|
114
116
|
"DoDk",
|
|
115
117
|
"HWCS",
|
|
116
118
|
"HWAitW",
|
|
119
|
+
"ToB1-2023",
|
|
120
|
+
"TD",
|
|
117
121
|
"Screen",
|
|
118
122
|
"ScreenWildernessKit",
|
|
119
123
|
"ScreenDungeonKit",
|
|
@@ -139,6 +143,9 @@
|
|
|
139
143
|
"LK",
|
|
140
144
|
"CoA",
|
|
141
145
|
"PiP",
|
|
146
|
+
"DitLCoT",
|
|
147
|
+
"VNotEE",
|
|
148
|
+
"LRDT",
|
|
142
149
|
"ALCurseOfStrahd",
|
|
143
150
|
"ALElementalEvil",
|
|
144
151
|
"ALRageOfDemons",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.3",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"additionalProperties": false
|
|
52
52
|
},
|
|
53
|
+
"foundryId": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 16,
|
|
56
|
+
"maxLength": 16
|
|
57
|
+
},
|
|
53
58
|
"foundryTokenScale": {
|
|
54
59
|
"type": "number",
|
|
55
60
|
"minimum": 0.2,
|
|
@@ -81,11 +86,21 @@
|
|
|
81
86
|
},
|
|
82
87
|
"foundrySubEntitiesObject": {
|
|
83
88
|
"description": "A 5etools-data-like object of additional entities to import.",
|
|
84
|
-
"type": "object"
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"item": {
|
|
92
|
+
"$ref": "items.json#/$defs/subEntityItemArray"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"minProperties": 1
|
|
85
96
|
},
|
|
86
|
-
"
|
|
97
|
+
"_foundryEffectObject": {
|
|
87
98
|
"type": "object",
|
|
88
99
|
"properties": {
|
|
100
|
+
"foundryId": {
|
|
101
|
+
"description": "Use only when required. For example, when linking an \"enchantmentRiderParent\".",
|
|
102
|
+
"$ref": "#/$defs/foundryId"
|
|
103
|
+
},
|
|
89
104
|
"name": {
|
|
90
105
|
"type": "string"
|
|
91
106
|
},
|
|
@@ -122,6 +137,36 @@
|
|
|
122
137
|
"additionalProperties": false
|
|
123
138
|
}
|
|
124
139
|
},
|
|
140
|
+
"statuses": {
|
|
141
|
+
"description": "Dumped via e.g. `copy(Object.keys(CONFIG.DND5E.conditionTypes).sort())`",
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"enum": [
|
|
146
|
+
"bleeding",
|
|
147
|
+
"blinded",
|
|
148
|
+
"charmed",
|
|
149
|
+
"cursed",
|
|
150
|
+
"deafened",
|
|
151
|
+
"diseased",
|
|
152
|
+
"exhaustion",
|
|
153
|
+
"frightened",
|
|
154
|
+
"grappled",
|
|
155
|
+
"incapacitated",
|
|
156
|
+
"invisible",
|
|
157
|
+
"paralyzed",
|
|
158
|
+
"petrified",
|
|
159
|
+
"poisoned",
|
|
160
|
+
"prone",
|
|
161
|
+
"restrained",
|
|
162
|
+
"silenced",
|
|
163
|
+
"stunned",
|
|
164
|
+
"surprised",
|
|
165
|
+
"transformed",
|
|
166
|
+
"unconscious"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
125
170
|
"flags": {
|
|
126
171
|
"type": "object"
|
|
127
172
|
},
|
|
@@ -133,13 +178,59 @@
|
|
|
133
178
|
},
|
|
134
179
|
"transfer": {
|
|
135
180
|
"const": true
|
|
181
|
+
},
|
|
182
|
+
"enchantmentLevelMin": {
|
|
183
|
+
"type": "number",
|
|
184
|
+
"minimum": 0,
|
|
185
|
+
"maximum": 20
|
|
186
|
+
},
|
|
187
|
+
"enchantmentLevelMax": {
|
|
188
|
+
"type": "number",
|
|
189
|
+
"minimum": 0,
|
|
190
|
+
"maximum": 20
|
|
191
|
+
},
|
|
192
|
+
"enchantmentRiderParent": {
|
|
193
|
+
"$ref": "#/$defs/foundryId"
|
|
194
|
+
},
|
|
195
|
+
"type": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"enum": [
|
|
198
|
+
"enchantment"
|
|
199
|
+
]
|
|
136
200
|
}
|
|
137
201
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"changes"
|
|
140
|
-
],
|
|
141
202
|
"additionalProperties": false
|
|
142
203
|
},
|
|
204
|
+
"foundryEffectObject": {
|
|
205
|
+
"anyOf": [
|
|
206
|
+
{
|
|
207
|
+
"allOf": [
|
|
208
|
+
{
|
|
209
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "object",
|
|
213
|
+
"required": [
|
|
214
|
+
"changes"
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"allOf": [
|
|
221
|
+
{
|
|
222
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "object",
|
|
226
|
+
"required": [
|
|
227
|
+
"statuses"
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
},
|
|
143
234
|
"foundryEffectsArray": {
|
|
144
235
|
"type": "array",
|
|
145
236
|
"items": {
|
|
@@ -167,7 +258,7 @@
|
|
|
167
258
|
}
|
|
168
259
|
},
|
|
169
260
|
"flags": {
|
|
170
|
-
"$ref": "
|
|
261
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
171
262
|
},
|
|
172
263
|
"img": {
|
|
173
264
|
"type": "string"
|
|
@@ -227,7 +318,7 @@
|
|
|
227
318
|
}
|
|
228
319
|
},
|
|
229
320
|
"flags": {
|
|
230
|
-
"$ref": "
|
|
321
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
231
322
|
},
|
|
232
323
|
"img": {
|
|
233
324
|
"type": "string"
|
|
@@ -267,6 +358,9 @@
|
|
|
267
358
|
},
|
|
268
359
|
"actorDataMod": {
|
|
269
360
|
"type": "object"
|
|
361
|
+
},
|
|
362
|
+
"subEntities": {
|
|
363
|
+
"$ref": "#/$defs/foundrySubEntitiesObject"
|
|
270
364
|
}
|
|
271
365
|
},
|
|
272
366
|
"required": [
|
|
@@ -302,7 +396,7 @@
|
|
|
302
396
|
}
|
|
303
397
|
},
|
|
304
398
|
"flags": {
|
|
305
|
-
"$ref": "
|
|
399
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
306
400
|
},
|
|
307
401
|
"img": {
|
|
308
402
|
"type": "string"
|
|
@@ -329,7 +423,7 @@
|
|
|
329
423
|
}
|
|
330
424
|
},
|
|
331
425
|
"prototypeToken": {
|
|
332
|
-
"$ref": "
|
|
426
|
+
"$ref": "#/$defs/foundryPrototypeTokenObject"
|
|
333
427
|
}
|
|
334
428
|
},
|
|
335
429
|
"required": [
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-token.json",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"title": "Util: Token",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"tokenUrl": {
|
|
8
8
|
"deprecated": true,
|
|
9
|
-
"description": "A full token URL for the entity. Prefer \"tokenHref\" instead.",
|
|
10
|
-
"$ref": "util.json#/$defs/url"
|
|
9
|
+
"description": "A full token URL for the entity. Prefer \"tokenHref\" instead, or \"token\" for internal use.",
|
|
10
|
+
"$ref": "util.json#/$defs/url",
|
|
11
|
+
"not": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^https?://(5e\\.tools|5etools-mirror-\\d+\\.github\\.io)/"
|
|
14
|
+
}
|
|
11
15
|
},
|
|
12
16
|
"token": {
|
|
13
17
|
"description": "A name/source pair used to construct a token URL for the entity. For example `\"name\": \"Goblin\", \"source\": \"MM\"` for a creature token would refer to the MM Goblin's token.",
|