#include <thing/properties.h>#include <moving.h>#include <defines.h>#include <clothing.h>
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
| #define | NEED_PROTOTYPES 1 |
Funktionen | |
| varargs int | move (mixed dest, int method) |
| varargs int | remove (int silent) |
Variablen | |
| inherit std thing | moving |
| varargs int move | ( | mixed | dest, | |
| int | method | |||
| ) |
Definiert in Zeile 25 der Datei moving.c.
Benutzt DoUnwear(), M_NOCHECK, M_SILENT, move(), P_WORN und QueryProp().
00025 { 00026 // ggf. Ausziehen 00027 if (objectp(QueryProp(P_WORN))) 00028 DoUnwear(method & (M_SILENT|M_NOCHECK)); 00029 00030 if ((method&M_NOCHECK) || (!(object)QueryProp(P_WORN))) 00031 return ::move(dest, method); 00032 }

| varargs int remove | ( | int | silent | ) |
Definiert in Zeile 34 der Datei moving.c.
Benutzt DoUnwear(), M_NOCHECK, M_SILENT, P_WORN, QueryProp() und remove().
00034 { 00035 // ggf. Ausziehen 00036 if (objectp(QueryProp(P_WORN))) 00037 DoUnwear(M_SILENT|M_NOCHECK); 00038 00039 if (!(object)QueryProp(P_WORN)) 00040 return ::remove(); 00041 // Ausziehen hat irgendwie nicht geklappt. :-( 00042 return 0; 00043 }

1.6.3