Skip to content

docs: add data access guide#39

Open
Zodiarche wants to merge 1 commit into
mainfrom
docs/data-access-guide
Open

docs: add data access guide#39
Zodiarche wants to merge 1 commit into
mainfrom
docs/data-access-guide

Conversation

@Zodiarche

Copy link
Copy Markdown
Collaborator

Summary

Adds a data access guide in a new Data section under PSDK (EN + FR), migrated from # Data.md in the engine repository. The page documents the current accessor API verified against the engine source: all 14 data_<kind> accessors and 13 each_data_<kind> iterators (the original document was missing data_dex, data_group, data_map_link and data_nature), the :__undef__ fallback for unknown entries, the Creature/CreatureForm split, and db_symbol vs Integer id lookup. The GameData to Studio migration diffs from the original document are condensed into a short note since they only concern pre-.25.14 projects.

Related issues

Closes #38

Test plan

  • bun run typecheck passes.
  • bun run build passes on both locales (validates internal links and the new category wiring).
  • Accessor list and behavior cross-checked against scripts/3 Studio/001 Accessors.rb; example attributes (price, power, base_hp) verified in the Studio data classes.
  • Visual check to do during review: new "Data" / "Données" category appears under PSDK in the sidebar with its generated index (/psdk/data), page renders at /psdk/data/access-game-data (EN) and /fr/psdk/data/acceder-aux-donnees-du-jeu (FR).

Screenshots

No image on this page (the source document had none).

@Zodiarche Zodiarche self-assigned this Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a data access guide (migrated from the engine repo)

1 participant