5etools-utils 0.12.22 → 0.12.24

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.
Files changed (43) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/bestiary/bestiary.json +7 -4
  3. package/schema/brew/conditionsdiseases.json +4 -1
  4. package/schema/brew/deities.json +88 -7
  5. package/schema/brew/feats.json +10 -1
  6. package/schema/brew/homebrew.json +7 -1
  7. package/schema/brew/items-base.json +25 -1
  8. package/schema/brew/magicvariants.json +64 -1
  9. package/schema/brew-fast/bestiary/bestiary.json +7 -4
  10. package/schema/brew-fast/conditionsdiseases.json +4 -1
  11. package/schema/brew-fast/deities.json +88 -7
  12. package/schema/brew-fast/feats.json +10 -1
  13. package/schema/brew-fast/homebrew.json +7 -1
  14. package/schema/brew-fast/items-base.json +25 -1
  15. package/schema/brew-fast/magicvariants.json +64 -1
  16. package/schema/site/bestiary/bestiary.json +7 -4
  17. package/schema/site/conditionsdiseases.json +4 -1
  18. package/schema/site/deities.json +88 -7
  19. package/schema/site/feats.json +10 -1
  20. package/schema/site/homebrew.json +7 -1
  21. package/schema/site/items-base.json +25 -1
  22. package/schema/site/magicvariants.json +64 -1
  23. package/schema/site-fast/bestiary/bestiary.json +7 -4
  24. package/schema/site-fast/conditionsdiseases.json +4 -1
  25. package/schema/site-fast/deities.json +88 -7
  26. package/schema/site-fast/feats.json +10 -1
  27. package/schema/site-fast/homebrew.json +7 -1
  28. package/schema/site-fast/items-base.json +25 -1
  29. package/schema/site-fast/magicvariants.json +64 -1
  30. package/schema/ua/bestiary/bestiary.json +7 -4
  31. package/schema/ua/conditionsdiseases.json +4 -1
  32. package/schema/ua/deities.json +88 -7
  33. package/schema/ua/feats.json +10 -1
  34. package/schema/ua/homebrew.json +7 -1
  35. package/schema/ua/items-base.json +25 -1
  36. package/schema/ua/magicvariants.json +64 -1
  37. package/schema/ua-fast/bestiary/bestiary.json +7 -4
  38. package/schema/ua-fast/conditionsdiseases.json +4 -1
  39. package/schema/ua-fast/deities.json +88 -7
  40. package/schema/ua-fast/feats.json +10 -1
  41. package/schema/ua-fast/homebrew.json +7 -1
  42. package/schema/ua-fast/items-base.json +25 -1
  43. package/schema/ua-fast/magicvariants.json +64 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.12.22",
3
+ "version": "0.12.24",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.31",
3
+ "version": "1.21.32",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -771,7 +771,8 @@
771
771
  ]
772
772
  },
773
773
  "legendaryActions": {
774
- "type": "number"
774
+ "type": "integer",
775
+ "minimum": 1
775
776
  },
776
777
  "legendaryHeader": {
777
778
  "type": "array",
@@ -1949,7 +1950,8 @@
1949
1950
  ]
1950
1951
  },
1951
1952
  "legendaryActions": {
1952
- "type": "number"
1953
+ "type": "integer",
1954
+ "minimum": 1
1953
1955
  },
1954
1956
  "legendaryHeader": {
1955
1957
  "type": "array",
@@ -3132,7 +3134,8 @@
3132
3134
  ]
3133
3135
  },
3134
3136
  "legendaryActions": {
3135
- "type": "number"
3137
+ "type": "integer",
3138
+ "minimum": 1
3136
3139
  },
3137
3140
  "legendaryHeader": {
3138
3141
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "conditionsdiseases.json",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "conditionDisease": {
@@ -10,6 +10,9 @@
10
10
  "name": {
11
11
  "type": "string"
12
12
  },
13
+ "alias": {
14
+ "$ref": "util.json#/$defs/alias"
15
+ },
13
16
  "entries": {
14
17
  "type": "array",
15
18
  "items": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "deities.json",
4
- "version": "1.2.8",
4
+ "version": "1.2.10",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deityData": {
@@ -10,6 +10,9 @@
10
10
  "name": {
11
11
  "type": "string"
12
12
  },
13
+ "alias": {
14
+ "$ref": "util.json#/$defs/alias"
15
+ },
13
16
  "reprintAlias": {
14
17
  "type": "string"
15
18
  },
@@ -49,7 +52,10 @@
49
52
  "Exandria",
50
53
  "Theros",
51
54
  "Unknown",
52
- "Yuan-ti"
55
+ "Yuan-ti",
56
+ "Umbral",
57
+ "Shadow Realm Godlings",
58
+ "Shadow Realm Dark Gods"
53
59
  ]
54
60
  },
55
61
  "category": {
@@ -79,7 +85,25 @@
79
85
  "Trickery",
80
86
  "Twilight",
81
87
  "Unknown",
82
- "War"
88
+ "War",
89
+ "Apocalypse",
90
+ "Wine",
91
+ "Cat",
92
+ "Darkness",
93
+ "Hunger",
94
+ "Hunting",
95
+ "Justice",
96
+ "Keeper",
97
+ "Labyrinth",
98
+ "Lust",
99
+ "Mercy",
100
+ "Ocean",
101
+ "Portal",
102
+ "Prophecy",
103
+ "Shadow",
104
+ "Travel",
105
+ "Void",
106
+ "Wind"
83
107
  ]
84
108
  }
