blob: ad61841bcd4960a2cfee50285440c471161566c9 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001// MorgenGrauen MUDlib
2//
3// clothing.h -- clothing header
4//
5// $Id: clothing.h 6065 2006-09-29 23:22:52Z Zesstra $
6
7#ifndef __CLOTHING_H__
8#define __CLOTHING_H__
9
10// properties
11#define P_WORN "worn" // Objekt mit dem Traeger der Ruestung
12
13#define P_WEAR_FUNC "wear_func" // Objekt das eine WearFunc definiert
14#define P_REMOVE_FUNC "remove_func" // Objekt das eine RemoveFunc definiert
15
16#define P_WEAR_MSG "wear_msg" // Meldungen beim Anziehen
17#define P_UNWEAR_MSG "unwear_msg" // Meldungen beim Ausziehen
18
19#define P_LAST_WEAR_ACTION "last_wear_action" // Letzte Aktion des Spielers
20 // An- und ausziehen betreff
21
22// Die Wear-Actions im einzelnen
23
24#define WA_WEAR 0
25#define WA_UNWEAR 1
26
27#endif // __CLOTHING_H__
28
29#ifdef NEED_PROTOTYPES
30
31#ifndef __CLOTHING_H_PROTO__
32#define __CLOTHING_H_PROTO__
33
34// prototypes
35// functions that will be called if one issues a wear command (or to manually
36// wear this armour
37varargs int do_wear(string str, int silent);
38
39// function that will be called if one issues an unwear command or to manually
40// unwear the armour
41varargs int do_unwear(string str, int silent);
42// function is the rest of do_unwear() -- msgs etc
43varargs int DoUnwear(int silent, int all);
44
45int ziehe(string str);
46
47#endif // __CLOTHING_H_PROTO__
48
49#endif // NEED_PROTOYPES