Example Mod
FTK2.ModAPI.ExampleMod serves two jobs:
- a real consumer of the public SDK; and
- the runtime validation harness used to prove behavior against FTK2.
That makes it the preferred source for tutorial snippets. Documentation should copy or extract examples from ExampleMod rather than maintaining parallel pseudo-code.
Current evidence from ExampleMod
The retrieved 0.5.4 runtime evidence exercises mod registration, logging/diagnostics, namespaced ownership, custom ability registration/activation, custom item-to-ability dependency resolution and save-compatibility preflight behavior.
Some manual consumer boundaries remain incomplete in that same 0.5.4 evidence. In particular, the custom-ability tooltip description did not resolve in the observed test, and the downstream equipped-action/combat/native-execution checks were not completed. See Custom Abilities.
Documentation rule
When ExampleMod changes a public workflow, update the corresponding tutorial in the same change. Generated API pages explain the contract; ExampleMod-backed tutorials explain how to use it.