Crossfire Server, Trunk  R20513
Data Fields
quest_condition Struct Reference

One condition to automatically move to a quest step. More...

Collaboration diagram for quest_condition:
Collaboration graph

Data Fields

int maxstep
 The latest step that triggers the condition, to match, the stages must be between minstep and maxstep. More...
 
int minstep
 The earliest step in the quest that triggers the condition, -1 means finished, 0 means not started. More...
 
struct quest_conditionnext
 The next condition to check. More...
 
sstring quest_code
 The quest that triggers the condition. More...
 

Detailed Description

One condition to automatically move to a quest step.

Definition at line 61 of file quest.c.

Field Documentation

int quest_condition::maxstep

The latest step that triggers the condition, to match, the stages must be between minstep and maxstep.

Definition at line 65 of file quest.c.

Referenced by evaluate_quest_conditions(), and load_quests_from_file().

int quest_condition::minstep

The earliest step in the quest that triggers the condition, -1 means finished, 0 means not started.

Definition at line 63 of file quest.c.

Referenced by evaluate_quest_conditions(), and load_quests_from_file().

struct quest_condition* quest_condition::next

The next condition to check.

Definition at line 67 of file quest.c.

Referenced by evaluate_quest_conditions(), free_quest_definitions(), and load_quests_from_file().

sstring quest_condition::quest_code

The quest that triggers the condition.

Definition at line 62 of file quest.c.

Referenced by evaluate_quest_conditions(), free_quest_definitions(), and load_quests_from_file().


The documentation for this struct was generated from the following file: