Skip to content

Commit 0cf4a6c

Browse files
authored
fix: 🐛 make urls in 2014 data to point to /api/2014 endpoint (#784)
fix: 🐛 make urls in 2014 data to point to the new `/api/2014` endpoint
1 parent 20bff52 commit 0cf4a6c

25 files changed

+10920
-10920
lines changed

src/2014/5e-SRD-Ability-Scores.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
{
1212
"name": "Athletics",
1313
"index": "athletics",
14-
"url": "/api/skills/athletics"
14+
"url": "/api/2014/skills/athletics"
1515
}
1616
],
17-
"url": "/api/ability-scores/str"
17+
"url": "/api/2014/ability-scores/str"
1818
},
1919
{
2020
"index": "dex",
@@ -28,20 +28,20 @@
2828
{
2929
"name": "Acrobatics",
3030
"index": "acrobatics",
31-
"url": "/api/skills/acrobatics"
31+
"url": "/api/2014/skills/acrobatics"
3232
},
3333
{
3434
"name": "Sleight of Hand",
3535
"index": "sleight-of-hand",
36-
"url": "/api/skills/sleight-of-hand"
36+
"url": "/api/2014/skills/sleight-of-hand"
3737
},
3838
{
3939
"name": "Stealth",
4040
"index": "stealth",
41-
"url": "/api/skills/stealth"
41+
"url": "/api/2014/skills/stealth"
4242
}
4343
],
44-
"url": "/api/ability-scores/dex"
44+
"url": "/api/2014/ability-scores/dex"
4545
},
4646
{
4747
"index": "con",
@@ -52,7 +52,7 @@
5252
"Constitution checks are uncommon, and no skills apply to Constitution checks, because the endurance this ability represents is largely passive rather than involving a specific effort on the part of a character or monster."
5353
],
5454
"skills": [],
55-
"url": "/api/ability-scores/con"
55+
"url": "/api/2014/ability-scores/con"
5656
},
5757
{
5858
"index": "int",
@@ -66,30 +66,30 @@
6666
{
6767
"name": "Arcana",
6868
"index": "arcana",
69-
"url": "/api/skills/arcana"
69+
"url": "/api/2014/skills/arcana"
7070
},
7171
{
7272
"name": "History",
7373
"index": "history",
74-
"url": "/api/skills/history"
74+
"url": "/api/2014/skills/history"
7575
},
7676
{
7777
"name": "Investigation",
7878
"index": "investigation",
79-
"url": "/api/skills/investigation"
79+
"url": "/api/2014/skills/investigation"
8080
},
8181
{
8282
"name": "Nature",
8383
"index": "nature",
84-
"url": "/api/skills/nature"
84+
"url": "/api/2014/skills/nature"
8585
},
8686
{
8787
"name": "Religion",
8888
"index": "religion",
89-
"url": "/api/skills/religion"
89+
"url": "/api/2014/skills/religion"
9090
}
9191
],
92-
"url": "/api/ability-scores/int"
92+
"url": "/api/2014/ability-scores/int"
9393
},
9494
{
9595
"index": "wis",
@@ -103,30 +103,30 @@
103103
{
104104
"name": "Animal Handling",
105105
"index": "animal-handling",
106-
"url": "/api/skills/animal-handling"
106+
"url": "/api/2014/skills/animal-handling"
107107
},
108108
{
109109
"name": "Insight",
110110
"index": "insight",
111-
"url": "/api/skills/insight"
111+
"url": "/api/2014/skills/insight"
112112
},
113113
{
114114
"name": "Medicine",
115115
"index": "medicine",
116-
"url": "/api/skills/medicine"
116+
"url": "/api/2014/skills/medicine"
117117
},
118118
{
119119
"name": "Perception",
120120
"index": "perception",
121-
"url": "/api/skills/perception"
121+
"url": "/api/2014/skills/perception"
122122
},
123123
{
124124
"name": "Survival",
125125
"index": "survival",
126-
"url": "/api/skills/survival"
126+
"url": "/api/2014/skills/survival"
127127
}
128128
],
129-
"url": "/api/ability-scores/wis"
129+
"url": "/api/2014/ability-scores/wis"
130130
},
131131
{
132132
"index": "cha",
@@ -140,24 +140,24 @@
140140
{
141141
"name": "Deception",
142142
"index": "deception",
143-
"url": "/api/skills/deception"
143+
"url": "/api/2014/skills/deception"
144144
},
145145
{
146146
"name": "Intimidation",
147147
"index": "intimidation",
148-
"url": "/api/skills/intimidation"
148+
"url": "/api/2014/skills/intimidation"
149149
},
150150
{
151151
"name": "Performance",
152152
"index": "performance",
153-
"url": "/api/skills/performance"
153+
"url": "/api/2014/skills/performance"
154154
},
155155
{
156156
"name": "Persuasion",
157157
"index": "persuasion",
158-
"url": "/api/skills/persuasion"
158+
"url": "/api/2014/skills/persuasion"
159159
}
160160
],
161-
"url": "/api/ability-scores/cha"
161+
"url": "/api/2014/ability-scores/cha"
162162
}
163163
]

