Files
gogobee/NOTICE
prosolis 6ef8b9fd0a D&D: import Open5e SRD spell lists, make the five casters playable
Rebuilds the cmd/open5e-import CLI (fetch/gen × spells) to vendor
data/open5e/spells.json (319 SRD spells) and generate
dnd_spells_srd_data.go (237 after the level>5 filter). mapClasses unions
the API's incomplete structured spell_lists field with the complete
free-text dnd_class field so all eight casters get spells.

dndSpellRegistry loads buildSRDSpellList() first; the hand-authored
buildSpellList() overlays it (hand wins on ID collision). Playable=true
flipped for Druid/Bard/Sorcerer/Warlock/Paladin, each with a
defaultKnownSpells case. TestDefaultKnownSpellsExistInRegistry now covers
all eight classes.

.gitignore: vendor data/open5e/ while keeping the rest of data/ ignored,
and anchor the open5e-import binary pattern so it stops swallowing the
cmd/open5e-import source dir. NOTICE adds CC-BY-4.0 / SRD attribution.
2026-05-14 15:18:18 -07:00

21 lines
908 B
Plaintext

GogoBee — third-party content attribution
==========================================
Open5e SRD data
---------------
Portions of GogoBee's spell data (and, as they land, bestiary and equipment
data) are derived from the Open5e dataset, which republishes the Systems
Reference Document (SRD) 5.1.
Source: https://open5e.com / https://api.open5e.com
License: Creative Commons Attribution 4.0 International (CC-BY-4.0)
https://creativecommons.org/licenses/by/4.0/
SRD 5.1: © Wizards of the Coast LLC, released under CC-BY-4.0.
The data is vendored into this repository (data/open5e/) and compiled into
generated Go source (e.g. internal/plugin/dnd_spells_srd_data.go) by the
cmd/open5e-import tool. GogoBee has no runtime dependency on the Open5e API.
GogoBee's hand-authored balance tuning, classifiers, and game systems built
on top of this data are not themselves SRD content.