docs: add data access guide#39
Open
Zodiarche wants to merge 1 commit into
Open
Conversation
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.
Summary
Adds a data access guide in a new Data section under PSDK (EN + FR), migrated from
# Data.mdin the engine repository. The page documents the current accessor API verified against the engine source: all 14data_<kind>accessors and 13each_data_<kind>iterators (the original document was missingdata_dex,data_group,data_map_linkanddata_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 typecheckpasses.bun run buildpasses on both locales (validates internal links and the new category wiring).scripts/3 Studio/001 Accessors.rb; example attributes (price,power,base_hp) verified in theStudiodata classes./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).