nqtr-routine
Installation
SKILL.md
NQTR routine (commitments)
Official docs: pixi-vn.com/nqtr/routine. Index: nqtr. Ink commands: nqtr-ink.
A commitment says that a character is busy in a room during a time slot. The routine is the set of commitments active now; it decides which characters are in the current room and what happens when the player interacts with them.
Initialize
new CommitmentBaseModel(id, character | characters | undefined, props), then RegisteredCommitments.add(...) (required). character is a character id/instance, or an array.
import { CommitmentBaseModel, RegisteredCommitments } from "@drincs/nqtr";
import { narration } from "@drincs/pixi-vn";