Examples

Examples on this site follow one rule: prefer synchronized code from FTK2.ModAPI.ExampleMod over invented snippets.

The initial documentation therefore contains workflow examples and proven test identities but does not claim compilable C# snippets until the current source tree is available to DocFX. Once the toolkit checkout is connected, this section should add extracted/verified examples for:

  • basic mod registration;
  • a custom weapon;
  • armor/accessory/consumable property examples whose runtime tests pass;
  • a custom ability;
  • an item referencing that custom ability.

This approach keeps tutorials aligned with the SDK that users actually download.