What is nonkit?
nonkit is a non-official development kit for creating dialogue, quests, and events for The NOexistenceN of Morphean Paradox : The Forest of Silver Shallots (NONMP). It enables live script reloading, quest injection, and localization management during development.Architecture Overview
nonkit consists of two components that work together: nonkit-vsc (VS Code extension) compiles Yarn scripts to bytecode, manages project files (scripts, localization, config), and provides relevant UI features. nonkit-plugin (BepInEx plugin) receives commands via a Windows named pipe (nonmp_debug), merges scripts into the running dialogue system, injects config tables (quests, conditions), and loads localization strings.
The extension sends JSON messages with compiled bytecode to the plugin over the named pipe.
nonkit-vsc
The VS Code extension serves as the development environment, handling Yarn script compilation, project file management, and providing relevant UI features.
nonkit-plugin
The BepInEx plugin runs inside the game. It receives compiled scripts via Windows named pipes and injects them into the running dialogue system without modifying game files.
Key Features
Live Script Reloading
Run individual dialogue nodes directly from VS Code. See changes in the game without restarting.
Quest Injection
Create custom map events and quests using JSON config tables. Define unlock conditions and rewards.
Localization Support
Manage translated strings with auto-generated localization files. Line IDs link dialogue to translations.
Yarn Spinner Syntax
Write dialogue using Yarn Spinner, a dialogue scripting language designed for games.
Get Started
Quickstart Guide
Install nonkit and run your first dialogue node.
