π§ Quest Schema
Defines quests, their requirements, rewards, and logic triggers in the game.
β Field Rules & Accepted Values
Field | Type | Required | Notes |
---|---|---|---|
id | string | β Yes | Unique quest ID (e.g., 'find_orb') |
title | string | β Yes | Display name in UI. |
description | string | β Yes | Narrative or instruction for player. |
giverNpcId | string | β No | ID from NPC schema (e.g., 'elder_mage') |
requirements | array | β Yes | List of quest objectives. |
rewards | array | β Yes | List of rewards given on completion. |
isRepeatable | boolean | β No | Whether quest can be done more than once. |
autoStart | boolean | β No | Whether quest starts automatically on game start. |
unlocksQuestIds | string[] | β No | List of quest IDs this unlocks. |
hiddenUntilAvailable | boolean | β No | If true, remains hidden until triggered. |
levelId | number | β No | Restrict availability to a level. |