Dungeon & Dragons 5e scrap
This repository contains D&D 5e scraped data.
Data structure
Output objects should respect a few rules.
- All objects must have an
idwhich is a string that uniqely identify a document - Localised strings (eg. weapon name) are records which maps locale to string value
{
"name": {
"fr": "Dague",
"en": "Dagger"
}
}- Prices are stored as gp and the lower possible value if not
0is0.01(1 cp) - Weights are stored as a record of
kgandlb. Although there is a common ratio of1kg:2lbthis is not always respected
{
"weight": {
"lb": 0.25,
"kg": 0.1
}
}- Distances are stored as a record of
feetandmeters
{
"range": {
"feet": 5,
"meters": 1.5
}
}- Things that involve rolling dices are stored as
formula
1d4
1d10 + 4
2d12 + 1d8
- Damage is stored as a record of
formulaandtype
{
"damage": {
"formula": "1d8",
"type": "piercing"
}
}- Objets must include a
sourceattribute (seejson/sources.json)
Collections
weapons.jsonall weapons
Output
There is currently a single output format :
json/contains scrapped data as json format
On this page
Languages
TypeScript100.0%
Created June 22, 2022
Updated June 22, 2022