EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

QuestDefinition

A quest with fixed lifecycle and declarative objectives.

Signature

{ description: TextKey, giver: (NpcId)?, id: ContentId, name: TextKey, objectives: {QuestObjective}, offer: (QuestOffer)?, reward_parts: ({QuestRewardPart})?, rewards: {QuestReward}, storyline: (QuestStoryline)?, who: (QuestWho)?, xp: (PositiveCount)? }

Fields

NameTypeMeaning
descriptionTextKeyQuest description.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
giverNpcIdNPC offering this quest.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc
idContentIdPackage-qualified identity.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
nameTextKeyQuest title.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
objectives{QuestObjective}Objectives in display order.
Items: 1…64
offerQuestOfferAbsent: auto.
reward_parts{QuestRewardPart}Additional independently receipted completion rewards. Stable quest-local IDs preserve payment when quest parts are merged or extended.
Items: 1…64
rewards{QuestReward}Item grants and permanent recipe unlocks.
Items: 0…16
storylineQuestStorylineAbsent: side.
whoQuestWhoAbsent: together.
xpPositiveCountExperience granted once on completion.
Range: 1…2147483647; Unit: count