Navigation Quest Time Routine (NQTR)
What is NQTR? NQTR (Navigation Quest Time Routine) is an extension for Pixi’VN that adds advanced systems for navigation, quests, time management, and game state handling. It is fully customizable and extensible, enabling developers to implement complex game mechanics with ease.
설치
템플릿
새 Pixi’VN 프로젝트를 시작하시나요? Use a template that already includes NQTR.
To install the NQTR package in an existing JavaScript project, use one of the following commands:
npm install @drincs/nqtrYou can enable NQTR hashtag commands in your ink scripts by using the createNqtrHandler function.
import { addBaseHashtagCommands } from "@drincs/pixi-vn-ink";
import { createNqtrHandler } from "@drincs/nqtr/ink";
addBaseHashtagCommands({ bundleIds, assetAliasIds });
createNqtrHandler(); For a better developer experience, use vitePluginNqtr:
import { defineConfig } from "vite";
import { vitePluginNqtr } from "@drincs/nqtr/vite";
export default defineConfig({
// ...
plugins: [
// other plugins...
vitePluginNqtr(),
],
});템플릿
In all templates, the OnRunProps interface is already overridden. You can find it in the nqtr.d.ts file.
Some NQTR functions require you to pass an OnRunProps object as a parameter. This allows you to customize and access properties in system-triggered functions.
You can override the OnRunProps interface in your .d.ts file to specify required parameters.
import { narration } from "@drincs/pixi-vn";
declare module "@drincs/pixi-vn" {
interface OnRunProps {
navigate: (route: string) => void;
}
}NQTR ships a set of Agent Skills that teach AI coding assistants how to correctly use each part of the library. If the project uses ink, the skills prefer ink hashtag commands over TypeScript labels.
In LM Studio Bionic, ask the agent to install skills from
https://github.com/DRincs-Productions/nqtr, or add the skill files in Settings → Skills. Codex 또는 Claude Code용으로 설치한 스킬을 다시 사용하려면 Settings → Skills → Use skills found in other apps를 활성화하세요.
Codex:
npx skills@latest add DRincs-Productions/nqtr@latest --skill '*' --agent codex -g -yClaude Code:
npx skills@latest add DRincs-Productions/nqtr@latest --skill '*' --agent claude-code -g -y기타 에이전트(범용):
npx skills@latest add DRincs-Productions/nqtr@latest --skill '*' --agent universal -g -yFeatures
NQTR provides the following features (the order is important):