Skip to content

Commit c8ab377

Browse files
authored
fix: Fix tests, add Tools data to PR #973 (#974)
## What does this do? This PR applies fixes to the branch for PR #973, in order to correct missing URLs, typos, and so on. ## How was it tested? Tested locally using `npm test` and `npm db:refresh` scripts. All tests pass ## Is there a Github issue this is resolving? No ## Did you update the docs in the API? Please link an associated PR if applicable. No ## Here's a fun image for your troubles <img width="526" height="523" alt="image" src="https://github.com/user-attachments/assets/54244d1b-bc6f-48ce-aa98-3b26b6e25cd0" />
1 parent 3e23bae commit c8ab377

File tree

3 files changed

+28
-24
lines changed

3 files changed

+28
-24
lines changed

src/2024/5e-SRD-Backgrounds.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"feat": {
2323
"index": "magic-initiate",
2424
"name": "Magic Initiate",
25+
"note": "Cleric",
2526
"url": "/api/2024/feats/magic-initiate"
2627
},
2728
"proficiencies": [
@@ -65,16 +66,17 @@
6566
"of": {
6667
"index": "book",
6768
"name": "Book",
69+
"note": "Prayers",
6870
"url": "/api/2024/equipment/book"
6971
}
7072
},
7173
{
7274
"option_type": "counted_reference",
7375
"count": 1,
7476
"of": {
75-
"index": "holy-symbol",
76-
"name": "Holy Symbol",
77-
"url": "/api/2024/equipment/holy-symbol"
77+
"index": "holy-symbols",
78+
"name": "Holy Symbols",
79+
"url": "/api/2024/equipment-categories/holy-symbols"
7880
}
7981
},
8082
{
@@ -109,7 +111,8 @@
109111
}
110112
]
111113
}
112-
}
114+
},
115+
"url": "/api/2024/backgrounds/acolyte"
113116
},
114117
{
115118
"index": "criminal",
@@ -205,9 +208,9 @@
205208
"option_type": "counted_reference",
206209
"count": 1,
207210
"of": {
208-
"index": "traveler-clothes",
209-
"name": "Traveler's Clothes",
210-
"url": "/api/2024/equipment/traveler-clothes"
211+
"index": "clothes-travelers",
212+
"name": "Clothes, Traveler's",
213+
"url": "/api/2024/equipment/clothes-travelers"
211214
}
212215
},
213216
{
@@ -307,6 +310,7 @@
307310
"of": {
308311
"index": "book",
309312
"name": "Book",
313+
"note": "History",
310314
"url": "/api/2024/equipment/book"
311315
}
312316
},
@@ -461,9 +465,9 @@
461465
"option_type": "counted_reference",
462466
"count": 20,
463467
"of": {
464-
"index": "arrow",
465-
"name": "Arrow",
466-
"url": "/api/2024/equipment/arrow"
468+
"index": "arrows",
469+
"name": "Arrows",
470+
"url": "/api/2024/equipment/arrows"
467471
}
468472
},
469473
{
@@ -485,9 +489,9 @@
485489
"option_type": "counted_reference",
486490
"count": 1,
487491
"of": {
488-
"index": "healer-kit",
492+
"index": "healers-kit",
489493
"name": "Healer's Kit",
490-
"url": "/api/2024/equipment/healer-kit"
494+
"url": "/api/2024/equipment/healers-kit"
491495
}
492496
},
493497
{
@@ -503,9 +507,9 @@
503507
"option_type": "counted_reference",
504508
"count": 1,
505509
"of": {
506-
"index": "traveler-clothes",
507-
"name": "Traveler's Clothes",
508-
"url": "/api/2024/equipment/traveler-clothes"
510+
"index": "clothes-travelers",
511+
"name": "Clothes, Traveler's",
512+
"url": "/api/2024/equipment/clothes-travelers"
509513
}
510514
},
511515
{

src/2024/5e-SRD-Equipment-Categories.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -592,9 +592,9 @@
592592
"url": "/api/2024/equipment/brewers-supplies"
593593
},
594594
{
595-
"index": "calligrapher-supplies",
595+
"index": "calligraphers-supplies",
596596
"name": "Calligrapher's Supplies",
597-
"url": "/api/2024/equipment/calligrapher-supplies"
597+
"url": "/api/2024/equipment/calligraphers-supplies"
598598
},
599599
{
600600
"index": "carpenters-tools",
@@ -749,7 +749,7 @@
749749
},
750750
{
751751
"index": "three-dragon-ante",
752-
"name": "Three-dragon Ante",
752+
"name": "Three-Dragon Ante",
753753
"url": "/api/2024/equipment/three-dragon-ante"
754754
}
755755
],
@@ -1605,9 +1605,9 @@
16051605
"url": "/api/2024/equipment/brewers-supplies"
16061606
},
16071607
{
1608-
"index": "calligrapher-supplies",
1608+
"index": "calligraphers-supplies",
16091609
"name": "Calligrapher's Supplies",
1610-
"url": "/api/2024/equipment/calligrapher-supplies"
1610+
"url": "/api/2024/equipment/calligraphers-supplies"
16111611
},
16121612
{
16131613
"index": "carpenters-tools",
@@ -1746,7 +1746,7 @@
17461746
},
17471747
{
17481748
"index": "three-dragon-ante",
1749-
"name": "Three-dragon Ante",
1749+
"name": "Three-Dragon Ante",
17501750
"url": "/api/2024/equipment/three-dragon-ante"
17511751
},
17521752
{

src/2024/5e-SRD-Equipment.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@
847847
"url": "/api/2024/equipment/burglars-pack"
848848
},
849849
{
850-
"index": "calligrapher-supplies",
850+
"index": "calligraphers-supplies",
851851
"name": "Calligrapher's Supplies",
852852
"equipment_categories": [
853853
{
@@ -902,7 +902,7 @@
902902
}
903903
],
904904
"weight": 5,
905-
"url": "/api/2024/equipment/calligrapher-supplies"
905+
"url": "/api/2024/equipment/calligraphers-supplies"
906906
},
907907
{
908908
"index": "caltrops",
@@ -6571,7 +6571,7 @@
65716571
},
65726572
{
65736573
"index": "three-dragon-ante",
6574-
"name": "Three-dragon Ante",
6574+
"name": "Three-Dragon Ante",
65756575
"equipment_categories": [
65766576
{
65776577
"index": "gaming-sets",

0 commit comments

Comments
 (0)