src/2014/5e-SRD-Alignments.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,62 +4,62 @@
44
"name": "Lawful Good",
55
"abbreviation": "LG",
66
"desc": "Lawful good (LG) creatures can be counted on to do the right thing as expected by society. Gold dragons, paladins, and most dwarves are lawful good.",
7-
"url": "/api/alignments/lawful-good"
7+
"url": "/api/2014/alignments/lawful-good"
88
},
99
{
1010
"index": "neutral-good",
1111
"name": "Neutral Good",
1212
"abbreviation": "NG",
1313
"desc": "Neutral good (NG) folk do the best they can to help others according to their needs. Many celestials, some cloud giants, and most gnomes are neutral good.",
14-
"url": "/api/alignments/neutral-good"
14+
"url": "/api/2014/alignments/neutral-good"
1515
},
1616
{
1717
"index": "chaotic-good",
1818
"name": "Chaotic Good",
1919
"abbreviation": "CG",
2020
"desc": "Chaotic good (CG) creatures act as their conscience directs, with little regard for what others expect. Copper dragons, many elves, and unicorns are chaotic good.",
21-
"url": "/api/alignments/chaotic-good"
21+
"url": "/api/2014/alignments/chaotic-good"
2222
},
2323
{
2424
"index": "lawful-neutral",
2525
"name": "Lawful Neutral",
2626
"abbreviation": "LN",
2727
"desc": "Lawful neutral (LN) individuals act in accordance with law, tradition, or personal codes. Many monks and some wizards are lawful neutral.",
28-
"url": "/api/alignments/lawful-neutral"
28+
"url": "/api/2014/alignments/lawful-neutral"
2929
},
3030
{
3131
"index": "neutral",
3232
"name": "Neutral",
3333
"abbreviation": "N",
3434
"desc": "Neutral (N) is the alignment of those who prefer to steer clear of moral questions and don't take sides, doing what seems best at the time. Lizardfolk, most druids, and many humans are neutral.",
35-
"url": "/api/alignments/neutral"
35+
"url": "/api/2014/alignments/neutral"
3636
},
3737
{
3838
"index": "chaotic-neutral",
3939
"name": "Chaotic Neutral",
4040
"abbreviation": "CN",
4141
"desc": "Chaotic neutral (CN) creatures follow their whims, holding their personal freedom above all else. Many barbarians and rogues, and some bards, are chaotic neutral.",
42-
"url": "/api/alignments/chaotic-neutral"
42+
"url": "/api/2014/alignments/chaotic-neutral"
4343
},
4444
{
4545
"index": "lawful-evil",
4646
"name": "Lawful Evil",
4747
"abbreviation": "LE",
4848
"desc": "Lawful evil (LE) creatures methodically take what they want, within the limits of a code of tradition, loyalty, or order. Devils, blue dragons, and hobgoblins are lawful evil.",
49-
"url": "/api/alignments/lawful-evil"
49+
"url": "/api/2014/alignments/lawful-evil"
5050
},
5151
{
5252
"index": "neutral-evil",
5353
"name": "Neutral Evil",
5454
"abbreviation": "NE",
5555
"desc": "Neutral evil (NE) is the alignment of those who do whatever they can get away with, without compassion or qualms. Many drow, some cloud giants, and goblins are neutral evil.",
56-
"url": "/api/alignments/neutral-evil"
56+
"url": "/api/2014/alignments/neutral-evil"
5757
},
5858
{
5959
"index": "chaotic-evil",
6060
"name": "Chaotic Evil",
6161
"abbreviation": "CE",
6262
"desc": "Chaotic evil (CE) creatures act with arbitrary violence, spurred by their greed, hatred, or bloodlust. Demons, red dragons, and orcs are chaotic evil.",
63-
"url": "/api/alignments/chaotic-evil"
63+
"url": "/api/2014/alignments/chaotic-evil"
6464
}
6565
]

0 commit comments

Comments
 (0)