5etools-utils 0.9.50 → 0.9.52

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 (37) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/adventures.json +3 -2
  3. package/schema/brew/entry.json +7 -1
  4. package/schema/brew/items-base.json +25 -1
  5. package/schema/brew/items-shared.json +6 -1
  6. package/schema/brew/magicvariants.json +13 -1
  7. package/schema/brew/spells/spells.json +34 -28
  8. package/schema/brew-fast/adventures.json +3 -2
  9. package/schema/brew-fast/entry.json +7 -1
  10. package/schema/brew-fast/items-base.json +25 -1
  11. package/schema/brew-fast/items-shared.json +6 -1
  12. package/schema/brew-fast/magicvariants.json +13 -1
  13. package/schema/brew-fast/spells/spells.json +34 -28
  14. package/schema/site/adventures.json +3 -2
  15. package/schema/site/entry.json +7 -1
  16. package/schema/site/items-base.json +25 -1
  17. package/schema/site/items-shared.json +6 -1
  18. package/schema/site/magicvariants.json +13 -1
  19. package/schema/site/spells/spells.json +34 -1
  20. package/schema/site-fast/adventures.json +3 -2
  21. package/schema/site-fast/entry.json +7 -1
  22. package/schema/site-fast/items-base.json +25 -1
  23. package/schema/site-fast/items-shared.json +6 -1
  24. package/schema/site-fast/magicvariants.json +13 -1
  25. package/schema/site-fast/spells/spells.json +34 -1
  26. package/schema/ua/adventures.json +3 -2
  27. package/schema/ua/entry.json +7 -1
  28. package/schema/ua/items-base.json +25 -1
  29. package/schema/ua/items-shared.json +6 -1
  30. package/schema/ua/magicvariants.json +13 -1
  31. package/schema/ua/spells/spells.json +34 -28
  32. package/schema/ua-fast/adventures.json +3 -2
  33. package/schema/ua-fast/entry.json +7 -1
  34. package/schema/ua-fast/items-base.json +25 -1
  35. package/schema/ua-fast/items-shared.json +6 -1
  36. package/schema/ua-fast/magicvariants.json +13 -1
  37. package/schema/ua-fast/spells/spells.json +34 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.9.50",
3
+ "version": "0.9.52",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.16",
4
+ "version": "1.10.17",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -199,7 +199,8 @@
199
199
  "Adventure Atlas",
200
200
  "Heroes' Feast",
201
201
  "Family Friendly",
202
- "Grim Hollow"
202
+ "Grim Hollow",
203
+ "Drakkenheim"
203
204
  ]
204
205
  },
205
206
  "alAveragePlayerLevel": {
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.15",
6
+ "version": "1.8.16",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -257,6 +257,12 @@
257
257
  },
258
258
  "skipItalics": {
259
259
  "type": "boolean"
260
+ },
261
+ "style": {
262
+ "type": "string",
263
+ "enum": [
264
+ "quote-pull"
265
+ ]
260
266
  }
261
267
  },
262
268
  "required": [
@@ -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.15",
4
+ "version": "1.5.16",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -214,6 +214,14 @@
214
214
  "description": "Flag used when merging generic variants",
215
215
  "type": "boolean"
216
216
  },
217
+ "arrow": {
218
+ "description": "Flag used when merging generic variants",
219
+ "type": "boolean"
220
+ },
221
+ "bolt": {
222
+ "description": "Flag used when merging generic variants",
223
+ "type": "boolean"
224
+ },
217
225
  "weapon": {
218
226
  "description": "Flag used when merging generic variants",
219
227
  "type": "boolean"
@@ -504,6 +512,14 @@
504
512
  "description": "Flag used when merging generic variants",
505
513
  "type": "boolean"
506
514
  },
515
+ "arrow": {
516
+ "description": "Flag used when merging generic variants",
517
+ "type": "boolean"
518
+ },
519
+ "bolt": {
520
+ "description": "Flag used when merging generic variants",
521
+ "type": "boolean"
522
+ },
507
523
  "weapon": {
508
524
  "description": "Flag used when merging generic variants",
509
525
  "type": "boolean"
@@ -798,6 +814,14 @@
798
814
  "description": "Flag used when merging generic variants",
799
815
  "type": "boolean"
800
816
  },
817
+ "arrow": {
818
+ "description": "Flag used when merging generic variants",
819
+ "type": "boolean"
820
+ },
821
+ "bolt": {
822
+ "description": "Flag used when merging generic variants",
823
+ "type": "boolean"
824
+ },
801
825
  "weapon": {
802
826
  "description": "Flag used when merging generic variants",
803
827
  "type": "boolean"
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.5",
6
+ "version": "1.0.6",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -139,6 +139,11 @@
139
139
  "dawn",
140
140
  "dusk",
141
141
  "midnight",
142
+ "week",
143
+ "month",
144
+ "year",
145
+ "decade",
146
+ "century",
142
147
  "special"
143
148
  ]
