Skip to content

Commit be7e6aa

Browse files
authored
feat(images): Redirect image urls to new image urls (#826)
## What does this do? Changes all `"image"` to use the new endpoint for the API which drops `2014` from the path. ## How was it tested? Locally. ## Here's a fun image for your troubles ![image](https://github.com/user-attachments/assets/89082d4b-e09a-4ed9-bcc8-2d14b4e05e9d)
1 parent d227627 commit be7e6aa

3 files changed

Lines changed: 438 additions & 438 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@
15151515
"url": "/api/2014/weapon-properties/two-handed"
15161516
}
15171517
],
1518-
"image": "/api/2014/images/equipment/crossbow-heavy.png",
1518+
"image": "/api/images/equipment/crossbow-heavy.png",
15191519
"url": "/api/2014/equipment/crossbow-heavy"
15201520
},
15211521
{
@@ -2318,7 +2318,7 @@
23182318
"A creature moving across the covered area must succeed on a DC 10 Dexterity saving throw or fall prone.",
23192319
"A creature moving through the area at half speed doesn't need to make the save."
23202320
],
2321-
"image": "/api/2014/images/equipment/ball-bearings-bag-of-1000.png",
2321+
"image": "/api/images/equipment/ball-bearings-bag-of-1000.png",
23222322
"url": "/api/2014/equipment/ball-bearings-bag-of-1000"
23232323
},
23242324
{
@@ -5307,7 +5307,7 @@
53075307
"desc": [
53085308
"This item encompasses a wide range of game pieces, including dice and decks of cards (for games such as Three-Dragon Ante). A few common examples appear on the Tools table, but other kinds of gaming sets exist. If you are proficient with a gaming set, you can add your proficiency bonus to ability checks you make to play a game with that set. Each type of gaming set requires a separate proficiency."
53095309
],
5310-
"image": "/api/2014/images/equipment/playing-card-set.png",
5310+
"image": "/api/images/equipment/playing-card-set.png",
53115311
"url": "/api/2014/equipment/playing-card-set"
53125312
},
53135313
{
@@ -5365,7 +5365,7 @@
53655365
"desc": [
53665366
"Several of the most common types of musical instruments are shown on the table as examples. If you have proficiency with a given musical instrument, you can add your proficiency bonus to any ability checks you make to play music with the instrument. A bard can use a musical instrument as a spellcasting focus. Each type of musical instrument requires a separate proficiency."
53675367
],
5368-
"image": "/api/2014/images/equipment/dulcimer.png",
5368+
"image": "/api/images/equipment/dulcimer.png",
53695369
"url": "/api/2014/equipment/dulcimer"
53705370
},
53715371
{

0 commit comments

Comments
 (0)