Skip to content

Quest completion detection #7

Description

@aebrer

Summary

The Kind God assigns quests via assign_mission but has no way to know if players completed them. Add objective tracking so the gods can react to quest completion.

Details

When the Kind God assigns a mission, it could specify completion conditions:

  • Item-based: "Bring me 3 diamonds" — check inventory on next status beacon
  • Location-based: "Travel to the Nether" — check dimension
  • Kill-based: "Slay 5 zombies" — track kill events
  • Build-based: "Build a shelter" — check for block placement activity

The backend would track active quests per player and check conditions each tick. On completion, inject a [QUEST COMPLETED] note into the god's event summary so it can react and reward the player.

Changes needed

  • Backend: New quests.py module with quest state tracking
  • Backend (commands.py): Extend assign_mission with optional completion conditions
  • Backend (events.py): Check quest conditions against player status/events
  • God prompts: Add quest context to system prompts
  • Kind God tools: Update assign_mission tool schema with condition parameters

Complexity

Medium-high — requires condition evaluation engine, but can start simple (item/location only).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions