blob: bd4940baa1750349cd8ef5336aa6f02ed153ab59 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001#pragma strong_types,rtt_checks
2
3inherit "/std/thing";
4
5#include <properties.h>
6#include <language.h>
7
8void create()
9{
10 ::create();
11 SetProp(P_SHORT,"Eine Schaufel");
12 SetProp(P_LONG,"Du kannst versuchen, mit dieser Schaufel zu graben.\n");
13 AddId("schaufel");
14 AddId("\nschaufel");
15 SetProp(P_NAME, "Schaufel");
16 SetProp(P_GENDER, FEMALE);
17 SetProp(P_VALUE, 50);
18 SetProp(P_WEIGHT, 1200);
19 AddCmd( ({"grab","grabe","buddel","buddele"}), "grab" );
20}
21
22int grab(string str)
23{
24 _notify_fail("Du kannst hier nicht graben.\n");
25 return 0;
26}