justice.c

tmi2_fluffos_v2/lib/d/Fooland/justice.c · 750 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

// justice.c
// The justice of the peace of Footown. 
// Nominally performs marriages, although the marriage code is in the
// courthouse and not in the monster.

#include <mudlib.h>

inherit MONSTER ;

void create () {
	::create() ;
	set("short", "The Justice of the Peace of Footown") ;
	set("long", "The justice can perform marriages for you.\n") ;
	set ("id", ({ "justice", "judge" }) ) ;
	set ("name", "justice") ;
	set_living_name("justice") ;
	enable_commands() ;
	set ("no_attack", 1) ;
	set("gender", "female") ;
	set ("inquiry", ([
"marriage" : "If you type \"help marriage\", I'll tell you all about it.",
"marriages" : "Typing \"help marriage\" will give you all the details.",
"guard" : "He's a nice man, and very persistant."
	]) ) ;
}

Site Stats

Snippets: 1791
Codebases: 571