mud/lib/domains/town/room/riverbank.c
2020-09-06 05:43:07 -07:00

46 lines
1.4 KiB
C

#include <lib.h>
inherit LIB_FISHING;
static void create() {
::create();
SetTown("town");
SetClimate("temperate");
SetAmbientLight(30);
SetShort("riverbank");
SetLong("This is the bank of a narrow but swift-moving river. A steep path leads back up to the bridge. There is a cave in the steep east wall of the riverbank.");
SetProperties (([
"no attack":0,
"no bump":0,
"no steal":0,
"no magic":0,
"no paralyze":0,
"no teleport":0]));
SetListen(([
({ "river", "water" }) : "You hear it rushing by.",
"default" : "You can hear the roar of the river rushing by.",
]));
SetInventory(([
"/domains/town/npc/troll" : 1,
"/domains/town/obj/rocks" : 1,
"/domains/town/obj/riverwater" : 1,
]));
AddExit("up", "/domains/town/room/bridge");
if(unguarded( (: file_exists("/domains/cave/room/cave.c") :) ) ){
AddExit("east", "/domains/cave/room/cave");
}
SetChance(90);
SetFish( ([
"/domains/town/meals/shark" : 10,
"/domains/town/meals/herring" : 20,
]) );
}
void init() {
::init();
SetSmell(([]));
}
int CanReceive(object ob){
if(answers_to("provost",ob)) return 0;
return ::CanReceive();
}