#include <properties.h>
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
| #define | PLANTMASTER "/gilden/files.dunkelelfen/secure/plantmaster" |
Funktionen | |
| void | create () |
| static int | _plantmaster (string str) |
Variablen | |
| inherit std | secure_thing |
| #define PLANTMASTER "/gilden/files.dunkelelfen/secure/plantmaster" |
Definiert in Zeile 4 der Datei planttool.c.
| static int _plantmaster | ( | string | str | ) | [static] |
Definiert in Zeile 23 der Datei planttool.c.
Benutzt notify_fail() und PLANTMASTER.
00024 { 00025 notify_fail("Unknown Function in plantmaster: _"+query_verb()+"()\n"); 00026 return call_other(PLANTMASTER, "_"+query_verb(), str); 00027 }

| void create | ( | ) |
Definiert in Zeile 6 der Datei planttool.c.
Benutzt AddCmd(), AddId(), create(), NEUTER, P_AUTOLOADOBJ, P_GENDER, P_LONG, P_NAME, P_NEVERDROP, P_NODROP, P_SHORT und SetProp().
00007 { 00008 if (!clonep(this_object())) return; 00009 ::create(); 00010 SetProp(P_SHORT, "Das Kraeutertool"); 00011 SetProp(P_LONG, 00012 "Das Kraeutertool hat folgende Befehle:\n" 00013 +"- showplant <kategorie> (Listet alle Pflanzen einer Kategorie auf).\n"); 00014 SetProp(P_NAME, "Planttool"); 00015 SetProp(P_GENDER, NEUTER); 00016 SetProp(P_AUTOLOADOBJ, 1); 00017 SetProp(P_NODROP, 1); 00018 SetProp(P_NEVERDROP, 1); 00019 AddId(({"tool", "kraeutertool", "planttool"})); 00020 AddCmd(({"showplant"}), "_plantmaster"); 00021 }

| inherit std secure_thing |
Definiert in Zeile 1 der Datei planttool.c.
1.6.3