Skip to main content

QuestEngine

21 tools in this family (folder Editor/Tools/QuestEngine/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
quest_activatewritesActivate a quest, changing it from Inactive to Active state.
quest_add_actionwritesAdd a side-effect action to a quest node that fires on state change.
quest_add_conditionwritesAdd a completion condition to a task node. Condition kinds:
quest_add_counterwritesCreate a counter for tracking numeric progress within a quest
quest_add_nodewritesAdd a node to a quest graph. Node types: Start (entry point), Task (objective),
quest_createwritesCreate a new quest definition with metadata. Returns the quest ID.
quest_create_templatewritesCreate a reusable quest template for procedural generation. Templates
quest_deletewritesDelete a quest from the database entirely. This is irreversible.
quest_exportwritesExport the quest database to a JSON file. Includes all quests with
quest_generatewritesProcedurally generate a quest from a template and world state.
quest_generate_codewritesGenerate C# source files from the current quest database. Produces:
quest_get_stateread-onlyGet the current state of a quest and all its nodes, counters, and rewards.
quest_importwritesImport quests from a JSON file into the database. Merges with existing
quest_link_nodeswritesCreate a directed edge from one node to another in the quest graph.
quest_listread-onlyList all quests in the database, optionally filtered by state.
quest_remove_nodewritesRemove a node from a quest graph. Also removes all links to/from
quest_set_rewardwritesDefine rewards for quest completion. Reward kinds: Xp, Gold, Item,
quest_set_statewritesManually set the state of a quest. Use quest_activate for the normal
quest_setup_indicatorwritesConfigure a quest indicator on an NPC (the !, ? icons above their head).
quest_update_counterwritesIncrement or set a counter value on an active quest. Automatically
quest_validateread-onlyValidate a quest's graph structure and data integrity. Checks for: