Crossfire Server, Trunk  R21041
quest_condition Struct Reference
+ Collaboration diagram for quest_condition:

Data Fields

int maxstep
 
int minstep
 
struct quest_conditionnext
 
sstring quest_code
 

Detailed Description

One condition to automatically move to a quest step.

Definition at line 61 of file quest.c.

Field Documentation

◆ maxstep

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().

◆ minstep

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().

◆ next

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().

◆ quest_code

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: