/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* DIRT 3.0.x (Version of AberMUD) *
* *
* Authors of Dirt3.0: Alf Salte (Alf) and Nicknack. See file data/credits *
* *
* File: The old quests.h file is basically included here, with new *
* definitions for the quest systems. See also questnames.h (Ithor) *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* ====================== Define each quests number =========================*/
#define Q_EFOREST 0
#define Q_TOWER 1
#define Q_EXCALIBUR 2
#define Q_GRAIL 3
#define Q_FIERY_KING 4
#define Q_SPIKE 5
#define Q_FIND_PAINTING 6
#define Q_DRAKNOR 7
#define Q_UNUSED 8
#define Q_EVOLUTION 9
#define Q_ZODIAC 10
#define Q_SUNDISC 11
#define Q_VOLCANO 12
#define Q_SABRE 13
#define Q_MANA 14
#define Q_RAINFOREST 15
#define Q_NOXYPICKLE 16
#define Q_MIRAGE 17
#define Q_ALL ((1 << Q_EFOREST) |\
(1 << Q_TOWER) |\
(1 << Q_EXCALIBUR) |\
(1 << Q_GRAIL) |\
(1 << Q_FIERY_KING) |\
(1 << Q_SPIKE) |\
(1 << Q_FIND_PAINTING)|\
(1 << Q_DRAKNOR) |\
(1 << Q_EVOLUTION) |\
(1 << Q_ZODIAC) |\
(1 << Q_SUNDISC) |\
(1 << Q_VOLCANO) |\
(1 << Q_SABRE) |\
(1 << Q_MANA) |\
(1 << Q_RAINFOREST) |\
(1 << Q_NOXYPICKLE) |\
(1 << Q_MIRAGE))
/* ============================= Prototypes ================================ */
void qdonecom();
void qlistcom();
void QuestSet(int p, int v);
void questcom();
void show_quests(int *bits, int n);
int qlookup(char *name);
int qcheck(int pl);
int qpoints(int pl);
Boolean crit_qtest(int pl);