|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| static void | add_one_drop_quest_item (object *op, const char *quest_name) |
| static object * | find_quest (object *where, const char *quest_name) |
| static int | has_quest_item (object *op, object *quest_item, sint32 flag, sint64 *num) |
| static void | check_quest_container (object *op, object *quest_container, object *quest_object) |
| void | check_quest (object *op, object *quest_container) |
Quest related code.
Definition in file quest.c.
| static void add_one_drop_quest_item | ( | object * | op, |
| const char * | quest_name | ||
| ) | [static] |
When a monster drops inventory and there is quest container object in it, this function is called to parse the quest container and its contents for any possible quests player may be running.
| op | The player object. |
| quest_container | The quest container. |
Check if specified player object has a given quest item in their inventory (name and arch name are compared).
| op | The player object. | |
| quest_item | The quest item we'll be comparing values from. | |
| flag | Flag to compare the quest item against, 0 for no flag comparison. | |
| [out] | num | If not NULL, will contain number of matching objects found and the return value will always be 0. |
1.7.4