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):