Advanced Modding
Beyond content addition / modification, a variety of more advanced hooks have been provided to allow a mod to edit fundamental features of how Afnm works.
- Lifecycle Hooks — intercept combat, crafting, events, loot, and more
- Adding Screens — create full custom UI screens and persistent overlays
- Harmony Type Docs — define custom crafting harmony types
- External Network Requests — fetch data from remote APIs and servers
- Translation — localise your mod content
- Best Practices — defensive coding, debug APIs, and mod architecture patterns