MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | inherit "/std/room"; |
| 2 | |
| 3 | #include <properties.h> |
| 4 | |
| 5 | create() |
| 6 | { |
| 7 | ::create(); |
| 8 | SetProp(P_LIGHT,1); |
| 9 | SetProp(P_INT_SHORT,"Village church"); |
| 10 | SetProp(P_INT_LONG, |
| 11 | "You are in the local village church.\nThere is a huge pit in the center,\n" + |
| 12 | "and a door in the west wall. There is a button beside the door.\n"+ |
| 13 | "This church has the service of reviving ghosts. Dead people come\n"+ |
| 14 | "to the church and pray.\n"+ |
| 15 | "There is a clock on the wall.\n"+ |
| 16 | "There is an exit to south.\n"); |
| 17 | AddDetail("pit","In the middle of the church is a deep pit.\n"+ |
| 18 | "It was used for sacrifice in the old times, but nowadays\n" + |
| 19 | "it is only left for tourists to look at.\n"); |
| 20 | AddDetail(({"elevator","door","button"}), |
| 21 | "The elevator doesn't work any more. It must be a relict from another time,\n"+ |
| 22 | "a long-gone time, as this whole building.\n"); |
| 23 | AddDetail("clock","The clock shows this game hasn't been rebooted for centuries. Time is\n"+ |
| 24 | "standing still in this strange room.\n"); |
| 25 | AddCmd("pray","pray"); |
| 26 | AddCmd("open","open"); |
| 27 | AddCmd("push","open"); |
| 28 | } |
| 29 | |
| 30 | open() |
| 31 | { |
| 32 | notify_fail("The elevator doesn't work anymore, sorry.\n"); |
| 33 | return 0; |
| 34 | } |
| 35 | |
| 36 | pray() |
| 37 | { |
| 38 | write("The gods this church was built for have died an extremly long time ago.\n"); |
| 39 | return 1; |
| 40 | } |
| 41 | |