MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | #pragma strong_types,rtt_checks |
| 2 | |
| 3 | inherit "/std/thing"; |
| 4 | |
| 5 | #include <properties.h> |
| 6 | #include <language.h> |
| 7 | |
| 8 | void 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 | |
| 22 | int grab(string str) |
| 23 | { |
| 24 | _notify_fail("Du kannst hier nicht graben.\n"); |
| 25 | return 0; |
| 26 | } |