Built-in Mods and Submodules
Estimated reading time: 3 minutesModLoader splits non-core functionality into separate Mods and ships common ones as built-ins. These Mods are defined in modList.json, live as Git submodules under mod/, and are embedded as local type into the game HTML via insert2html. This list is aligned with the sugarcube-2-ModLoader README.
Core Infrastructure
Twee Content Operations
Images and UI
i18n Internationalization
DoL-Specific Hooks
Game Content Plugins
External Mods and Tools
Info
For detailed usage of each Mod, see the corresponding Mod project's README.md.
Common Addon Usage Examples
TweeReplacer
Replace game Passage content. Declare the dependency in boot.json:
ReplacePatch
Simple string replacement for JS/CSS/Passage content:
ImageLoaderHook
Replace game images. Add images to imgFileList — images matching base game paths are replaced automatically:
Creating a Custom Addon
If none of the built-in addons fit, you can create a custom addon:
Consumer mods declare the dependency in their boot.json:
