MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | inherit "/std/thing"; |
| 2 | |
| 3 | #include <properties.h> |
| 4 | #include "../haus.h" |
| 5 | |
| 6 | create() |
| 7 | { |
| 8 | if (!clonep(this_object())) return; |
| 9 | ::create(); |
| 10 | |
| 11 | SetProp(P_SHORT,0); |
| 12 | SetProp(P_NOGET, 1); |
| 13 | AddId("r&j"); |
| 14 | AddCmd("lies", "lies"); |
| 15 | } |
| 16 | |
| 17 | static int lies(string str) |
| 18 | { |
| 19 | int nr; |
| 20 | |
| 21 | if (!str || sscanf(str, "seite %d", nr) != 1) |
| 22 | return notify_fail("Syntax: lies seite <nr>\n"), 0; |
| 23 | |
| 24 | this_player()->More(SPECIALPATH+"rom_jul/seite"+nr, 1); |
| 25 | return 1; |
| 26 | } |