85
109
  },
@@ -93,6 +117,9 @@
93
117
  "dogma": {
94
118
  "type": "string"
95
119
  },
120
+ "favoredWeapons": {
121
+ "type": "string"
122
+ },
96
123
  "source": {
97
124
  "$ref": "util.json#/$defs/source"
98
125
  },
@@ -153,6 +180,9 @@
153
180
  "name": {
154
181
  "type": "string"
155
182
  },
183
+ "alias": {
184
+ "$ref": "util.json#/$defs/alias"
185
+ },
156
186
  "reprintAlias": {
157
187
  "type": "string"
158
188
  },
@@ -192,7 +222,10 @@
192
222
  "Exandria",
193
223
  "Theros",
194
224
  "Unknown",
195
- "Yuan-ti"
225
+ "Yuan-ti",
226
+ "Umbral",
227
+ "Shadow Realm Godlings",
228
+ "Shadow Realm Dark Gods"
196
229
  ]
197
230
  },
198
231
  "category": {
@@ -222,7 +255,25 @@
222
255
  "Trickery",
223
256
  "Twilight",
224
257
  "Unknown",
225
- "War"
258
+ "War",
259
+ "Apocalypse",
260
+ "Wine",
261
+ "Cat",
262
+ "Darkness",
263
+ "Hunger",
264
+ "Hunting",
265
+ "Justice",
266
+ "Keeper",
267
+ "Labyrinth",
268
+ "Lust",
269
+ "Mercy",
270
+ "Ocean",
271
+ "Portal",
272
+ "Prophecy",
273
+ "Shadow",
274
+ "Travel",
275
+ "Void",
276
+ "Wind"
226
277
  ]
227
278
  }
228
279
  },
@@ -236,6 +287,9 @@
236
287
  "dogma": {
237
288
  "type": "string"
238
289
  },
290
+ "favoredWeapons": {
291
+ "type": "string"
292
+ },
239
293
  "source": {
240
294
  "$ref": "util.json#/$defs/source"
241
295
  },
@@ -299,6 +353,9 @@
299
353
  "name": {
300
354
  "type": "string"
301
355
  },
356
+ "alias": {
357
+ "$ref": "util.json#/$defs/alias"
358
+ },
302
359
  "reprintAlias": {
303
360
  "type": "string"
304
361
  },
@@ -338,7 +395,10 @@
338
395
  "Exandria",
339
396
  "Theros",
340
397
  "Unknown",
341
- "Yuan-ti"
398
+ "Yuan-ti",
399
+ "Umbral",
400
+ "Shadow Realm Godlings",
401
+ "Shadow Realm Dark Gods"
342
402
  ]
343
403
  },
344
404
  "category": {
@@ -368,7 +428,25 @@
368
428
  "Trickery",
369
429
  "Twilight",
370
430
  "Unknown",
371
- "War"
431
+ "War",
432
+ "Apocalypse",
433
+ "Wine",
434
+ "Cat",
435
+ "Darkness",
436
+ "Hunger",
437
+ "Hunting",
438
+ "Justice",
439
+ "Keeper",
440
+ "Labyrinth",
441
+ "Lust",
442
+ "Mercy",
443
+ "Ocean",
444
+ "Portal",
445
+ "Prophecy",
446
+ "Shadow",
447
+ "Travel",
448
+ "Void",
449
+ "Wind"
372
450
  ]
373
451
  }
374
452
  },
@@ -382,6 +460,9 @@
382
460
  "dogma": {
383
461
  "type": "string"
384
462
  },
