UNPKG

@drincs/nqtr

Version:

A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.

40 lines (37 loc) 934 B
import { OnRunProps } from '@drincs/nqtr'; import { Q as QuestInterface } from '../../StageInterface-DX74DUxG.mjs'; interface QuestProps { /** * The name of the quest. * @default "" */ name?: string; /** * The description of the quest. * @default "" */ description?: string; /** * The icon of the quest. * @default undefined */ icon?: string; /** * The image of the quest. */ image?: string; /** * If the quest is in development. * @default false */ inDevelopment?: boolean; /** * The function that will be executed when the quest starts. */ onStart?: (quest: QuestInterface, props: OnRunProps) => void; /** * The function that will be executed when a stage end in the quest. */ onNextStage?: (quest: QuestInterface, props: OnRunProps) => void; } export type { QuestProps as default };