Example Mod
FTK2.ModAPI.ExampleMod is both the canonical public consumer and the controlled validation harness used during Toolkit development.
| Source | What to learn from it |
|---|---|
ContentExample.cs |
Definition registration, activation, pending game data, and rollback |
AbilityContentExample.cs |
Localization, template-based abilities, supported effects, activation, and cleanup |
DemoItemContent.cs |
Weapon, armor, accessory, and consumable gameplay recipes |
ExamplePlugin.cs |
BepInEx dependency and safe default configuration |
The wiki adapts those real public calls in Basic registration, Custom Weapon, Custom Armor, Custom Consumable, and Custom Ability.
0.5.9 runtime result
community.example:flame_cleave was attached to Ember Axe, resolved in its tooltip, enumerated from the equipped weapon, created as a visible/selectable combat action, and executed through FTK2 with correlated enemy HP damage. The accepted session finished with 69 passes, 0 failures, and 0 errors.
The default ExampleMod configuration does not add test content or mutate gameplay. Enable test groups only for a numbered maintainer procedure on a disposable campaign.