🧭 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.