144
149
  },
@@ -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.12",
4
+ "version": "1.8.13",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -88,6 +88,12 @@
88
88
  "polearm": {
89
89
  "type": "boolean"
90
90
  },
91
+ "arrow": {
92
+ "type": "boolean"
93
+ },
94
+ "bolt": {
95
+ "type": "boolean"
96
+ },
91
97
  "weaponCategory": {
92
98
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
93
99
  },
@@ -436,6 +442,12 @@
436
442
  "polearm": {
437
443
  "type": "boolean"
438
444
  },
445
+ "arrow": {
446
+ "type": "boolean"
447
+ },
448
+ "bolt": {
449
+ "type": "boolean"
450
+ },
439
451
  "weaponCategory": {
440
452
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
441
453
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.9",
4
+ "version": "1.9.10",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -17,6 +17,17 @@
17
17
  "school": {
18
18
  "$ref": "../util.json#/$defs/spellSchool"
19
19
  },
20
+ "subschools": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string",
24
+ "examples": [
25
+ "contaminated"
26
+ ]
27
+ },
28
+ "minItems": 1,
29
+ "uniqueItems": true
30
+ },
20
31
  "meta": {
21
32
  "type": "object",
22
33
  "properties": {
@@ -518,15 +529,6 @@
518
529
  "minItems": 1,
519
530
  "uniqueItems": true
520
531
  },
521
- "subschools": {
522
- "description": "For homebrew use only.",
523
- "type": "array",
524
- "items": {
525
- "type": "string"
526
- },
527
- "minItems": 1,
528
- "uniqueItems": true
529
- },
530
532
  "fluff": {
531
533
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
532
534
  "$ref": "../util.json#/$defs/fluffObject"
@@ -563,6 +565,17 @@
563
565
  "school": {
564
566
  "$ref": "../util.json#/$defs/spellSchool"
565
567
  },
568
+ "subschools": {
569
+ "type": "array",
570
+ "items": {
571
+ "type": "string",
572
+ "examples": [
573
+ "contaminated"
574
+ ]
575
+ },
576
+ "minItems": 1,
577
+ "uniqueItems": true
578
+ },
566
579
  "meta": {
567
580
  "type": "object",
568
581
  "properties": {
@@ -1064,15 +1077,6 @@
1064
1077
  "minItems": 1,
1065
1078
  "uniqueItems": true
1066
1079
  },
1067
- "subschools": {
1068
- "description": "For homebrew use only.",
1069
- "type": "array",
1070
- "items": {
1071
- "type": "string"
1072
- },
1073
- "minItems": 1,
1074
- "uniqueItems": true
1075
- },
1076
1080
  "fluff": {
1077
1081
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
1078
1082
  "$ref": "../util.json#/$defs/fluffObject"
@@ -1117,6 +1121,17 @@
1117
1121
  "school": {
1118
1122
  "$ref": "../util.json#/$defs/spellSchool"
1119
1123
  },
1124
+ "subschools": {
1125
+ "type": "array",
1126
+ "items": {
1127
+ "type": "string",
1128
+ "examples": [
1129
+ "contaminated"
1130
+ ]
1131
+ },
1132
+ "minItems": 1,
1133
+ "uniqueItems": true
1134
+ },
1120
1135
  "meta": {
1121
1136
  "type": "object",
1122
1137
  "properties": {
@@ -1618,15 +1633,6 @@
1618
1633
  "minItems": 1,
1619
1634
  "uniqueItems": true
1620
1635
  },
1621
- "subschools": {
1622
- "description": "For homebrew use only.",
1623
- "type": "array",
1624
- "items": {
1625
- "type": "string"
1626
- },
1627
- "minItems": 1,
1628
- "uniqueItems": true
1629
- },
1630
1636
  "fluff": {
1631
1637
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
1632
1638
  "$ref": "../util.json#/$defs/fluffObject"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.16",
4
+ "version": "1.10.17",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -199,7 +199,8 @@
199
199
  "Adventure Atlas",
200
200
  "Heroes' Feast",
201
201
  "Family Friendly",
202
- "Grim Hollow"
202
+ "Grim Hollow",
203
+ "Drakkenheim"
203
204
  ]
204
205
  },
205
206
  "alAveragePlayerLevel": {
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.15",
6
+ "version": "1.8.16",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -257,6 +257,12 @@
257
257
  },
258
258
  "skipItalics": {
259
259
  "type": "boolean"
260
+ },
261
+ "style": {
262
+ "type": "string",
263
+ "enum": [
264
+ "quote-pull"
265
+ ]
260
266
  }
261
267
  },
262
268
  "required": [
@@ -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.15",
4
+ "version": "1.5.16",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -214,6 +214,14 @@
214
214
  "description": "Flag used when merging generic variants",
215
215
  "type": "boolean"
216
216
  },
217
+ "arrow": {
218
+ "description": "Flag used when merging generic variants",
219
+ "type": "boolean"
220
+ },
221
+ "bolt": {
222
+ "description": "Flag used when merging generic variants",
223
+ "type": "boolean"
224
+ },
217
225
  "weapon": {
218
226
  "description": "Flag used when merging generic variants",
219
227
  "type": "boolean"
@@ -504,6 +512,14 @@
504
512
  "description": "Flag used when merging generic variants",
505
513
  "type": "boolean"
506
514
  },
515
+ "arrow": {
516
+ "description": "Flag used when merging generic variants",
517
+ "type": "boolean"
518
+ },
519
+ "bolt": {
520
+ "description": "Flag used when merging generic variants",
521
+ "type": "boolean"
522
+ },
507
523
  "weapon": {
508
524
  "description": "Flag used when merging generic variants",
509
525
  "type": "boolean"
@@ -798,6 +814,14 @@
798
814
  "description": "Flag used when merging generic variants",
799
815
  "type": "boolean"
800
816
  },
817
+ "arrow": {
818
+ "description": "Flag used when merging generic variants",
819
+ "type": "boolean"
820
+ },
821
+ "bolt": {
822
+ "description": "Flag used when merging generic variants",
823
+ "type": "boolean"
824
+ },
801
825
  "weapon": {
802
826
  "description": "Flag used when merging generic variants",
803
827
  "type": "boolean"
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.5",
6
+ "version": "1.0.6",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -139,6 +139,11 @@
139
139
  "dawn",
140
140
  "dusk",
141
141
  "midnight",
142
+ "week",
143
+ "month",
144
+ "year",
145
+ "decade",
146
+ "century",
142
147
  "special"
143
148
  ]
144
149
  },
@@ -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.12",
4
+ "version": "1.8.13",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -88,6 +88,12 @@
88
88
  "polearm": {
89
89
  "type": "boolean"
90
90
  },
91
+ "arrow": {
92
+ "type": "boolean"
93
+ },
94
+ "bolt": {
95
+ "type": "boolean"
96
+ },
91
97
  "weaponCategory": {
92
98
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
93
99
  },
@@ -436,6 +442,12 @@
436
442
  "polearm": {
437
443
  "type": "boolean"
438
444
  },
445
+ "arrow": {
446
+ "type": "boolean"
447
+ },
448
+ "bolt": {
449
+ "type": "boolean"
450
+ },
439
451
  "weaponCategory": {
440
452
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
441
453
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.9",
4
+ "version": "1.9.10",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -17,6 +17,17 @@
17
17
  "school": {
18
18
  "$ref": "../util.json#/$defs/spellSchool"
19
19
  },
20
+ "subschools": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string",
24
+ "examples": [
25
+ "contaminated"
26
+ ]
27
+ },
28
+ "minItems": 1,
29
+ "uniqueItems": true
30
+ },
20
31
  "meta": {
21
32
  "type": "object",
22
33
  "properties": {
@@ -518,15 +529,6 @@
518
529
  "minItems": 1,
519
530
  "uniqueItems": true
520
531
  },
521
- "subschools": {
522
- "description": "For homebrew use only.",
523
- "type": "array",
524
- "items": {
525
- "type": "string"
526
- },
527
- "minItems": 1,
528
- "uniqueItems": true
529
- },
530
532
  "fluff": {
531
533
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
532
534
  "$ref": "../util.json#/$defs/fluffObject"
@@ -563,6 +565,17 @@
563
565
  "school": {
564
566
  "$ref": "../util.json#/$defs/spellSchool"
565
567
  },
568
+ "subschools": {
569
+ "type": "array",
570
+ "items": {
571
+ "type": "string",
572
+ "examples": [
573
+ "contaminated"
574
+ ]
575
+ },
576
+ "minItems": 1,
577
+ "uniqueItems": true
578
+ },
566
579
  "meta": {
567
580
  "type": "object",
568
581
  "properties": {
@@ -1064,15 +1077,6 @@
1064
1077
  "minItems": 1,
1065
1078
  "uniqueItems": true
1066
1079
  },
1067
- "subschools": {
1068
- "description": "For homebrew use only.",
1069
- "type": "array",
1070
- "items": {
1071
- "type": "string"
1072
- },
1073
- "minItems": 1,
1074
- "uniqueItems": true
1075
- },
1076
1080
  "fluff": {
1077
1081
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
1078
1082
  "$ref": "../util.json#/$defs/fluffObject"
@@ -1117,6 +1121,17 @@
1117
1121
  "school": {
1118
1122
  "$ref": "../util.json#/$defs/spellSchool"
1119
1123
  },
1124
+ "subschools": {
1125
+ "type": "array",
1126
+ "items": {
1127
+ "type": "string",
1128
+ "examples": [
1129
+ "contaminated"
1130
+ ]
1131
+ },
1132
+ "minItems": 1,
1133
+ "uniqueItems": true
1134
+ },
1120
1135
  "meta": {
1121
1136
  "type": "object",
1122
1137
  "properties": {
@@ -1618,15 +1633,6 @@
1618
1633
  "minItems": 1,
1619
1634
  "uniqueItems": true
1620
1635
  },
1621
- "subschools": {
1622
- "description": "For homebrew use only.",
1623
- "type": "array",
1624
- "items": {
1625
- "type": "string"
1626
- },
1627
- "minItems": 1,
1628
- "uniqueItems": true
1629
- },
1630
1636
  "fluff": {
1631
1637
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
1632
1638
  "$ref": "../util.json#/$defs/fluffObject"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "adventures.json",
4
- "version": "1.10.16",
4
+ "version": "1.10.17",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "adventure": {
@@ -199,7 +199,8 @@
199
199
  "Adventure Atlas",
200
200
  "Heroes' Feast",
201
201
  "Family Friendly",
202
- "Grim Hollow"
202
+ "Grim Hollow",
203
+ "Drakkenheim"
203
204
  ]
204
205
  }
205
206
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.15",
6
+ "version": "1.8.16",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -257,6 +257,12 @@
257
257
  },
258
258
  "skipItalics": {
259
259
  "type": "boolean"
260
+ },
261
+ "style": {
262
+ "type": "string",
263
+ "enum": [
264
+ "quote-pull"
265
+ ]
260
266
  }
261
267
  },
262
268
  "required": [
@@ -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.15",
4
+ "version": "1.5.16",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -216,6 +216,14 @@
216
216
  "description": "Flag used when merging generic variants",
217
217
  "type": "boolean"
218
218
  },
219
+ "arrow": {
220
+ "description": "Flag used when merging generic variants",
221
+ "type": "boolean"
222
+ },
223
+ "bolt": {
224
+ "description": "Flag used when merging generic variants",
225
+ "type": "boolean"
226
+ },
219
227
  "weapon": {
220
228
  "description": "Flag used when merging generic variants",
221
229
  "type": "boolean"
@@ -469,6 +477,14 @@
469
477
  "description": "Flag used when merging generic variants",
470
478
  "type": "boolean"
471
479
  },
480
+ "arrow": {
481
+ "description": "Flag used when merging generic variants",
482
+ "type": "boolean"
483
+ },
484
+ "bolt": {
485
+ "description": "Flag used when merging generic variants",
486
+ "type": "boolean"
487
+ },
472
488
  "weapon": {
473
489
  "description": "Flag used when merging generic variants",
474
490
  "type": "boolean"
@@ -726,6 +742,14 @@
726
742
  "description": "Flag used when merging generic variants",
727
743
  "type": "boolean"
728
744
  },
745
+ "arrow": {
746
+ "description": "Flag used when merging generic variants",
747
+ "type": "boolean"
748
+ },
749
+ "bolt": {
750
+ "description": "Flag used when merging generic variants",
751
+ "type": "boolean"
752
+ },
729
753
  "weapon": {
730
754
  "description": "Flag used when merging generic variants",
731
755
  "type": "boolean"
@@ -3,7 +3,7 @@
3
3
  "$id": "items-shared.json",
4
4
  "title": "Shared Item Schema",
5
5
  "description": "Shared item definitions to be used in item schemas.",
6
- "version": "1.0.5",
6
+ "version": "1.0.6",
7
7
  "$defs": {
8
8
  "_itemModifySpeedEqual": {
9
9
  "type": "string",
@@ -139,6 +139,11 @@
139
139
  "dawn",
140
140
  "dusk",
141
141
  "midnight",
142
+ "week",
143
+ "month",
144
+ "year",
145
+ "decade",
146
+ "century",
142
147
  "special"
143
148
  ]
144
149
  },
@@ -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.12",
4
+ "version": "1.8.13",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "magicvariant": {
@@ -88,6 +88,12 @@
88
88
  "polearm": {
89
89
  "type": "boolean"
90
90
  },
91
+ "arrow": {
92
+ "type": "boolean"
93
+ },
94
+ "bolt": {
95
+ "type": "boolean"
96
+ },
91
97
  "weaponCategory": {
92
98
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
93
99
  }
@@ -416,6 +422,12 @@
416
422
  "polearm": {
417
423
  "type": "boolean"
418
424
  },
425
+ "arrow": {
426
+ "type": "boolean"
427
+ },
428
+ "bolt": {
429
+ "type": "boolean"
430
+ },
419
431
  "weaponCategory": {
420
432
  "$ref": "items-shared.json#/$defs/itemWeaponCategory"
421
433
  }