Missions

Missions (also called quests or objectives) provide structure and goals for players. They support branching quest chains, multiple completion conditions, rewards, and progression gating.

Overview

Post Type: explore-mission

Missions drive player progression through objectives, rewards, and unlockable content. They can be completed through various methods including reaching locations, defeating enemies, or interacting with items.

Configuration Fields

Basic Setup

Completion Triggers

Location Trigger (explore-mission-trigger):

Item Triggers (explore-trigger-item):

Enemy Trigger (explore-trigger-enemy):

Mission Rewards

Points/Currency:

Value: 100
Value Type: point

Abilities (explore-ability):

Mission Chains

Next Missions (explore-next-mission):

Blockades

Mission Blockade (top, left, height, width):

Hazard Removal (explore-hazard-remove):

Mission Flow

graph LR
    Start[Mission Available] --> Trigger[Player Triggers Completion]
    Trigger --> Reward[Award Rewards]
    Reward --> Remove[Remove Blockades]
    Remove --> Next[Activate Next Missions]
    Next --> Complete[Mission Complete]

Examples

Example 1: Reach Location Mission

Title: Explore the Cave
Area: forest-area

Mission Trigger:
  Top: 1500
  Left: 2000
  Height: 150
  Width: 150

Value: 50
Value Type: point

Next Mission: defeat-cave-boss

Example 2: Defeat Enemy Mission

Title: Defeat the Guardian
Area: temple-entrance

Trigger Enemy: temple-guardian

Value: 100
Value Type: point

Blockade (gates temple interior):
  Top: 1800
  Left: 2500
  Height: 200
  Width: 100

Example 3: Collect Items Mission

Title: Find Three Keys
Area: castle-grounds

Trigger Item:
  - golden-key
  - silver-key
  - bronze-key

Value: 75
Value Type: point

Next Mission:
  - unlock-castle-gate