feat: add Shadowdark Quickstart Set data - #1
Merged
Conversation
Adds full weapon, armor, spell, class, and ancestry data sourced from the Shadowdark RPG Quickstart Set (free content, © 2023 The Arcane Library, LLC). - 14 weapons (club, crossbow, greataxe, greatsword, handaxe, javelin, longbow, longsword, mace, shortbow, shortsword, spear, staff, warhammer) - 4 armor pieces (leather armor, chainmail, plate mail, shield) - 16 spells: 12 wizard tier 1 + 6 priest tier 1 (light and protection from evil shared across both classes) - 4 classes: Fighter, Priest, Thief, Wizard - 4 ancestries: Human, Elf, Dwarf, Halfling - 4 new schemas: armor, spell, class, ancestry - Bumped codex version to 0.1.0 https://claude.ai/code/session_01FzundV4gavWqjzNucHL8cy
- Add .github/workflows/validate.yml running npx -y ajv-cli per data category (weapons, armor, spells, classes, ancestries) on push and PR - Add schema/dice.json locally so validation works offline (was an external URL reference in weapon.json and class.json) - Add $id to coins.json, distance.json, item.json, dice.json so ajv-cli can resolve cross-schema $ref without key collisions - Fix armor.json: replace required ["ac"] with oneOf so shields (which only have ac_bonus) pass validation - Update weapon.json and class.json $ref to use local ./dice.json https://claude.ai/code/session_01FzundV4gavWqjzNucHL8cy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
$(cat <<'EOF'
Summary
Populates the codex with structured game data from the free Shadowdark RPG Quickstart Set (© 2023 The Arcane Library, LLC). All data files reference
data/source/quickstart-set.jsonas their source.armor.json,spell.json,class.json,ancestry.jsoncodex.jsonversion to0.1.0Test plan
attributesvalues are within the enum defined inschema/weapon.jsonClose,Near,Far) matchschema/distance.jsonschema/coins.jsonEOF
)"
Generated by Claude Code