Repository navigation
docs: refresh API contracts and add an extension cookbook - #24
Merged
Merged
Conversation
The perk adrenaline belongs to the shadow_ops bundle, unpriced stock cards are not shop offers, and PW.Reveal also takes a source token. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…n perks Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…ith the code Document the readiness preflight and dependency pins, the scheduled map change, PW_MatchStartRefused, the pending playlist field and the privileges the core declares. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…ntegrations Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…easons Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…d generation Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…the feature contracts The approved decisions are unchanged; this adds the code's readiness replication keys, invalidation hook, site message, playlist codec and chatter messages. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…eboard extension Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…d gate Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
… reset message Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…D element Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
… invalidation Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…ogression details Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…e to the loadout contract Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…ote the phase listener defect Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
… date Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…bby errors and class lists Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…t runtime in the modes contract Also record the score context argument, the popup order, the shipped modes and score events, the bot settings and the vote refusals. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…e bots contract Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
…medals row Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
Bring the player guide in line with the shipped lobby, modes, scheduled playlists, menu tabs, gamepad bindings, HUD, progression and weekly challenges, and correct the stale vote, LOADOUT and troubleshooting facts. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
Add one recipe per extension case: content packs, modes, perks, killstreaks, wildcards, equipment, bot behaviours, weapon adapters, modules with settings, HUD and screens, map data, playlists, progression content and a hook reference. Each recipe has a minimal and a realistic example checked against the current API, pitfalls and a GLuaTest pattern. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
Explain how the merged lua tree is loaded, the rules every kind shares and the full kind table, and link every recipe instead of inlining a few. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
kitsunoff
force-pushed
the
docs/api-refresh
branch
from
December 1, 2026 19:29
330c2bc to
2c7cac7
Compare
kitsunoff
marked this pull request as ready for review
December 1, 2026 19:29
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.
What
docs/api/*.mdcontract document in line with the current code inaddons/(core, the weapon-baseintegrations, Infection). Stale functions, signatures, settings, hooks, net messages, file lists and statuses are
corrected; public API that existed only in code is documented; the API index lists every file with current status.
docs/guide/playing.md) for the current game: all modes, playlists, menu tabs, settings,controls, progression and weekly challenges.
docs/guide/extending.mdinto the entry point of an extension cookbook underdocs/guide/extending/: your owncontent addon, modes, perks, killstreaks, wildcards, equipment, bot behaviours, weapon-base adapters, modules and
settings, HUD and UI, map data, playlists, progression and unlocks, and the most useful
PW_*hooks. Each recipe hasa minimal and a realistic example, pitfalls, a GLuaTest example and links to the contracts.
Why
The documentation drifted during many merges and the guides covered only a few simple cases. Contributors and coding
agents need current contracts and worked examples for the common ways to extend the gamemode.
Notes
listed for follow-up rather than resolved here.
Verification
make checkpasses (lint, types, markdown, rules, agent-guide links, self-tests).