🧭 Quest Schema

Defines quests, their requirements, rewards, and logic triggers in the game.

βœ… Field Rules & Accepted Values

FieldTypeRequiredNotes
idstringβœ… YesUnique quest ID (e.g., 'find_orb')
titlestringβœ… YesDisplay name in UI.
descriptionstringβœ… YesNarrative or instruction for player.
giverNpcIdstring❌ NoID from NPC schema (e.g., 'elder_mage')
requirementsarrayβœ… YesList of quest objectives.
rewardsarrayβœ… YesList of rewards given on completion.
isRepeatableboolean❌ NoWhether quest can be done more than once.
autoStartboolean❌ NoWhether quest starts automatically on game start.
unlocksQuestIdsstring[]❌ NoList of quest IDs this unlocks.
hiddenUntilAvailableboolean❌ NoIf true, remains hidden until triggered.
levelIdnumber❌ NoRestrict availability to a level.