EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

QuestObjective

A latched objective; type determines its required parameters.

Signature

{ after: (Name)?, animal: (AnimalId)?, boss: (EnemyId)?, choice: (Name)?, count: (PositiveCount)?, crop: (CropId)?, cutscene: (CutsceneId)?, each_player: (boolean)?, elsewhere: (TextKey)?, enemy: (EnemyId)?, faction: (ContentId)?, group: (Name)?, hidden: (boolean)?, id: Name, item: (QuestItems)?, jump: (ObjectiveJump)?, map_marker: (ObjectiveMarker)?, name: (DisplayText)?, npc: (NpcId)?, object: (WorldObjectId)?, puzzle: (PuzzleId)?, repair_materials: (boolean)?, skill: (SkillId)?, stored: (boolean)?, structure: (QuestStructures)?, text: (TextKey)?, to: (DeliveryTarget)?, type: ObjectiveType, ["until"]: (QuestWait)?, variable: (VariableId)?, waiting: (TextKey)?, where: (QuestWhere)?, who_present: (TriggerGather)? }

Fields

NameTypeMeaning
afterNameObjective that must finish before counting starts.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
animalAnimalIdAnimal definition for herd.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: animal
bossEnemyIdBoss for defeat; mutually exclusive with enemy.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: enemy
choiceNameRequired dialogue choice, if any.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
countPositiveCountRequired amount; absent: one.
Range: 1…2147483647; Unit: count
cropCropIdCrop for plant or harvest.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: crop
cutsceneCutsceneIdScene for watch.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: cutscene
each_playerbooleanFor a shared have objective: every online player must hold count matching items at the same time; no party amount scaling.
elsewhereTextKeyFor shared reach with all_online: localized hint for players elsewhere; absent: the general gathering hint.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
enemyEnemyIdEnemy for defeat.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: enemy
factionContentIdFor defeat: only enemies of this faction count (deaths and yields); with neither enemy nor boss, any of them.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
groupNameFor defeat: only enemies of this spawn group count (`spawn.group`); with neither enemy nor boss, any of them.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
hiddenbooleanHide this objective; absent: false.
idNameQuest-local unique identity.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
itemQuestItemsItem for gather, craft, have, deliver or give; optional for cook and catch.
jumpObjectiveJumpFor custom: the player's deed its handlers count, for the keeper's story jump; required for custom objectives of chapter quests.
map_markerObjectiveMarkerOverride the marker derived from where or npc.
nameDisplayTextRequired player-assigned sign name, if any.
Length: 1…4096; Pattern: ^[\s\S]*$
npcNpcIdTarget NPC and speech bubble.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc
objectWorldObjectIdWorld object for find.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: world_object
puzzlePuzzleIdPuzzle group for solve.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: puzzle
repair_materialsbooleanFor gather or have with one item: derive the fixed amount from all matching start-map placements of this quest's repair objectives and their repair recipes; excludes count and party scaling.
skillSkillIdLesson for learn: the skill its teacher teaches.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: skill
storedbooleanFor have: count chest contents instead of player inventories.
structureQuestStructuresStructure for build, place or repair.
textTextKeyOptional localized label.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
toDeliveryTargetRecipient for deliver; items are consumed on handover.
typeObjectiveTypeEvent matcher.
untilQuestWaitTime boundary for wait.
variableVariableIdInteger variable for custom.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: variable
waitingTextKeyFor shared reach with all_online: localized waiting text; absent: the general gathering hint.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text
whereQuestWhereSpatial restriction on matching facts.
who_presentTriggerGatherFor reach: require all active online players simultaneously, as for gathering triggers; absent: any player.