463
+ "favoredWeapons": {
464
+ "type": "string"
465
+ },
385
466
  "source": {
386
467
  "$ref": "util.json#/$defs/source"
387
468
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "feats.json",
4
- "version": "1.6.5",
4
+ "version": "1.6.6",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "featData": {
@@ -10,6 +10,9 @@
10
10
  "name": {
11
11
  "type": "string"
12
12
  },
13
+ "alias": {
14
+ "$ref": "util.json#/$defs/alias"
15
+ },
13
16
  "prerequisite": {
14
17
  "$ref": "util.json#/$defs/prerequisite"
15
18
  },
@@ -139,6 +142,9 @@
139
142
  "name": {
140
143
  "type": "string"
141
144
  },
145
+ "alias": {
146
+ "$ref": "util.json#/$defs/alias"
147
+ },
142
148
  "prerequisite": {
143
149
  "$ref": "util.json#/$defs/prerequisite"
144
150
  },
@@ -271,6 +277,9 @@
271
277
  "name": {
272
278
  "type": "string"
273
279
  },
280
+ "alias": {
281
+ "$ref": "util.json#/$defs/alias"
282
+ },
274
283
  "prerequisite": {
275
284
  "$ref": "util.json#/$defs/prerequisite"
276
285
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.25",
3
+ "version": "1.10.26",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -591,9 +591,15 @@
591
591
  "disease": {
592
592
  "$ref": "conditionsdiseases.json#/properties/disease"
593
593
  },
594
+ "diseaseFluff": {
595
+ "$ref": "fluff-conditionsdiseases.json#/properties/diseaseFluff"
596
+ },
594
597
  "status": {
595
598
  "$ref": "conditionsdiseases.json#/properties/status"
596
599
  },
600
+ "statusFluff": {
601
+ "$ref": "fluff-conditionsdiseases.json#/properties/statusFluff"
602
+ },
597
603
  "cult": {
598
604
  "$ref": "cultsboons.json#/properties/cult"
599
605
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.5.23",
4
+ "version": "1.5.24",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -253,6 +253,14 @@
253
253
  "description": "Flag used when merging generic variants",
254
254
  "type": "boolean"
255
255
  },
256
+ "lance": {
257
+ "description": "Flag used when merging generic variants",
258
+ "type": "boolean"
259
+ },
260
+ "rapier": {
261
+ "description": "Flag used when merging generic variants",
262
+ "type": "boolean"
263
+ },
256
264
  "arrow": {
257
265
  "description": "Flag used when merging generic variants",
258
266
  "type": "boolean"
@@ -566,6 +574,14 @@
566
574
  "description": "Flag used when merging generic variants",
567
575
  "type": "boolean"
568
576
  },
577
+ "lance": {
578
+ "description": "Flag used when merging generic variants",
579
+ "type": "boolean"
580
+ },
581
+ "rapier": {
582
+ "description": "Flag used when merging generic variants",
583
+ "type": "boolean"
584
+ },
569
585
  "arrow": {
570
586
  "description": "Flag used when merging generic variants",
571
587
  "type": "boolean"
@@ -883,6 +899,14 @@
883
899
  "description": "Flag used when merging generic variants",
884
900
  "type": "boolean"
885
901
  },
902
+ "lance": {
903
+ "description": "Flag used when merging generic variants",
904
+ "type": "boolean"
905
+ },
906
+ "rapier": {
907
+ "description": "Flag used when merging generic variants",
908
+ "type": "boolean"
909
+ },
886
910
  "arrow": {
887
911
  "description": "Flag used when merging generic variants",
888
912
  "type": "boolean"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "magicvariants.json",
4
- "version": "1.8.20",
4
+ "version": "1.8.21",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "_magicvariantItemBase": {
@@ -87,6 +87,12 @@
87
87
  "polearm": {
88
88
  "type": "boolean"
89
89
  },
90
+ "lance": {
91
+ "type": "boolean"
92
+ },
93
+ "rapier": {
94
+ "type": "boolean"
95
+ },
90
96
  "arrow": {
91
97
  "type": "boolean"
92
98
  },
@@ -102,6 +108,9 @@
102
108
  "weaponCategory": {
103
109
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
104
110
  },
111
+ "staff": {
112
+ "type": "boolean"
113
+ },
105
114
  "customProperties": {
106
115
  "description": "A more restrictive area for custom boolean-only properties to be stored.",
107
116
  "type": "object",
@@ -329,6 +338,9 @@
329
338
  "weaponCategory": {
330
339
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
331
340
  },
341
+ "weight": {
342
+ "type": "number"
343
+ },
332
344
  "weightMult": {
333
345
  "type": "number"
334
346
  },
@@ -461,6 +473,12 @@
461
473
  "polearm": {
462
474
  "type": "boolean"
463
475
  },
476
+ "lance": {
477
+ "type": "boolean"
478
+ },
479
+ "rapier": {
480
+ "type": "boolean"
481
+ },
464
482
  "arrow": {
465
483
  "type": "boolean"
466
484
  },
@@ -476,6 +494,9 @@
476
494
  "weaponCategory": {
477
495
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
478
496
  },
497
+ "staff": {
498
+ "type": "boolean"
499
+ },
479
500
  "customProperties": {
480
501
  "$ref": "items-shared.json#/$defs/customProperties"
481
502
  }
@@ -621,6 +642,12 @@
621
642
  "polearm": {
622
643
  "type": "boolean"
623
644
  },
645
+ "lance": {
646
+ "type": "boolean"
647
+ },
648
+ "rapier": {
649
+ "type": "boolean"
650
+ },
624
651
  "arrow": {
625
652
  "type": "boolean"
626
653
  },
@@ -636,6 +663,9 @@
636
663
  "weaponCategory": {
637
664
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
638
665
  },
666
+ "staff": {
667
+ "type": "boolean"
668
+ },
639
669
  "customProperties": {
640
670
  "description": "A more restrictive area for custom boolean-only properties to be stored.",
641
671
  "type": "object",
@@ -863,6 +893,9 @@
863
893
  "weaponCategory": {
864
894
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
865
895
  },
896
+ "weight": {
897
+ "type": "number"
898
+ },
866
899
  "weightMult": {
867
900
  "type": "number"
868
901
  },
@@ -1000,6 +1033,12 @@
1000
1033
  "polearm": {
1001
1034
  "type": "boolean"
1002
1035
  },
1036
+ "lance": {
1037
+ "type": "boolean"
1038
+ },
1039
+ "rapier": {
1040
+ "type": "boolean"
1041
+ },
1003
1042
  "arrow": {
1004
1043
  "type": "boolean"
1005
1044
  },
@@ -1015,6 +1054,9 @@
1015
1054
  "weaponCategory": {
1016
1055
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
1017
1056
  },
1057
+ "staff": {
1058
+ "type": "boolean"
1059
+ },
1018
1060
  "customProperties": {
1019
1061
  "$ref": "items-shared.json#/$defs/customProperties"
1020
1062
  }
@@ -1165,6 +1207,12 @@
1165
1207
  "polearm": {
1166
1208
  "type": "boolean"
1167
1209
  },
1210
+ "lance": {
1211
+ "type": "boolean"
1212
+ },
1213
+ "rapier": {
1214
+ "type": "boolean"
1215
+ },
1168
1216
  "arrow": {
1169
1217
  "type": "boolean"
1170
1218
  },
@@ -1180,6 +1228,9 @@
1180
1228
  "weaponCategory": {
1181
1229
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
1182
1230
  },
1231
+ "staff": {
1232
+ "type": "boolean"
1233
+ },
1183
1234
  "customProperties": {
1184
1235
  "description": "A more restrictive area for custom boolean-only properties to be stored.",
1185
1236
  "type": "object",
@@ -1407,6 +1458,9 @@
1407
1458
  "weaponCategory": {
1408
1459
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
1409
1460
  },
1461
+ "weight": {
1462
+ "type": "number"
1463
+ },
1410
1464
  "weightMult": {
1411
1465
  "type": "number"
1412
1466
  },
@@ -1543,6 +1597,12 @@
1543
1597
  "polearm": {
1544
1598
  "type": "boolean"
1545
1599
  },
1600
+ "lance": {
1601
+ "type": "boolean"
1602
+ },
1603
+ "rapier": {
1604
+ "type": "boolean"
1605
+ },
1546
1606
  "arrow": {
1547
1607
  "type": "boolean"
1548
1608
  },
@@ -1558,6 +1618,9 @@
1558
1618
  "weaponCategory": {
1559
1619
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
1560
1620
  },
1621
+ "staff": {
1622
+ "type": "boolean"
1623
+ },
1561
1624
  "customProperties": {
1562
1625
  "$ref": "items-shared.json#/$defs/customProperties"
1563
1626
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.31",
3
+ "version": "1.21.32",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -771,7 +771,8 @@
771
771
  ]
772
772
  },
773
773
  "legendaryActions": {
774
- "type": "number"
774
+ "type": "integer",
775
+ "minimum": 1
775
776
  },
776
777
  "legendaryHeader": {
777
778
  "type": "array",
@@ -1949,7 +1950,8 @@
1949
1950
  ]
1950
1951
  },
1951
1952
  "legendaryActions": {
1952
- "type": "number"
1953
+ "type": "integer",
1954
+ "minimum": 1
1953
1955
  },
1954
1956
  "legendaryHeader": {
1955
1957
  "type": "array",
@@ -3132,7 +3134,8 @@
3132
3134
  ]
3133
3135
  },
3134
3136
  "legendaryActions": {
3135
- "type": "number"
3137
+ "type": "integer",
3138
+ "minimum": 1
3136
3139
  },
3137
3140
  "legendaryHeader": {
3138
3141
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "conditionsdiseases.json",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "conditionDisease": {
@@ -10,6 +10,9 @@
10
10
  "name": {
11
11
  "type": "string"
12
12
  },
13
+ "alias": {
14
+ "$ref": "util.json#/$defs/alias"
15
+ },
13
16
  "entries": {
14
17
  "type": "array",
15
18
  "items": {