D&D: import Open5e SRD magic items as a vendored reference registry

fetch/gen magicitems subcommands vendor data/open5e/magicitems.json (237
SRD items) and classify them into a generated registry. magic_items.go
holds the MagicItem struct + Kind enum + an init-time overlay merge where
a hand-authored entry wins on ID collision, mirroring the spell and
bestiary imports. Not yet wired into zone loot or the shop — that
integration is a deliberate follow-up.
This commit is contained in:
prosolis
2026-05-14 18:00:29 -07:00
parent 908e2b0855
commit 15cfe065a3
7 changed files with 2596 additions and 7 deletions

5
NOTICE
View File

@@ -3,9 +3,8 @@ 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.
Portions of GogoBee's spell, bestiary, and magic-item 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)