Purpose: Configuration for a single quest. Created as a ScriptableObject. It stores UI text (title, description), a list of objectives, and the conditions under which the quest can be accepted.
- Create a quest via the menu
Right Click > Create > Neoxider > Quest > Quest Config. - Set the
_id(a unique identifier, e.g.,kill_boars). - Fill in
_titleand_description. - Configure the
_objectiveslist (see QuestObjectiveData). - If needed, specify
_startConditions(e.g., "Player must be level 5").
| Field | Description |
|---|---|
_id |
Unique quest ID. Used in code for accepting/saving. |
_title, _description |
Name and detailed description for the UI. |
_icon |
(Optional) Quest sprite. |
_objectives |
A list of tasks that must be completed to finish the quest. |
_startConditions |
A list of conditions (NeoCondition) checked before giving the quest. |
_nextQuestIds |
(Optional) IDs of quests that become available after finishing this one. |
- QuestFlowConfig - For linking quests into chains.
- QuestManager - Main manager.
- Module Root