blob: d7afb40b3a3652181e88335c56d69a5ce131da1b [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001// MorgenGrauen MUDlib
2//
3// exploration.h -- Definitionen fuer den explorationmaster
4//
5// $Id: exploration.h 8835 2014-06-09 20:24:00Z Zesstra $
6
7#ifndef __EXPLORATION_H__
8#define __EXPLORATION_H__
9
10/* Dateinamen */
11#define EPMASTER "/secure/explorationmaster"
12#define EPSAVEFILE "/secure/ARCH/exploration"
13#define DUMPFILE "/secure/ARCH/EPROOMS.dump"
14#define MAKE_EPSTAT "/secure/ARCH/epstat"
15#define EPSTAT_INFO "/secure/ARCH/epstat.o"
16
17/* Ziele von ChangeEPObject() */
18#define CHANGE_OB 0 // das Objekt selbst
19#define CHANGE_KEY 1 // Schluessel
20#define CHANGE_TYPE 2 // der Typ
21#define CHANGE_BONUS 3 // ist es ein Bonus-EP?
22
23/* Positionen im Mapping */
24#define MPOS_KEY 0 // Die Schluessel
25#define MPOS_NUM 1 // Nummer des EP
26#define MPOS_TYPE 2 // Typ (s.u.)
27
28/* Typen von EP-Spendern */
29#define EP_DETAIL 0 // Details, SpecialDetails
30#define EP_EXIT 1 // Exits und SpecialExits
31#define EP_CMD 2 // AddCmd()-Kommandos
32#define EP_INFO 3 // Infos von NPCs
33#define EP_MISC 4 // eigene GiveExplorationPoint()-Aufrufe
34#define EP_RDET 5 // ReadDetails
35#define EP_PUB 6 // Speisen und Getraenke in Kneipen
36#define EP_SMELL 7 // Gerueche
37#define EP_SOUND 8 // Geraeusche
38#define EP_TOUCH 9 // ertastbare Details
39#define EP_MAX 9 // max. Anzahl von Typen
40
41#define EP_TYPES ({ "det ", "exit", "cmd ", "info", "misc",\
42 "rdet", "pub ", "sme ", "sond", "tastdet" })
43
44/* Fehler bei Funktionsaufrufen */
45#define EPERR_NOT_ARCH -1 // this_interactive() war kein Erzmagier
46#define EPERR_INVALID_OB -2 // ungueltiges Objekt (zB. VC-Raum)
47#define EPERR_NO_ENTRY -3 // Eintrag nicht gefunden
48#define EPERR_INVALID_ARG -4 // Ungueltiges Argument
49
50/* und hier was fuer die Statistik... */
51#define MIN_EP 10
52
53/* FP-Scripte... */
54#define LF_LOG "ARCH/FPS_TOO_FAST"
55#define LF_TIME 900
56#define LF_WARN 3
57
58/* FP-Logfile */
59#define FP_LOG "ARCH/FPS_FOUND"
60
61#endif
62
63
64#ifdef NEED_PROTOTYPES
65
66#ifndef __EXPLORATION_H_PROTO__
67#define __EXPLORATION_H_PROTO__
68
69/* prototypes */
70static void GiveEP(int type, string key); // in /std/thing/description.c
71
72#endif // __EXPLORATION_H_PROTO__
73
74#endif // NEED_PROTOYPES
75