This project provides a complete framework for creating mods for Ascend From Nine Mountains. You can find the game here.
For comprehensive guides on modding AFNM, visit our complete documentation site:
- Project Setup - Environment setup and first steps
- Mod Development - Using the ModAPI and building content
- Packaging & Testing - Building and testing your mod
- Publishing - Releasing to Steam Workshop
- Your First Mod - Full guide putting the above steps together to make a mod
- Flags System - State management and tracking
- Scaling System - Dynamic value calculations
- ModAPI - Overview of the modding API
Use Node.js 22 or newer. This template targets AFNM 0.7.16 with React 19.3 and Material UI 9.4. Keep afnm-types and the UI packages compatible with the game version you are modding.
- Clone/fork this repository
- Install dependencies:
npm install - Edit
package.jsonwith your mod details - Start coding in
src/modContent/index.ts - Check types:
npm run typecheck - Build your mod:
npm run build - Test by placing the ZIP from
builds/in the game'smods/folder